1 HANDLE_OPCODE(OP_REM_FLOAT /*vAA, vBB, vCC*/) 2 { 3 u2 srcRegs; 4 vdst = INST_AA(inst); 5 srcRegs = FETCH(1); 6 vsrc1 = srcRegs & 0xff; 7 vsrc2 = srcRegs >> 8; 8 ILOGV("|%s-float v%d,v%d,v%d", "mod", vdst, vsrc1, vsrc2); 9 SET_REGISTER_FLOAT(vdst, 10 fmodf(GET_REGISTER_FLOAT(vsrc1), GET_REGISTER_FLOAT(vsrc2))); 11 } 12 FINISH(2); 13 OP_END 14