Changeset 9572


Ignore:
Timestamp:
May 22, 2008, 3:04:44 AM (11 years ago)
Author:
rme
Message:

misc-set-c-u32, misc-set-c-s32: scale the index appropriately.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ia32/compiler/X86/X8632/x8632-vinsns.lisp

    r9561 r9572  
    20002000                                      (idx :u32const)) ; sic
    20012001                                     ())
    2002   (movl (:%l val) (:@ (:apply + x8632::misc-data-offset idx) (:%l v))))
     2002  (movl (:%l val) (:@ (:apply + x8632::misc-data-offset (:apply ash idx 2)) (:%l v))))
    20032003
    20042004(define-x8632-vinsn misc-set-u32  (()
     
    20142014                                      (idx :u32const)) ; sic
    20152015                                     ())
    2016   (movl (:%l val) (:@ (:apply + x8632::misc-data-offset idx) (:%l v))))
     2016  (movl (:%l val) (:@ (:apply + x8632::misc-data-offset (:apply ash idx 2)) (:%l v))))
    20172017
    20182018(define-x8632-vinsn misc-set-s32  (()
Note: See TracChangeset for help on using the changeset viewer.