aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-09-22 20:29:43 +0000
committerJeff Law <law@gcc.gnu.org>1999-09-22 14:29:43 -0600
commit79077c3f977175703a5d7812acfd5d326be020d0 (patch)
tree0fc0ddd9036d7326e36faebfc847f75c30111f5a /gcc/config
parent9a40d6bc0c227843acdae95248f17fc8c7bf81e6 (diff)
downloadgcc-79077c3f977175703a5d7812acfd5d326be020d0.zip
gcc-79077c3f977175703a5d7812acfd5d326be020d0.tar.gz
gcc-79077c3f977175703a5d7812acfd5d326be020d0.tar.bz2
* pa.md (return, return_internal): Use bve for PA2.0.
From-SVN: r29599
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pa/pa.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index 6e98c95..6484fe4 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -4498,7 +4498,12 @@
(define_insn "return"
[(return)]
"hppa_can_use_return_insn_p ()"
- "bv%* %%r0(%%r2)"
+ "*
+{
+ if (TARGET_PA_20)
+ return \"bve%* (%%r2)\";
+ return \"bv%* %%r0(%%r2)\";
+}"
[(set_attr "type" "branch")
(set_attr "length" "4")])
@@ -4508,7 +4513,12 @@
[(use (reg:SI 2))
(return)]
""
- "bv%* %%r0(%%r2)"
+ "*
+{
+ if (TARGET_PA_20)
+ return \"bve%* (%%r2)\";
+ return \"bv%* %%r0(%%r2)\";
+}"
[(set_attr "type" "branch")
(set_attr "length" "4")])