Home | History | Annotate | Download | only in x86_64
      1     /* rem_float/2addr vA, vB */
      2     movzbq  rINSTbl, %rcx                   # ecx <- A+
      3     sarl    $$4, rINST                      # rINST <- B
      4     flds    VREG_ADDRESS(rINSTq)            # vB to fp stack
      5     andb    $$0xf, %cl                      # ecx <- A
      6     flds    VREG_ADDRESS(%rcx)              # vA to fp stack
      7 1:
      8     fprem
      9     fstsw   %ax
     10     sahf
     11     jp      1b
     12     fstp    %st(1)
     13     fstps   VREG_ADDRESS(%rcx)              # %st to vA
     14     CLEAR_REF %rcx
     15     ADVANCE_PC_FETCH_AND_GOTO_NEXT 1
     16