rework the rotate-by-1 instructions to be defined like the
authorChris Lattner <sabre@nondot.org>
Sat, 6 Nov 2010 21:23:40 +0000 (21:23 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 6 Nov 2010 21:23:40 +0000 (21:23 +0000)
commit8c24b0c6996a8f03ff32766f0695dcf19577af59
treed41544121b341d8b97a966ad106303ad36562558
parent235705b9ca08b66532528930adf9d9c23fd7b42b
rework the rotate-by-1 instructions to be defined like the
shift-by-1 instructions, where the asmstring doesn't contain
the implicit 1.  It turns out that a bunch of these rotate
instructions were completely broken because they used 1
instead of $1.

This fixes assembly mismatches on "rclb $1, %bl" and friends,
where we used to generate the 3 byte form, we now generate the
proper 2-byte form.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118355 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrShiftRotate.td
test/MC/X86/x86-64.s