Douglas Leung | 200f040 | 2016-02-25 20:05:47 -0800 | [diff] [blame] | 1 | /* move-exception vAA */ |
| 2 | GET_OPA(a2) # a2 <- AA |
| 3 | lw a3, THREAD_EXCEPTION_OFFSET(rSELF) # get exception obj |
| 4 | FETCH_ADVANCE_INST(1) # advance rPC, load rINST |
Douglas Leung | 200f040 | 2016-02-25 20:05:47 -0800 | [diff] [blame] | 5 | GET_INST_OPCODE(t0) # extract opcode from rINST |
Alexey Frunze | 84603bf | 2016-10-21 19:54:43 -0700 | [diff] [blame^] | 6 | GET_OPCODE_TARGET(t0) |
| 7 | SET_VREG_OBJECT(a3, a2) # fp[AA] <- exception obj |
Douglas Leung | 200f040 | 2016-02-25 20:05:47 -0800 | [diff] [blame] | 8 | sw zero, THREAD_EXCEPTION_OFFSET(rSELF) # clear exception |
Alexey Frunze | 84603bf | 2016-10-21 19:54:43 -0700 | [diff] [blame^] | 9 | JR(t0) # jump to next instruction |