summaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCInstrInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-13 05:15:10 +0000
committerChris Lattner <sabre@nondot.org>2006-03-13 05:15:10 +0000
commitfd97734f3636f54a86890918096d3d692df0b939 (patch)
treeff1cd7d3a82015cd64251e0c7903bba2b1eb8668 /lib/Target/PowerPC/PPCInstrInfo.h
parent88d211f82304e53694ece666d4a2507b170e4582 (diff)
downloadexternal_llvm-fd97734f3636f54a86890918096d3d692df0b939.zip
external_llvm-fd97734f3636f54a86890918096d3d692df0b939.tar.gz
external_llvm-fd97734f3636f54a86890918096d3d692df0b939.tar.bz2
Mark instructions that are cracked by the PPC970 decoder as such.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26720 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.h b/lib/Target/PowerPC/PPCInstrInfo.h
index ff9fbbc..857d42b 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.h
+++ b/lib/Target/PowerPC/PPCInstrInfo.h
@@ -37,9 +37,13 @@ enum {
/// terminates it, so it will be the sole instruction in the group.
PPC970_Single = 0x2,
+ /// PPC970_Cracked - This instruction is cracked into two pieces, requiring
+ /// two dispatch pipes to be available to issue.
+ PPC970_Cracked = 0x4,
+
/// PPC970_Mask/Shift - This is a bitmask that selects the pipeline type that
/// an instruction is issued to.
- PPC970_Shift = 2,
+ PPC970_Shift = 3,
PPC970_Mask = 0x07 << PPC970_Shift,
};
enum PPC970_Unit {