aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/cris
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-04-14 15:01:32 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2005-04-14 15:01:32 +0000
commitf16bb520c9747f8bc5aac6f1f39d784a882f08cb (patch)
treee2c388f25b0b3575becc801f6ee2f97e238c6e7c /gcc/config/cris
parenta0ce797889cd14d04b87cdacb089fcee6f73415e (diff)
downloadgcc-f16bb520c9747f8bc5aac6f1f39d784a882f08cb.zip
gcc-f16bb520c9747f8bc5aac6f1f39d784a882f08cb.tar.gz
gcc-f16bb520c9747f8bc5aac6f1f39d784a882f08cb.tar.bz2
cris.md: Replace references to (reg:SI 16) with (reg:SI CRIS_SRP_REGNUM).
* config/cris/cris.md: Replace references to (reg:SI 16) with (reg:SI CRIS_SRP_REGNUM). From-SVN: r98135
Diffstat (limited to 'gcc/config/cris')
-rw-r--r--gcc/config/cris/cris.md14
1 files changed, 6 insertions, 8 deletions
diff --git a/gcc/config/cris/cris.md b/gcc/config/cris/cris.md
index 9456857..d58e1db 100644
--- a/gcc/config/cris/cris.md
+++ b/gcc/config/cris/cris.md
@@ -3914,8 +3914,7 @@
(define_expand "call"
[(parallel [(call (match_operand:QI 0 "cris_mem_call_operand" "")
(match_operand 1 "general_operand" ""))
- ;; 16 is the srp (can't use the symbolic name here)
- (clobber (reg:SI 16))])]
+ (clobber (reg:SI CRIS_SRP_REGNUM))])]
""
"
{
@@ -3964,7 +3963,7 @@
[(call (mem:QI (match_operand:SI
0 "cris_general_operand_or_plt_symbol" "r,Q>,g,S"))
(match_operand 1 "" ""))
- (clobber (reg:SI 16))] ;; 16 is the srp (can't use symbolic name)
+ (clobber (reg:SI CRIS_SRP_REGNUM))]
"! TARGET_AVOID_GOTPLT"
"jsr %0")
@@ -3974,7 +3973,7 @@
[(call (mem:QI (match_operand:SI
0 "cris_general_operand_or_plt_symbol" "r,Q>,g"))
(match_operand 1 "" ""))
- (clobber (reg:SI 16))] ;; 16 is the srp (can't use symbolic name)
+ (clobber (reg:SI CRIS_SRP_REGNUM))]
"TARGET_AVOID_GOTPLT"
"jsr %0")
@@ -3982,8 +3981,7 @@
[(parallel [(set (match_operand 0 "" "")
(call (match_operand:QI 1 "cris_mem_call_operand" "")
(match_operand 2 "" "")))
- ;; 16 is the srp (can't use symbolic name)
- (clobber (reg:SI 16))])]
+ (clobber (reg:SI CRIS_SRP_REGNUM))])]
""
"
{
@@ -4034,7 +4032,7 @@
(call (mem:QI (match_operand:SI
1 "cris_general_operand_or_plt_symbol" "r,Q>,g,S"))
(match_operand 2 "" "")))
- (clobber (reg:SI 16))]
+ (clobber (reg:SI CRIS_SRP_REGNUM))]
"! TARGET_AVOID_GOTPLT"
"Jsr %1"
[(set_attr "cc" "clobber")])
@@ -4046,7 +4044,7 @@
(call (mem:QI (match_operand:SI
1 "cris_general_operand_or_plt_symbol" "r,Q>,g"))
(match_operand 2 "" "")))
- (clobber (reg:SI 16))]
+ (clobber (reg:SI CRIS_SRP_REGNUM))]
"TARGET_AVOID_GOTPLT"
"Jsr %1"
[(set_attr "cc" "clobber")])