Home | History | Annotate | Download | only in x86
      1 /*
      2  * Array put, 64 bits.  vBB[vCC] <- vAA.
      3  *
      4  */
      5     /* aput-wide vAA, vBB, vCC */
      6     movzbl  2(rPC), %eax                    # eax <- BB
      7     movzbl  3(rPC), %ecx                    # ecx <- CC
      8     GET_VREG %eax, %eax                     # eax <- vBB (array object)
      9     GET_VREG %ecx, %ecx                     # ecx <- vCC (requested index)
     10     testl   %eax, %eax                      # null array object?
     11     je      common_errNullObject            # bail if so
     12     cmpl    MIRROR_ARRAY_LENGTH_OFFSET(%eax), %ecx
     13     jae     common_errArrayIndex            # index >= length, bail.
     14     leal    MIRROR_WIDE_ARRAY_DATA_OFFSET(%eax,%ecx,8), %eax
     15     GET_WIDE_FP_VREG %xmm0, rINST           # xmm0 <- vAA
     16     movq    %xmm0, (%eax)                   # vBB[vCC] <- xmm0
     17     ADVANCE_PC_FETCH_AND_GOTO_NEXT 2
     18