Fixed code for fixnum operations involving constants.
authorMark Friedman <edu/mit/csail/zurich/markf>
Thu, 19 May 1988 15:29:00 +0000 (15:29 +0000)
committerMark Friedman <edu/mit/csail/zurich/markf>
Thu, 19 May 1988 15:29:00 +0000 (15:29 +0000)
commitce8559813eb956fa90cae0feb0321598a7eca6ec
tree9f330b89c5446d4d7c52a388f87bc8abb4f8403c
parent047c27f61fbd7fe6d76e2c9cd97f5e54b627a2e6
Fixed code for fixnum operations involving constants.
Multiplication by a power of 2 becomes a shift.
If the fixnum operation is commutative and involves a
constant, better code may be generated by swaping the
order of the operands. This is now done.
v7/src/compiler/machines/bobcat/lapgen.scm