X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Farith.lisp;h=ab11950f81bf3665fd623a2679e9cb146c32e44b;hb=43c6634142a96e1d1bab2efe1a39cd8234903c41;hp=b451680681875a178aba64406025771983b0cad7;hpb=e9984509712529c60d1158d44207d6abf11dccce;p=sbcl.git diff --git a/src/compiler/x86/arith.lisp b/src/compiler/x86/arith.lisp index b451680..ab11950 100644 --- a/src/compiler/x86/arith.lisp +++ b/src/compiler/x86/arith.lisp @@ -764,7 +764,7 @@ constant shift greater than word length"))) (:generator 5 (move result number) (move ecx amount) - (inst or ecx ecx) + (inst test ecx ecx) (inst jmp :ns positive) (inst neg ecx) (inst cmp ecx 31) @@ -793,7 +793,7 @@ constant shift greater than word length"))) (:generator 5 (move result number) (move ecx amount) - (inst or ecx ecx) + (inst test ecx ecx) (inst jmp :ns positive) (inst neg ecx) (inst cmp ecx 31) @@ -905,7 +905,7 @@ constant shift greater than word length"))) (:generator 4 (move result number) (move ecx amount) - (inst or ecx ecx) + (inst test ecx ecx) (inst jmp :ns positive) (inst neg ecx) (inst xor zero zero) @@ -1464,7 +1464,7 @@ constant shift greater than word length"))) (:arg-types unsigned-num) (:conditional :ns) (:generator 3 - (inst or digit digit))) + (inst test digit digit))) ;;; For add and sub with carry the sc of carry argument is any-reg so