pa.md (call): Generate indirect long calls to non-local functions on TARGET_64BIT.

* config/pa/pa.md (call): Generate indirect long calls to non-local
	functions on TARGET_64BIT.
	(call_value): Likewise.

From-SVN: r237164
This commit is contained in:
John David Anglin 2016-06-07 01:56:01 +00:00
parent 6552d0dd54
commit df32c0b335
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2016-06-06 John David Anglin <danglin@gcc.gnu.org>
* config/pa/pa.md (call): Generate indirect long calls to non-local
functions on TARGET_64BIT.
(call_value): Likewise.
2016-06-06 John David Anglin <danglin@gcc.gnu.org> 2016-06-06 John David Anglin <danglin@gcc.gnu.org>
* config/pa/pa.md (call_val_reg_64bit): Remove "reg: DI " clobber from * config/pa/pa.md (call_val_reg_64bit): Remove "reg: DI " clobber from

View File

@ -7014,7 +7014,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
op = XEXP (operands[0], 0); op = XEXP (operands[0], 0);
/* Generate indirect long calls to non-local functions. */ /* Generate indirect long calls to non-local functions. */
if (!TARGET_64BIT && TARGET_LONG_CALLS && GET_CODE (op) == SYMBOL_REF) if (TARGET_LONG_CALLS && GET_CODE (op) == SYMBOL_REF)
{ {
tree call_decl = SYMBOL_REF_DECL (op); tree call_decl = SYMBOL_REF_DECL (op);
if (!(call_decl && targetm.binds_local_p (call_decl))) if (!(call_decl && targetm.binds_local_p (call_decl)))
@ -7517,7 +7517,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
call_powf = true; call_powf = true;
/* Generate indirect long calls to non-local functions. */ /* Generate indirect long calls to non-local functions. */
else if (!TARGET_64BIT && TARGET_LONG_CALLS) else if (TARGET_LONG_CALLS)
{ {
tree call_decl = SYMBOL_REF_DECL (op); tree call_decl = SYMBOL_REF_DECL (op);
if (!(call_decl && targetm.binds_local_p (call_decl))) if (!(call_decl && targetm.binds_local_p (call_decl)))