Lines Matching refs:instr
126 %def binop(result="%eax", instr=""):
140 $instr VREG_ADDRESS(%rcx),%eax
144 %def binop1(wide="0", instr=""):
155 $instr # ex: addl %ecx,%eax
159 $instr # ex: addl %ecx,%eax
164 %def binop2addr(result="%eax", instr=""):
180 $instr %eax, VREG_ADDRESS(%rcx)
184 %def binopLit16(result="%eax", instr=""):
200 $instr # for example: addl %ecx, %eax
204 %def binopLit8(result="%eax", instr=""):
219 $instr # ex: addl %ecx,%eax
223 %def binopWide(instr=""):
231 $instr VREG_ADDRESS(%rcx),%rax
235 %def binopWide2addr(instr=""):
244 $instr %rax,VREG_ADDRESS(%rcx)
276 %def shop2addr(wide="0", instr=""):
287 $instr # ex: sarl %cl, %eax
291 $instr # ex: sarl %cl, %eax
296 %def unop(preinstr="", instr="", wide="0"):
311 $instr
320 % binop(instr="addl")
323 % binop2addr(instr="addl")
326 % binopLit16(instr="addl %ecx, %eax")
329 % binopLit8(instr="addl %ecx, %eax")
332 % binopWide(instr="addq")
335 % binopWide2addr(instr="addq")
338 % binop(instr="andl")
341 % binop2addr(instr="andl")
344 % binopLit16(instr="andl %ecx, %eax")
347 % binopLit8(instr="andl %ecx, %eax")
350 % binopWide(instr="andq")
353 % binopWide2addr(instr="andq")
393 % unop(instr="movsbl %al, %eax")
396 % unop(instr="movzwl %ax,%eax")
409 % unop(instr="movswl %ax, %eax")
416 % binop(instr="imull")
429 % binopLit16(instr="imull %ecx, %eax")
432 % binopLit8(instr="imull %ecx, %eax")
435 % binopWide(instr="imulq")
448 % unop(instr=" negl %eax")
451 % unop(instr=" negq %rax", wide="1")
454 % unop(instr=" notl %eax")
457 % unop(instr=" notq %rax", wide="1")
460 % binop(instr="orl")
463 % binop2addr(instr="orl")
466 % binopLit16(instr="orl %ecx, %eax")
469 % binopLit8(instr="orl %ecx, %eax")
472 % binopWide(instr="orq")
475 % binopWide2addr(instr="orq")
497 % binopLit16(instr="subl %eax, %ecx", result="%ecx")
500 % binopLit8(instr="subl %eax, %ecx", result="%ecx")
503 % binop1(instr="sall %cl, %eax")
506 % shop2addr(instr="sall %cl, %eax")
509 % binopLit8(instr="sall %cl, %eax")
512 % binop1(instr="salq %cl, %rax", wide="1")
515 % shop2addr(instr="salq %cl, %rax", wide="1")
518 % binop1(instr="sarl %cl, %eax")
521 % shop2addr(instr="sarl %cl, %eax")
524 % binopLit8(instr="sarl %cl, %eax")
527 % binop1(instr="sarq %cl, %rax", wide="1")
530 % shop2addr(instr="sarq %cl, %rax", wide="1")
533 % binop(instr="subl")
536 % binop2addr(instr="subl")
539 % binopWide(instr="subq")
542 % binopWide2addr(instr="subq")
545 % binop1(instr="shrl %cl, %eax")
548 % shop2addr(instr="shrl %cl, %eax")
551 % binopLit8(instr="shrl %cl, %eax")
554 % binop1(instr="shrq %cl, %rax", wide="1")
557 % shop2addr(instr="shrq %cl, %rax", wide="1")
560 % binop(instr="xorl")
563 % binop2addr(instr="xorl")
566 % binopLit16(instr="xorl %ecx, %eax")
569 % binopLit8(instr="xorl %ecx, %eax")
572 % binopWide(instr="xorq")
575 % binopWide2addr(instr="xorq")