blob: 6866c784170177ec45b95739a580f01a3653fc89 [file] [log] [blame]
Alexey Frunze84603bf2016-10-21 19:54:43 -07001 /* const/4 vA, +B */
Douglas Leung200f0402016-02-25 20:05:47 -08002 sll a1, rINST, 16 # a1 <- Bxxx0000
3 GET_OPA(a0) # a0 <- A+
4 FETCH_ADVANCE_INST(1) # advance rPC, load rINST
5 sra a1, a1, 28 # a1 <- sssssssB (sign-extended)
6 and a0, a0, 15
7 GET_INST_OPCODE(t0) # extract opcode from rINST
8 SET_VREG_GOTO(a1, a0, t0) # fp[A] <- a1