projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b9e0c3
)
Use CAREFUL-OBJECT-DATUM in i386 MULTIPLY-OBJECT-BY-2.
author
Taylor R Campbell
<campbell@mumble.net>
Sun, 6 Oct 2013 18:14:28 +0000
(18:14 +0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Sun, 6 Oct 2013 18:14:28 +0000
(18:14 +0000)
src/compiler/machines/i386/rulfix.scm
patch
|
blob
|
history
diff --git
a/src/compiler/machines/i386/rulfix.scm
b/src/compiler/machines/i386/rulfix.scm
index c7372144414e8a9190a85a8d51fa0ce9a2425cfe..d4ec622f4ff37c3c2f0d9f75572ed13d372b4d80 100644
(file)
--- a/
src/compiler/machines/i386/rulfix.scm
+++ b/
src/compiler/machines/i386/rulfix.scm
@@
-643,7
+643,8
@@
USA.
(let ((subtract-one-typecode
(- #x100000000 (make-non-pointer-literal (ucode-type fixnum) 0)))
(mask-out-carry-into-typecode-lsb
- (make-non-pointer-literal (ucode-type fixnum) (object-datum -1))))
+ (make-non-pointer-literal (ucode-type fixnum)
+ (careful-object-datum -1))))
(LAP (LEA ,tgt (@ROI UW ,src ,subtract-one-typecode ,src 1))
(AND W ,tgt (&U ,mask-out-carry-into-typecode-lsb)))))))