public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Backport AVX256 load/store split patches to gcc 4.6 for performance boost on latest AMD/Intel hardware.
@ 2011-06-20 17:01 harsha.jagasia
  2011-06-20 17:03 ` H.J. Lu
  0 siblings, 1 reply; 8+ messages in thread
From: harsha.jagasia @ 2011-06-20 17:01 UTC (permalink / raw)
  To: gcc-patches, hubicka, ubizjak, hongjiu.lu; +Cc: harsha.jagasia

Is it ok to backport patches, with Changelogs below, already in trunk to gcc
4.6? These patches are for AVX-256bit load store splitting. These patches
make significant performance difference >=3% to several CPU2006 and
Polyhedron benchmarks on latest AMD and Intel hardware. If ok, I will post
backported patches for commit approval.

AMD plans to submit additional patches on AVX-256 load/store splitting to
trunk. We will send additional backport requests for those later once they
are accepted/comitted to trunk.

[PATCH] Split 32-byte AVX unaligned load/store.
gcc/
2011-03-27  H.J. Lu  <hongjiu.lu@intel.com>
	* config/i386/i386.c (flag_opts): Add -mavx256-split-unaligned-load
	and -mavx256-split-unaligned-store.
	(ix86_option_override_internal): Split 32-byte AVX unaligned
	load/store by default.
	(ix86_avx256_split_vector_move_misalign): New.
	(ix86_expand_vector_move_misalign): Use it.

	* config/i386/i386.opt: Add -mavx256-split-unaligned-load and
	-mavx256-split-unaligned-store.

	* config/i386/sse.md (*avx_mov<mode>_internal): Verify unaligned
	256bit load/store.  Generate unaligned store on misaligned memory
	operand.
	(*avx_movu<ssemodesuffix><avxmodesuffix>): Verify unaligned
	256bit load/store.
	(*avx_movdqu<avxmodesuffix>): Likewise.

	* doc/invoke.texi: Document -mavx256-split-unaligned-load and
	-mavx256-split-unaligned-store.
gcc/testsuite/
2011-03-27  H.J. Lu  <hongjiu.lu@intel.com>
	* gcc.target/i386/avx256-unaligned-load-1.c: New.
	* gcc.target/i386/avx256-unaligned-load-2.c: Likewise.
	* gcc.target/i386/avx256-unaligned-load-3.c: Likewise.
	* gcc.target/i386/avx256-unaligned-load-4.c: Likewise.
	* gcc.target/i386/avx256-unaligned-load-5.c: Likewise.
	* gcc.target/i386/avx256-unaligned-load-6.c: Likewise.
	* gcc.target/i386/avx256-unaligned-load-7.c: Likewise.
	* gcc.target/i386/avx256-unaligned-store-1.c: Likewise.
	* gcc.target/i386/avx256-unaligned-store-2.c: Likewise.
	* gcc.target/i386/avx256-unaligned-store-3.c: Likewise.
	* gcc.target/i386/avx256-unaligned-store-4.c: Likewise.
	* gcc.target/i386/avx256-unaligned-store-5.c: Likewise.
	* gcc.target/i386/avx256-unaligned-store-6.c: Likewise.
	* gcc.target/i386/avx256-unaligned-store-7.c: Likewise.

[PATCH] Don't assert unaligned 256bit load/store.
2011-03-27  H.J. Lu  <hongjiu.lu@intel.com>
	* config/i386/sse.md (*avx_mov<mode>_internal): Don't assert
	unaligned 256bit load/store.
	(*avx_movu<ssemodesuffix><avxmodesuffix>): Likewise.
	(*avx_movdqu<avxmodesuffix>): Likewise.

[PATCH] Fix a typo in -mavx256-split-unaligned-store.
2011-03-28  H.J. Lu  <hongjiu.lu@intel.com>
	* config/i386/i386.c (flag_opts): Fix a typo in
	-mavx256-split-unaligned-store.

[PATCH] * config/i386/i386.c (ix86_reorg): Run move_or_delete_vzeroupper first.
2011-05-04  Uros Bizjak  <ubizjak@gmail.com>
	* config/i386/i386.c (ix86_reorg): Run move_or_delete_vzeroupper first.

[PATCH] Save the initial options after checking vzeroupper.
gcc/
2011-05-23  H.J. Lu  <hongjiu.lu@intel.com>
	PR target/47315
	* config/i386/i386.c (ix86_option_override_internal): Save the
	initial options after checking vzeroupper.
gcc/testsuite/
2011-05-23  H.J. Lu  <hongjiu.lu@intel.com>
	PR target/47315
	* gcc.target/i386/pr47315.c: New test.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-06-28  8:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-20 17:01 Backport AVX256 load/store split patches to gcc 4.6 for performance boost on latest AMD/Intel hardware harsha.jagasia
2011-06-20 17:03 ` H.J. Lu
2011-06-20 17:17   ` Jagasia, Harsha
2011-06-20 22:17     ` Fang, Changpeng
2011-06-20 23:38       ` Lu, Hongjiu
2011-06-21  8:46         ` Richard Guenther
2011-06-27 23:10     ` Fang, Changpeng
2011-06-28  9:44       ` Richard Guenther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).