summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit7579cfb1a07d16b412a2c4ad743ec75624586800 (patch)
tree4f3762ac678a2b4e8d0fb58e48b4bacc72625e5b /llvm/lib/Target/PowerPC/PPCInstrInfo.h
parent51348c5f27a65054501a25000d7b92009b6079e4 (diff)
downloadbcm5719-llvm-7579cfb1a07d16b412a2c4ad743ec75624586800.tar.gz
bcm5719-llvm-7579cfb1a07d16b412a2c4ad743ec75624586800.zip
Mark instructions that are cracked by the PPC970 decoder as such.
llvm-svn: 26720
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCInstrInfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.h b/llvm/lib/Target/PowerPC/PPCInstrInfo.h
index ff9fbbcc237..857d42b71b2 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.h
+++ b/llvm/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 {
OpenPOWER on IntegriCloud