diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-04-14 15:01:32 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2005-04-14 15:01:32 +0000 |
commit | f16bb520c9747f8bc5aac6f1f39d784a882f08cb (patch) | |
tree | e2c388f25b0b3575becc801f6ee2f97e238c6e7c | |
parent | a0ce797889cd14d04b87cdacb089fcee6f73415e (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/cris/cris.md | 14 |
2 files changed, 11 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a5d50a..476c7cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-04-14 Hans-Peter Nilsson <hp@axis.com> + + * config/cris/cris.md: Replace references to (reg:SI 16) with + (reg:SI CRIS_SRP_REGNUM). + 2005-04-14 Kazu Hirata <kazu@cs.umass.edu> PR tree-optimization/20657 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")]) |