2 %default {"result":"","special":""}
4 * 32-bit binary div/rem operation. Handles special case of op0=minint and
7 /* binop vAA, vBB, vCC */
8 movzbl 2(rPC),%eax # eax<- BB
9 movzbl 3(rPC),%ecx # ecx<- CC
10 GET_VREG_R %eax %eax # eax<- vBB
11 GET_VREG_R %ecx %ecx # eax<- vBB
13 je common_errDivideByZero
15 jne .L${opcode}_continue_div
16 cmpl $$0x80000000,%eax
17 jne .L${opcode}_continue_div
19 jmp .L${opcode}_finish_div
22 .L${opcode}_continue_div:
25 .L${opcode}_finish_div:
26 SET_VREG $result rINST
27 FETCH_INST_OPCODE 2 %edx