Reapply r54147 with a constraint to only use the 8-bit
authorDan Gohman <gohman@apple.com>
Wed, 30 Jul 2008 18:09:17 +0000 (18:09 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 30 Jul 2008 18:09:17 +0000 (18:09 +0000)
commit11ba3b1af67796dabec10c70e16a93685e130719
tree8db7f1a3afe872f89bd2dcc733b8aed00b4df128
parent912923925f790427a77781b8a0469fa832c7740d
Reapply r54147 with a constraint to only use the 8-bit
subreg form on x86-64, to avoid the problem with x86-32
having GPRs that don't have 8-bit subregs.

Also, change several 16-bit instructions to use
equivalent 32-bit instructions. These have a smaller
encoding and avoid partial-register updates.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54223 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td
test/CodeGen/X86/zext-inreg-0.ll [new file with mode: 0644]
test/CodeGen/X86/zext-inreg-1.ll [new file with mode: 0644]
test/CodeGen/X86/zext-inreg-2.ll [new file with mode: 0644]