]> git.ipfire.org Git - thirdparty/gcc.git/commit
Set callee_pass_avx256_p before emitting call instruction
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 22 Mar 2013 17:00:36 +0000 (17:00 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 22 Mar 2013 17:00:36 +0000 (10:00 -0700)
commit7a8d26fe3d87f58170657cc102999b540cea6f48
tree78c67c6211a42205b28de0b56447c6efd38914f2
parentbd99905626a697c62df2aea31933aef298be0278
Set callee_pass_avx256_p before emitting call instruction

gcc/

PR target/56560
* config/i386/i386.c (init_cumulative_args): Also set
cum->callee_return_avx256_p.
(ix86_function_arg): Set cum->callee_pass_avx256_p.  Set
cfun->machine->callee_pass_avx256_p only when MODE == VOIDmode.

* config/i386/i386.h (ix86_args): Add callee_pass_avx256_p and
callee_return_avx256_p.

gcc/

PR target/56560
* gcc.target/i386/pr56560.c: New file.

From-SVN: r196979
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr56560.c [new file with mode: 0644]