Commit 98857de8 by John David Anglin Committed by John David Anglin

pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.

	* pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
	(epilogue): Don't generate return_external_pic when emitting PA 2.0
	code.

From-SVN: r63871
parent 96714395
2003-03-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
(epilogue): Don't generate return_external_pic when emitting PA 2.0
code.
2003-03-05 Aldy Hernandez <aldyh@redhat.com> 2003-03-05 Aldy Hernandez <aldyh@redhat.com>
* doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN. * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
......
...@@ -5629,7 +5629,9 @@ ...@@ -5629,7 +5629,9 @@
[(return) [(return)
(clobber (reg:SI 1)) (clobber (reg:SI 1))
(use (reg:SI 2))] (use (reg:SI 2))]
"!TARGET_NO_SPACE_REGS && flag_pic && current_function_calls_eh_return" "!TARGET_NO_SPACE_REGS
&& !TARGET_PA_20
&& flag_pic && current_function_calls_eh_return"
"ldsid (%%sr0,%%r2),%%r1\;mtsp %%r1,%%sr0\;be%* 0(%%sr0,%%r2)" "ldsid (%%sr0,%%r2),%%r1\;mtsp %%r1,%%sr0\;be%* 0(%%sr0,%%r2)"
[(set_attr "type" "branch") [(set_attr "type" "branch")
(set_attr "length" "12")]) (set_attr "length" "12")])
...@@ -5668,6 +5670,7 @@ ...@@ -5668,6 +5670,7 @@
This is only a problem for returns from shared code on ports This is only a problem for returns from shared code on ports
using space registers. */ using space registers. */
if (!TARGET_NO_SPACE_REGS if (!TARGET_NO_SPACE_REGS
&& !TARGET_PA_20
&& flag_pic && current_function_calls_eh_return) && flag_pic && current_function_calls_eh_return)
x = gen_return_external_pic (); x = gen_return_external_pic ();
else else
......
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