[Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used

2016-05-27 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63596

--- Comment #5 from Jiong Wang  ---
Author: jiwang
Date: Fri May 27 13:05:34 2016
New Revision: 236819

URL: https://gcc.gnu.org/viewcvs?rev=236819&root=gcc&view=rev
Log:
[AArch64] PR target/63596, honor tree-stdarg analysis result to improve VAARG
codegen

gcc/
PR target/63596
* config/aarch64/aarch64.c (aarch64_expand_builtin_va_start): Honor
tree-stdarg analysis results.
(aarch64_setup_incoming_varargs): Likewise.

gcc/testsuite/
* gcc.target/aarch64/va_arg_1.c: New testcase.
* gcc.target/aarch64/va_arg_2.c: Likewise.
* gcc.target/aarch64/va_arg_3.c: Likewise.


Added:
trunk/gcc/testsuite/gcc.target/aarch64/va_arg_1.c
trunk/gcc/testsuite/gcc.target/aarch64/va_arg_2.c
trunk/gcc/testsuite/gcc.target/aarch64/va_arg_3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64.c
trunk/gcc/testsuite/ChangeLog

[Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used

2016-05-27 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63596

Jiong Wang  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Jiong Wang  ---
fixed.

[Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used

2016-08-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63596

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |7.0

[Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used

2016-05-06 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63596

--- Comment #4 from Jiong Wang  ---
A patch set which clean up variable argument support on AArch64 has been sent
for review

https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00508.html

[Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used

2014-10-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63596

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-10-20
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
Confirmed.


[Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used

2014-12-30 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63596

--- Comment #2 from Jiong Wang  ---
we are also lack of initialization for va_list_gpr_counter_field and
va_list_vpr_counter_field, thus currently the whole tree-stdarg optimization
doesn't work for AArch64, and lots of other targets, like arm, sparc, mips etc
are lack of this vaarg opt tuning also.


[Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used

2014-12-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63596

--- Comment #3 from Andrew Pinski  ---
(In reply to Jiong Wang from comment #2)
> we are also lack of initialization for va_list_gpr_counter_field and
> va_list_vpr_counter_field, thus currently the whole tree-stdarg optimization
> doesn't work for AArch64, and lots of other targets, like arm, sparc, mips
> etc are lack of this vaarg opt tuning also.

Yes but the two other server targets (x86 and PowerPC) don't lack this
optimization.


[Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used

2015-01-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63596

Andrew Pinski  changed:

   What|Removed |Added

   Severity|normal  |enhancement


[Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used

2015-01-06 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63596

Jiong Wang  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED