Changeset 11238


Ignore:
Timestamp:
Oct 27, 2008, 6:49:31 PM (11 years ago)
Author:
rme
Message:

%AREF3: Don't use imm0 to pass one of the array indicies:
put it on the stack instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-0/X86/X8632/x8632-array.lisp

    r11222 r11238  
    218218  (jmp-subprim .SPaset2))
    219219
     220;;; We're out of registers.  Put i on the stack.
    220221(defx8632lapfunction %aset3 ((array 12) (i 8) (j 4) #|(ra 0)|# (k arg_y) (newval arg_z))
    221222  (check-nargs 5)
    222223  (popl (@ 16 (% esp)))
    223224  (pop (% temp0))
    224   (pop (% imm0))
     225  (popl (@ 4 (% esp)))
    225226  (pop (% temp1))
    226   (addl ($ '1) (% esp))
    227227  (jmp-subprim .SPaset3))
    228228
Note: See TracChangeset for help on using the changeset viewer.