blob: a432956bcd51a9787374d3ea9463de968a30b1b2 [file] [log] [blame]
/*
* Generic 32-bit binary float operation.
*
* For: add-fp, sub-fp, mul-fp, div-fp
*/
/* binop vAA, vBB, vCC */
movzbl 2(rPC),%eax # eax<- CC
movzbl 3(rPC),%ecx # ecx<- BB
$load (rFP,%eax,4) # vCC to fp stack
$instr (rFP,%ecx,4) # ex: faddp
FETCH_INST_OPCODE 2 %ecx
ADVANCE_PC 2
$store (rFP,rINST,4) # %st to vAA
GOTO_NEXT_R %ecx