blob: 01d0f87c699da726e0ef53c1340e2b30c0c8b0c6 [file] [log] [blame]
Douglas Leung200f0402016-02-25 20:05:47 -08001 # const-wide vAA, /* +HHHHhhhhBBBBbbbb */
2 FETCH(a0, 1) # a0 <- bbbb (low)
3 FETCH(a1, 2) # a1 <- BBBB (low middle)
4 FETCH(a2, 3) # a2 <- hhhh (high middle)
5 sll a1, 16 #
6 or a0, a1 # a0 <- BBBBbbbb (low word)
7 FETCH(a3, 4) # a3 <- HHHH (high)
8 GET_OPA(t1) # t1 <- AA
9 sll a3, 16
10 or a1, a3, a2 # a1 <- HHHHhhhh (high word)
11 FETCH_ADVANCE_INST(5) # advance rPC, load rINST
12 GET_INST_OPCODE(t0) # extract opcode from rINST
13 SET_VREG64(a0, a1, t1) # vAA <- a0/a1
14 GOTO_OPCODE(t0) # jump to next instruction