summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-28 07:08:22 +0000
committerChris Lattner <sabre@nondot.org>2006-02-28 07:08:22 +0000
commitb9f35f06bcb5fe6da00192c23c760dc74ae40778 (patch)
tree1e484bdb047e0b243d471f47a3423c5073f0d344 /llvm/lib/Target/PowerPC/PPCSubtarget.h
parentd786b0e0336d94eb102ed5dc9c0ffeeb235e6ae5 (diff)
downloadbcm5719-llvm-b9f35f06bcb5fe6da00192c23c760dc74ae40778.tar.gz
bcm5719-llvm-b9f35f06bcb5fe6da00192c23c760dc74ae40778.zip
Add a subtarget feature for the stfiwx instruction. I know the G5 has it,
but I don't know what other PPC impls do. If someone could update the proc table, I would appreciate it :) llvm-svn: 26421
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index 3f1454ce527..4f838741ad0 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h
@@ -37,6 +37,7 @@ protected:
bool Has64BitRegs;
bool HasAltivec;
bool HasFSQRT;
+ bool HasSTFIWX;
bool IsAIX;
bool IsDarwin;
public:
@@ -60,6 +61,7 @@ public:
bool hasFSQRT() const { return HasFSQRT; }
+ bool hasSTFIWX() const { return HasSTFIWX; }
bool has64BitRegs() const { return Has64BitRegs; }
bool hasAltivec() const { return HasAltivec; }
OpenPOWER on IntegriCloud