diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2011-02-01 20:22:53 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2011-02-01 20:22:53 +0000 |
commit | cf2cdc9cae27a25deb50013b1337abb0c522c354 (patch) | |
tree | af40e7ccbaacdf7b69ae11606c4e4c20c55ef13f /lib/Target/SystemZ/SystemZOperands.td | |
parent | 46a98cf1f13280344db00fd8d6addccbfce95f59 (diff) | |
download | external_llvm-cf2cdc9cae27a25deb50013b1337abb0c522c354.zip external_llvm-cf2cdc9cae27a25deb50013b1337abb0c522c354.tar.gz external_llvm-cf2cdc9cae27a25deb50013b1337abb0c522c354.tar.bz2 |
Fix imm printing for logical instructions.
Patch by Brian G. Lucas!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZOperands.td')
-rw-r--r-- | lib/Target/SystemZ/SystemZOperands.td | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZOperands.td b/lib/Target/SystemZ/SystemZOperands.td index 0de50fd..8b835cc 100644 --- a/lib/Target/SystemZ/SystemZOperands.td +++ b/lib/Target/SystemZ/SystemZOperands.td @@ -246,6 +246,14 @@ def s16imm : Operand<i32> { def s16imm64 : Operand<i64> { let PrintMethod = "printS16ImmOperand"; } +// Unsigned i16 +def u16imm : Operand<i32> { + let PrintMethod = "printU16ImmOperand"; +} +def u16imm64 : Operand<i64> { + let PrintMethod = "printU16ImmOperand"; +} + // Signed i20 def s20imm : Operand<i32> { let PrintMethod = "printS20ImmOperand"; @@ -260,6 +268,13 @@ def s32imm : Operand<i32> { def s32imm64 : Operand<i64> { let PrintMethod = "printS32ImmOperand"; } +// Unsigned i32 +def u32imm : Operand<i32> { + let PrintMethod = "printU32ImmOperand"; +} +def u32imm64 : Operand<i64> { + let PrintMethod = "printU32ImmOperand"; +} def imm_pcrel : Operand<i64> { let PrintMethod = "printPCRelImmOperand"; |