Changeset 10007


Ignore:
Timestamp:
Jul 11, 2008, 8:09:21 AM (11 years ago)
Author:
gb
Message:

In %IASR-C (arithmetic right shift by constant), don't shift by

word size bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/compiler/X86/X8664/x8664-vinsns.lisp

    r9934 r10007  
    26972697                             ((temp :s64)))
    26982698  (movq (:%q src) (:%q temp))
    2699   (sarq (:$ub (:apply + count x8664::fixnumshift)) (:%q temp))
     2699  (sarq (:$ub (:apply min (1- x8664::nbits-in-word) (:apply + count x8664::fixnumshift))) (:%q temp))
    27002700  (imulq (:$b x8664::fixnumone) (:%q temp) (:%q dest)))
    27012701
Note: See TracChangeset for help on using the changeset viewer.