summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCHazardRecognizers.h
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-03-07 08:30:27 +0000
committerNate Begeman <natebegeman@mac.com>2006-03-07 08:30:27 +0000
commit3acbe5d4f0d6163cb761368692c830c1a4f27e31 (patch)
treec012846402821d03f04bd57596cac440f6ec9a82 /lib/Target/PowerPC/PPCHazardRecognizers.h
parent2046371e70e90d4435fcdf1b2ebeb64a2e5b2626 (diff)
downloadllvm-3acbe5d4f0d6163cb761368692c830c1a4f27e31.tar.gz
llvm-3acbe5d4f0d6163cb761368692c830c1a4f27e31.tar.bz2
llvm-3acbe5d4f0d6163cb761368692c830c1a4f27e31.tar.xz
This kinda sorta implements "things that have to lead a dispatch group".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCHazardRecognizers.h')
-rw-r--r--lib/Target/PowerPC/PPCHazardRecognizers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCHazardRecognizers.h b/lib/Target/PowerPC/PPCHazardRecognizers.h
index f11d3e6829..c13d86d65e 100644
--- a/lib/Target/PowerPC/PPCHazardRecognizers.h
+++ b/lib/Target/PowerPC/PPCHazardRecognizers.h
@@ -32,6 +32,7 @@ class PPCHazardRecognizer970 : public HazardRecognizer {
unsigned NumLSU; // Number of Load/Store instructions
unsigned NumFPU; // Number of Floating Point instructions
bool HasCR; // True if Condition Register instruction issued
+ bool HasSPR; // True if Special-Purpose Register instruction used
bool HasVALU; // True if Vector Arithmetic instruction issued
bool HasVPERM; // True if Vector Permute instruction issued
@@ -63,7 +64,7 @@ private:
void EndDispatchGroup();
enum PPC970InstrType {
- FXU, LSU_LD, LSU_ST, FPU, CR, VALU, VPERM, BR, PseudoInst
+ FXU, FXU_FIRST, LSU_LD, LSU_ST, FPU, CR, SPR, VALU, VPERM, BR, PseudoInst
};
/// GetInstrType - Classify the specified powerpc opcode according to its