x86-64: use smaller operand in fixed-alloc if possible
commitd476071594efe81233136ae7b756fb098ee46fe3
authorDouglas Katzman <dougk@google.com>
Tue, 1 Aug 2017 16:05:34 +0000 (1 12:05 -0400)
committerDouglas Katzman <dougk@google.com>
Tue, 1 Aug 2017 16:12:48 +0000 (1 12:12 -0400)
tree849fd15a61dbb921028d20d26f9faf54d553da1e
parent581f3f254ee9f695481f06a03518ee24e9fb41e3
x86-64: use smaller operand in fixed-alloc if possible

DX structure allocation with #!+compact-instance-header can write
exactly 4 bytes of the header for the size and widetag, not 8 bytes.
Heap-allocation already did the right thing, because STOREW* uses
the shortest possible operand when told that the memory is pre-zeroed.
src/compiler/x86-64/alloc.lisp