From: Hans-Peter Nilsson Date: Thu, 14 Apr 2005 15:01:32 +0000 (+0000) Subject: cris.md: Replace references to (reg:SI 16) with (reg:SI CRIS_SRP_REGNUM). X-Git-Tag: misc/cutover-cvs2svn~4083 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f16bb520c9747f8bc5aac6f1f39d784a882f08cb;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a5d50a735c8..476c7cd068a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-04-14 Hans-Peter Nilsson + + * config/cris/cris.md: Replace references to (reg:SI 16) with + (reg:SI CRIS_SRP_REGNUM). + 2005-04-14 Kazu Hirata PR tree-optimization/20657 diff --git a/gcc/config/cris/cris.md b/gcc/config/cris/cris.md index 945685706b76..d58e1dbfad66 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")])