Ignore:
Timestamp:
Aug 2, 2010, 5:41:14 PM (10 years ago)
Author:
gb
Message:

arm-lapmacros: define LRI, which loads a 32-bit constant into a GPR via

movw/movt.

arm-numbers.lisp: use LRI in %MRG31K3P.
l1-init.lisp: *SAVE-SOURCE-LOCATIONS* T, for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/arm/level-0/ARM/arm-numbers.lisp

    r14104 r14108  
    247247    (add imm0 imm2 (:lsr imm0 (:$ 1)))
    248248
    249     (ldr imm2 (:= @m2))
     249    (lri imm2 2147462579)
    250250    (cmp imm0 imm2)
    251251    (subhi imm0 imm0 imm2)
     
    260260    (add imm1 imm2 (:lsr imm1 (:$ 1)))
    261261
    262     (ldr imm2 (:= @m2))
     262    (lri imm2 2147462579)
    263263    (cmp imm1 imm2)
    264264    (subhi imm1 imm1 imm2)
     
    286286    (bic imm2 imm2 (:$ #xe0000000))     ;avoid negative fixnums
    287287    (box-fixnum arg_z imm2)
    288     (bx lr))
    289  
    290   (:data)
    291   @m2
    292   (:word 2147462579))
     288    (bx lr)))
    293289
    294290; End of arm-numbers.lisp
Note: See TracChangeset for help on using the changeset viewer.