Changeset 14337


Ignore:
Timestamp:
Oct 7, 2010, 5:50:55 PM (9 years ago)
Author:
gb
Message:

Implement %ILOGNOT, ASH in the x86 backend. (The macroexpansion of
%ILOGNOT generates a few more x86 instructions than it needs to.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/compiler/X86/x862.lisp

    r14303 r14337  
    1035410354                             (list nil (list arg))))))))
    1035510355
     10356(defx862 x862-%ilognot %ilognot (seg vreg xfer form)
     10357  (ensuring-node-target (target vreg)
     10358    (! %ilognot target (x862-one-targeted-reg-form seg form target)))
     10359  (^))
     10360
     10361(defx862 x862-ash ash (seg vreg xfer num amt)
     10362  (or (acode-optimize-ash seg vreg xfer num amt *x862-trust-declarations*)
     10363      (progn
     10364        (x862-two-targeted-reg-forms seg num ($ *x862-arg-y*) amt ($ *x862-arg-z*))
     10365        (x862-fixed-call-builtin seg vreg xfer nil (subprim-name->offset '.SPbuiltin-ash)))))
     10366     
     10367   
     10368
    1035610369
    1035710370(defx862 x862-%new-ptr %new-ptr (seg vreg xfer size clear-p )
     
    1036410377                nil))
    1036510378
    10366 ;------
    10367 
    10368 #+not-yet
    10369 (progn
    10370 
    10371 
    10372 ;;;Make a gcable macptr.
    10373 
    10374 
    10375 
    10376 
    10377 )
     10379
     10380
     10381
    1037810382
    1037910383#-x86-target
Note: See TracChangeset for help on using the changeset viewer.