• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1    /*
2     * 64-bit SPUT handler.
3     */
4    /* sput-wide vAA, field@BBBB */
5    .extern MterpSet64Static
6    EXPORT_PC()
7    FETCH(a0, 1)                           # a0 <- field ref CCCC
8    GET_OPA(a1)                            # a1 <- AA
9    EAS2(a1, rFP, a1)                      # a1 <- &fp[AA]
10    lw    a2, OFF_FP_METHOD(rFP)           # a2 <- method
11    move  a3, rSELF                        # a3 <- self
12    PREFETCH_INST(2)                       # load rINST
13    JAL(MterpSet64Static)
14    bnez  v0, MterpException               # bail out
15    ADVANCE(2)                             # advance rPC
16    GET_INST_OPCODE(t0)                    # extract opcode from rINST
17    GOTO_OPCODE(t0)                        # jump to next instruction
18