blob: f1bece7be8448d720f34833bded0fb5590da46ea [file] [log] [blame]
Douglas Leung200f0402016-02-25 20:05:47 -08001 /* 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 Leung200f0402016-02-25 20:05:47 -08005 GET_INST_OPCODE(t0) # extract opcode from rINST
Alexey Frunze84603bf2016-10-21 19:54:43 -07006 GET_OPCODE_TARGET(t0)
7 SET_VREG_OBJECT(a3, a2) # fp[AA] <- exception obj
Douglas Leung200f0402016-02-25 20:05:47 -08008 sw zero, THREAD_EXCEPTION_OFFSET(rSELF) # clear exception
Alexey Frunze84603bf2016-10-21 19:54:43 -07009 JR(t0) # jump to next instruction