blob: 800ef9a0aafc11dbd9187be29e04f2cf019c356b [file] [log] [blame]
HANDLE_OPCODE(OP_CONST_4 /*vA, #+B*/)
{
s4 tmp;
vdst = INST_A(inst);
tmp = (s4) (INST_B(inst) << 28) >> 28; // sign extend 4-bit value
ILOGV("|const/4 v%d,#0x%02x", vdst, (s4)tmp);
SET_REGISTER(vdst, tmp);
}
FINISH(1);
OP_END