use LEA Y, [X+X] instead of LEA Y, [X*2] where appropriate on x86-64
authorNathan Froyd <froydnj@gmail.com>
Fri, 13 Apr 2012 15:05:18 +0000 (11:05 -0400)
committerNathan Froyd <froydnj@gmail.com>
Fri, 13 Apr 2012 17:26:34 +0000 (13:26 -0400)
commit18775b5e3c9a75f5301e09ddef649f2f35ab9752
treec9ea506a38659f4dc3d961329d11c190eebe7fed
parentb894cb41d869bda6ba0c54a491becc7bb58375c1
use LEA Y, [X+X] instead of LEA Y, [X*2] where appropriate on x86-64

The former instruction is slightly smaller.  Keep the old form around
for people who want to compile x86-64 with smaller fixnums.
src/compiler/x86-64/arith.lisp
src/compiler/x86-64/move.lisp