diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-08 09:08:22 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-08 09:08:22 +0000 |
commit | 4185d03dc5290550f0bad33764f3971ec9a74132 (patch) | |
tree | d762ee081962ebda00f1111eab79108abb5a99a6 /lib/Target/Sparc/DelaySlotFiller.cpp | |
parent | 7e540fe2b6343b1481f492ed599a0261dc1bd413 (diff) |
Add floating-point branches and compares. Compares don't complete
until the next cycle, and there's no interlock, so they effectively
have a delay slot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/DelaySlotFiller.cpp')
-rw-r--r-- | lib/Target/Sparc/DelaySlotFiller.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/Target/Sparc/DelaySlotFiller.cpp b/lib/Target/Sparc/DelaySlotFiller.cpp index c6606b6453..78d5baa1f9 100644 --- a/lib/Target/Sparc/DelaySlotFiller.cpp +++ b/lib/Target/Sparc/DelaySlotFiller.cpp @@ -68,6 +68,26 @@ static bool hasDelaySlot (unsigned Opcode) { case V8::CALL: case V8::JMPLrr: case V8::RETL: + case V8::FBA: + case V8::FBN: + case V8::FBU: + case V8::FBG: + case V8::FBUG: + case V8::FBL: + case V8::FBUL: + case V8::FBLG: + case V8::FBNE: + case V8::FBE: + case V8::FBUE: + case V8::FBGE: + case V8::FBUGE: + case V8::FBLE: + case V8::FBULE: + case V8::FBO: + case V8::FCMPS: + case V8::FCMPD: + case V8::FCMPES: + case V8::FCMPED: return true; default: return false; |