]> 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 16:36:22 +0000 (16:36 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 22 Mar 2013 16:36:22 +0000 (09:36 -0700)
commit29c2674945d668f44606aba452bea1593066c2fd
tree68da491d174df2a610abda83fa52a286f8465a39
parentfa4f26d34c0f664a1e238f601811b427b6564e4c
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: r196976
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]