]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix typos in x86 bignum>fixnum intrinsic
authorslava <slava@factorcode.org>
Fri, 10 Nov 2006 09:07:40 +0000 (09:07 +0000)
committerslava <slava@factorcode.org>
Fri, 10 Nov 2006 09:07:40 +0000 (09:07 +0000)
library/compiler/x86/intrinsics.factor

index 780f2f0858167cd028c851d9b78bf0581bea3500..c6735c95c02cce460bf4b000b87ef7f1fe2dd093 100644 (file)
@@ -271,7 +271,7 @@ IN: compiler
      ! if the length is 1, its just the sign and nothing else,
      ! so output 0
     "y" operand 1 tag-bits shift CMP
-    "nonzero" get JMP
+    "nonzero" get JNE
     "y" operand 0 MOV
     "end" get JMP
     "nonzero" resolve-label
@@ -281,7 +281,7 @@ IN: compiler
     "x" operand "x" operand 2 cells [+] MOV
     ! is the sign negative?
     "x" operand 0 CMP
-    "positive" get JMP
+    "positive" get JE
     "y" operand -1 IMUL2
     "positive" resolve-label
     "y" operand 3 SHL