From 44a09e170eec6926d0288e401643bdb9a32673f4 Mon Sep 17 00:00:00 2001 From: hp Date: Thu, 14 Apr 2005 15:01:32 +0000 Subject: [PATCH] * config/cris/cris.md: Replace references to (reg:SI 16) with (reg:SI CRIS_SRP_REGNUM). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98135 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/cris/cris.md | 14 ++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a5d50a735c..476c7cd068a 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 945685706b7..d58e1dbfad6 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")]) -- 2.11.0