aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config/mips/mips-dsp.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/config/mips/mips-dsp.md')
-rw-r--r--gcc-4.9/gcc/config/mips/mips-dsp.md17
1 files changed, 15 insertions, 2 deletions
diff --git a/gcc-4.9/gcc/config/mips/mips-dsp.md b/gcc-4.9/gcc/config/mips/mips-dsp.md
index 58c11fe9a..54d1b2a68 100644
--- a/gcc-4.9/gcc/config/mips/mips-dsp.md
+++ b/gcc-4.9/gcc/config/mips/mips-dsp.md
@@ -1185,8 +1185,21 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
"ISA_HAS_DSP"
- "%*bposge%1\t%0%/"
- [(set_attr "type" "branch")])
+{
+ if (TARGET_DSPR3 && TARGET_CB_MAYBE)
+ return "%*bposge%1%:\t%0";
+ else
+ return "%*bposge%1\t%0%/";
+}
+ [(set_attr "type" "branch")
+ (set (attr "compact_form") (if_then_else (match_test "TARGET_DSPR3
+ && TARGET_CB_MAYBE")
+ (const_string "maybe")
+ (const_string "never")))
+ (set (attr "hazard") (if_then_else (match_test "TARGET_DSPR3
+ && TARGET_CB_MAYBE")
+ (const_string "forbidden_slot")
+ (const_string "none")))])
(define_expand "mips_madd<u>"
[(set (match_operand:DI 0 "register_operand")