Douglas Leung | 200f040 | 2016-02-25 20:05:47 -0800 | [diff] [blame] | 1 | # 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 |