summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-07-16 11:28:08 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-07-16 11:28:08 +0000
commit35bb463fb18d725ffb7dd852532c1d910687ea8a (patch)
tree81db0be2ee16ea5287ac916923ca992faaa328b8 /llvm/lib/Target/SystemZ
parent1a0c76fa55e46c7caf0f9af53299524963e52382 (diff)
downloadbcm5719-llvm-35bb463fb18d725ffb7dd852532c1d910687ea8a.tar.gz
bcm5719-llvm-35bb463fb18d725ffb7dd852532c1d910687ea8a.zip
[SystemZ] Add MC support for R[NOX]SBG
CodeGen support will come later. llvm-svn: 186401
Diffstat (limited to 'llvm/lib/Target/SystemZ')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZInstrInfo.td8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZInstrInfo.td b/llvm/lib/Target/SystemZ/SystemZInstrInfo.td
index c47e04b3cfb..c6839e85818 100644
--- a/llvm/lib/Target/SystemZ/SystemZInstrInfo.td
+++ b/llvm/lib/Target/SystemZ/SystemZInstrInfo.td
@@ -827,6 +827,14 @@ let Defs = [CC] in {
def RISBG : RotateSelectRIEf<"risbg", 0xEC55, GR64, GR64>;
}
+// Rotate second operand left and perform a logical operation with selected
+// bits of the first operand.
+let Defs = [CC] in {
+ def RNSBG : RotateSelectRIEf<"rnsbg", 0xEC54, GR64, GR64>;
+ def ROSBG : RotateSelectRIEf<"rosbg", 0xEC56, GR64, GR64>;
+ def RXSBG : RotateSelectRIEf<"rxsbg", 0xEC57, GR64, GR64>;
+}
+
//===----------------------------------------------------------------------===//
// Comparison
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud