Micro-optimize some type tests on x86-64 for code size.
authorLutz Euler <lutz.euler@freenet.de>
Tue, 17 Apr 2012 16:26:48 +0000 (18:26 +0200)
committerLutz Euler <lutz.euler@freenet.de>
Tue, 17 Apr 2012 16:26:48 +0000 (18:26 +0200)
commit8105eb908700dfc868cfc00d106981845d954594
treee3fb892ae08b5766afc49c7b81dd3ce2afb533d0
parent4d132b6acf722b3cd1672477d6371224f22c9b27
Micro-optimize some type tests on x86-64 for code size.

In SIGNED-BYTE-64-P and CHECK-SIGNED-BYTE-64, if possible, spare a REX
prefix by using a 32-bit instead of a 64-bit register move instruction.

In UNSIGNED-BYTE-64-P and CHECK-UNSIGNED-BYTE-64 use AL instead of RAX
to test the lowtag.
src/compiler/x86-64/type-vops.lisp