Changeset 10446


Ignore:
Timestamp:
Aug 12, 2008, 5:29:33 AM (11 years ago)
Author:
rme
Message:

In %SYMBOL->SYMPTR, correct order of operands in conditional
move instruction.

Location:
trunk/source/level-0/X86
Files:
2 edited

Legend:

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

    r10330 r10446  
    3131    (movl ($ (+ x8632::nil-value x8632::nilsym-offset)) (% tag))
    3232    (cmp-reg-to-nil sym)
    33     (cmove (% sym) (% tag))
     33    (cmove (% tag) (% sym))
    3434    (je :done)
    3535    (trap-unless-typecode= sym x8632::subtag-symbol)
  • trunk/source/level-0/X86/x86-symbol.lisp

    r10331 r10446  
    4646;;; nilsym
    4747(defx86lapfunction %symbol->symptr ((sym arg_z))
    48   (let ((tag imm0 ))
     48  (let ((tag imm0))
    4949    (movq ($ (+ x8664::nil-value x8664::nilsym-offset)) (% tag))
    5050    (cmp-reg-to-nil sym)
    51     (cmoveq (% sym) (% tag))
     51    (cmoveq (% tag) (% sym))
    5252    (je :done)
    5353    (trap-unless-fulltag= sym x8664::fulltag-symbol)
Note: See TracChangeset for help on using the changeset viewer.