aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-16 06:02:58 +0000
committerChris Lattner <sabre@nondot.org>2005-12-16 06:02:58 +0000
commit3ff57516839433131dd537ed2708a3e23f88ae77 (patch)
tree87a36f297f42c3e8ae39462f442905f2d66a2c00
parentbe193839fa8650bc4f2974a82327543054202190 (diff)
add some simple operand info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24735 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td15
-rw-r--r--lib/Target/SparcV8/SparcV8InstrInfo.td15
2 files changed, 16 insertions, 14 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index 2bb5a5e3f0..ff50294e4d 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -35,15 +35,16 @@ include "SparcV8InstrFormats.td"
//===----------------------------------------------------------------------===//
// Pseudo instructions.
-class PseudoInstV8<string nm> : InstV8 {
+class PseudoInstV8<string nm, dag ops> : InstV8 {
let Name = nm;
+ dag OperandList = ops;
}
-def PHI : PseudoInstV8<"PHI">;
-def ADJCALLSTACKDOWN : PseudoInstV8<"ADJCALLSTACKDOWN">;
-def ADJCALLSTACKUP : PseudoInstV8<"ADJCALLSTACKUP">;
-def IMPLICIT_USE : PseudoInstV8<"IMPLICIT_USE">;
-def IMPLICIT_DEF : PseudoInstV8<"IMPLICIT_DEF">;
-def FpMOVD : PseudoInstV8<"FpMOVD">; // pseudo 64-bit double move
+def PHI : PseudoInstV8<"PHI", (ops variable_ops)>;
+def ADJCALLSTACKDOWN : PseudoInstV8<"ADJCALLSTACKDOWN", (ops variable_ops)>;
+def ADJCALLSTACKUP : PseudoInstV8<"ADJCALLSTACKUP", (ops variable_ops)>;
+def IMPLICIT_USE : PseudoInstV8<"IMPLICIT_USE", (ops variable_ops)>;
+def IMPLICIT_DEF : PseudoInstV8<"IMPLICIT_DEF", (ops variable_ops)>;
+def FpMOVD : PseudoInstV8<"FpMOVD", (ops)>; // pseudo 64-bit double move
// Section A.3 - Synthetic Instructions, p. 85
// special cases of JMPL:
diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td
index 2bb5a5e3f0..ff50294e4d 100644
--- a/lib/Target/SparcV8/SparcV8InstrInfo.td
+++ b/lib/Target/SparcV8/SparcV8InstrInfo.td
@@ -35,15 +35,16 @@ include "SparcV8InstrFormats.td"
//===----------------------------------------------------------------------===//
// Pseudo instructions.
-class PseudoInstV8<string nm> : InstV8 {
+class PseudoInstV8<string nm, dag ops> : InstV8 {
let Name = nm;
+ dag OperandList = ops;
}
-def PHI : PseudoInstV8<"PHI">;
-def ADJCALLSTACKDOWN : PseudoInstV8<"ADJCALLSTACKDOWN">;
-def ADJCALLSTACKUP : PseudoInstV8<"ADJCALLSTACKUP">;
-def IMPLICIT_USE : PseudoInstV8<"IMPLICIT_USE">;
-def IMPLICIT_DEF : PseudoInstV8<"IMPLICIT_DEF">;
-def FpMOVD : PseudoInstV8<"FpMOVD">; // pseudo 64-bit double move
+def PHI : PseudoInstV8<"PHI", (ops variable_ops)>;
+def ADJCALLSTACKDOWN : PseudoInstV8<"ADJCALLSTACKDOWN", (ops variable_ops)>;
+def ADJCALLSTACKUP : PseudoInstV8<"ADJCALLSTACKUP", (ops variable_ops)>;
+def IMPLICIT_USE : PseudoInstV8<"IMPLICIT_USE", (ops variable_ops)>;
+def IMPLICIT_DEF : PseudoInstV8<"IMPLICIT_DEF", (ops variable_ops)>;
+def FpMOVD : PseudoInstV8<"FpMOVD", (ops)>; // pseudo 64-bit double move
// Section A.3 - Synthetic Instructions, p. 85
// special cases of JMPL: