]> gitweb.factorcode.org Git - factor.git/commit
cpu.x86: xor rax, rax -> xor eax, eax
authorBjörn Lindqvist <bjourne@gmail.com>
Fri, 20 May 2016 11:38:42 +0000 (13:38 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Fri, 20 May 2016 11:38:42 +0000 (13:38 +0200)
commit5b3933e2e404a538dcff7450196d5cbcccb7572d
tree3ae74b4b1288bd820f21857376fe3a226cc01bcf
parente60d45a1691f2e3a62e91f1069b9432753f5093e
cpu.x86: xor rax, rax -> xor eax, eax

The latter should be equivalent in all ways, but its encoding is one
byte shorter.
basis/cpu/x86/x86-tests.factor
basis/cpu/x86/x86.factor