The attached patch removes some unnecessary calls to pa_output_arg_descriptor.  
It just returns on TARGET_64BIT.

Tested on hppa64-hp-hpux11.11.  Committed to trunk.

Dave
--
John David Anglin       dave.ang...@bell.net


2016-06-28  John David Anglin  <dang...@gcc.gnu.org>

        * config/pa/pa.md (call_symref_64bit_post_reload): Don't call
        pa_output_arg_descriptor.
        (call_val_symref_64bit_post_reload): Likewise.
        (call_val_powf_64bit_post_reload): Likewise.
        (sibcall_internal_symref_64bit): Likewise.
        (sibcall_value_internal_symref_64bit): Likewise.

Index: config/pa/pa.md
===================================================================
--- config/pa/pa.md     (revision 237780)
+++ config/pa/pa.md     (working copy)
@@ -7314,7 +7314,6 @@
   "TARGET_64BIT"
   "*
 {
-  pa_output_arg_descriptor (insn);
   return pa_output_call (insn, operands[0], 0);
 }"
   [(set_attr "type" "call")
@@ -7924,7 +7923,6 @@
   "TARGET_64BIT"
   "*
 {
-  pa_output_arg_descriptor (insn);
   return pa_output_call (insn, operands[1], 0);
 }"
   [(set_attr "type" "call")
@@ -8019,7 +8017,6 @@
   "TARGET_64BIT && TARGET_HPUX"
   "*
 {
-  pa_output_arg_descriptor (insn);
   return pa_output_call (insn, operands[1], 0);
 }"
   [(set_attr "type" "call")
@@ -8315,7 +8312,6 @@
   "TARGET_64BIT"
   "*
 {
-  pa_output_arg_descriptor (insn);
   return pa_output_call (insn, operands[0], 1);
 }"
   [(set_attr "type" "sibcall")
@@ -8404,7 +8400,6 @@
   "TARGET_64BIT"
   "*
 {
-  pa_output_arg_descriptor (insn);
   return pa_output_call (insn, operands[1], 1);
 }"
   [(set_attr "type" "sibcall")

Reply via email to