1 HANDLE_OPCODE(OP_CONST_4 /*vA, #+B*/) 2 { 3 s4 tmp; 4 5 vdst = INST_A(inst); 6 tmp = (s4) (INST_B(inst) << 28) >> 28; // sign extend 4-bit value 7 ILOGV("|const/4 v%d,#0x%02x", vdst, (s4)tmp); 8 SET_REGISTER(vdst, tmp); 9 } 10 FINISH(1); 11 OP_END 12