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
This commit is contained in:
John David Anglin 2003-03-05 22:40:21 +00:00 committed by John David Anglin
parent 967143957e
commit 98857de85a
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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>
* doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.

View File

@ -5629,7 +5629,9 @@
[(return)
(clobber (reg:SI 1))
(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)"
[(set_attr "type" "branch")
(set_attr "length" "12")])
@ -5668,6 +5670,7 @@
This is only a problem for returns from shared code on ports
using space registers. */
if (!TARGET_NO_SPACE_REGS
&& !TARGET_PA_20
&& flag_pic && current_function_calls_eh_return)
x = gen_return_external_pic ();
else