Commit f16bb520 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

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
parent a0ce7978
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> 2005-04-14 Kazu Hirata <kazu@cs.umass.edu>
PR tree-optimization/20657 PR tree-optimization/20657
......
...@@ -3914,8 +3914,7 @@ ...@@ -3914,8 +3914,7 @@
(define_expand "call" (define_expand "call"
[(parallel [(call (match_operand:QI 0 "cris_mem_call_operand" "") [(parallel [(call (match_operand:QI 0 "cris_mem_call_operand" "")
(match_operand 1 "general_operand" "")) (match_operand 1 "general_operand" ""))
;; 16 is the srp (can't use the symbolic name here) (clobber (reg:SI CRIS_SRP_REGNUM))])]
(clobber (reg:SI 16))])]
"" ""
" "
{ {
...@@ -3964,7 +3963,7 @@ ...@@ -3964,7 +3963,7 @@
[(call (mem:QI (match_operand:SI [(call (mem:QI (match_operand:SI
0 "cris_general_operand_or_plt_symbol" "r,Q>,g,S")) 0 "cris_general_operand_or_plt_symbol" "r,Q>,g,S"))
(match_operand 1 "" "")) (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" "! TARGET_AVOID_GOTPLT"
"jsr %0") "jsr %0")
...@@ -3974,7 +3973,7 @@ ...@@ -3974,7 +3973,7 @@
[(call (mem:QI (match_operand:SI [(call (mem:QI (match_operand:SI
0 "cris_general_operand_or_plt_symbol" "r,Q>,g")) 0 "cris_general_operand_or_plt_symbol" "r,Q>,g"))
(match_operand 1 "" "")) (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" "TARGET_AVOID_GOTPLT"
"jsr %0") "jsr %0")
...@@ -3982,8 +3981,7 @@ ...@@ -3982,8 +3981,7 @@
[(parallel [(set (match_operand 0 "" "") [(parallel [(set (match_operand 0 "" "")
(call (match_operand:QI 1 "cris_mem_call_operand" "") (call (match_operand:QI 1 "cris_mem_call_operand" "")
(match_operand 2 "" ""))) (match_operand 2 "" "")))
;; 16 is the srp (can't use symbolic name) (clobber (reg:SI CRIS_SRP_REGNUM))])]
(clobber (reg:SI 16))])]
"" ""
" "
{ {
...@@ -4034,7 +4032,7 @@ ...@@ -4034,7 +4032,7 @@
(call (mem:QI (match_operand:SI (call (mem:QI (match_operand:SI
1 "cris_general_operand_or_plt_symbol" "r,Q>,g,S")) 1 "cris_general_operand_or_plt_symbol" "r,Q>,g,S"))
(match_operand 2 "" ""))) (match_operand 2 "" "")))
(clobber (reg:SI 16))] (clobber (reg:SI CRIS_SRP_REGNUM))]
"! TARGET_AVOID_GOTPLT" "! TARGET_AVOID_GOTPLT"
"Jsr %1" "Jsr %1"
[(set_attr "cc" "clobber")]) [(set_attr "cc" "clobber")])
...@@ -4046,7 +4044,7 @@ ...@@ -4046,7 +4044,7 @@
(call (mem:QI (match_operand:SI (call (mem:QI (match_operand:SI
1 "cris_general_operand_or_plt_symbol" "r,Q>,g")) 1 "cris_general_operand_or_plt_symbol" "r,Q>,g"))
(match_operand 2 "" ""))) (match_operand 2 "" "")))
(clobber (reg:SI 16))] (clobber (reg:SI CRIS_SRP_REGNUM))]
"TARGET_AVOID_GOTPLT" "TARGET_AVOID_GOTPLT"
"Jsr %1" "Jsr %1"
[(set_attr "cc" "clobber")]) [(set_attr "cc" "clobber")])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment