1 /* 2 * Generic 64-bit binary operation. 3 */ 4 /* binop/2addr vA, vB */ 5 movzbl rINSTbl,%ecx # ecx<- BA 6 sarl $$4,%ecx # ecx<- B 7 GET_VREG_WORD %eax %ecx 0 # eax<- v[B+0] 8 GET_VREG_WORD %ecx %ecx 1 # eax<- v[B+1] 9 andb $$0xF,rINSTbl # rINST<- A 10 $instr1 # example: addl %eax,(rFP,rINST,4) 11 $instr2 # example: adcl %ecx,4(rFP,rINST,4) 12 FETCH_INST_OPCODE 1 %ecx 13 ADVANCE_PC 1 14 GOTO_NEXT_R %ecx 15