summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcRegisterInfo.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-18 01:20:35 +0000
committerChris Lattner <sabre@nondot.org>2005-12-18 01:20:35 +0000
commit4d55aca87aeac108980005912d8ea8733d6226e1 (patch)
treed835d5f0b6fa68befdb4883acd2fa25a5b00b96c /lib/Target/Sparc/SparcRegisterInfo.td
parenta5282d8df2fe5253b274c97de2617a7c141c5ca8 (diff)
downloadllvm-4d55aca87aeac108980005912d8ea8733d6226e1.tar.gz
llvm-4d55aca87aeac108980005912d8ea8733d6226e1.tar.bz2
llvm-4d55aca87aeac108980005912d8ea8733d6226e1.tar.xz
Add initial conditional branch support. This doesn't actually work yet due
to a bug in the scheduler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcRegisterInfo.td')
-rw-r--r--lib/Target/Sparc/SparcRegisterInfo.td8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcRegisterInfo.td b/lib/Target/Sparc/SparcRegisterInfo.td
index 52ddf59721..c6fcc58fc0 100644
--- a/lib/Target/Sparc/SparcRegisterInfo.td
+++ b/lib/Target/Sparc/SparcRegisterInfo.td
@@ -71,6 +71,14 @@ def D10 : Rd<20, "F20", [F20, F21]>; def D11 : Rd<22, "F22", [F22, F23]>;
def D12 : Rd<24, "F24", [F24, F25]>; def D13 : Rd<26, "F26", [F26, F27]>;
def D14 : Rd<28, "F28", [F28, F29]>; def D15 : Rd<30, "F30", [F30, F31]>;
+/// Integer and FP Condition codes.
+let Namespace = "V8" in {
+ def ICC : Register<"ICC">;
+ def FCC : Register<"FCC">;
+}
+def FLAGS_REGS : RegisterClass<"V8", [FlagVT], 32, [ICC, FCC]> {
+ let Size = 32;
+}
// Register classes.
//