mirror of
git://c9x.me/qbe.git
synced 2026-04-06 18:39:48 +00:00
emit some x86-sepcific instructions
This commit is contained in:
parent
5fe13b14e2
commit
d8e40a56ec
@ -58,6 +58,12 @@ eins(Ins i, Fn *fn, FILE *f)
|
|||||||
case OSwap:
|
case OSwap:
|
||||||
eop("xchg", i.arg[0], i.arg[1], fn, f);
|
eop("xchg", i.arg[0], i.arg[1], fn, f);
|
||||||
break;
|
break;
|
||||||
|
case OIACltd:
|
||||||
|
fprintf(f, "\tcltd\n");
|
||||||
|
break;
|
||||||
|
case OIADiv:
|
||||||
|
eop("idiv", i.arg[0], R, fn, f);
|
||||||
|
break;
|
||||||
case ONop:
|
case ONop:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user