x86-tune-costs.h (znver1_cost): Make AVX256 vector loads cost the same as AVX128...
authorRichard Biener <rguenther@suse.de>
Mon, 8 Oct 2018 14:47:40 +0000 (14:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 8 Oct 2018 14:47:40 +0000 (14:47 +0000)
2018-10-08  Richard Biener  <rguenther@suse.de>

* config/i386/x86-tune-costs.h (znver1_cost): Make AVX256 vector loads
cost the same as AVX128 ones.

From-SVN: r264934

gcc/ChangeLog
gcc/config/i386/x86-tune-costs.h

index 0e10c559e3bfefd31d6dd0f3abaf8b60a11fcedc..d99306bbab9d41fe86d6852a55e9e214e3c1c73a 100644 (file)
@@ -1,3 +1,8 @@
+2018-10-08  Richard Biener  <rguenther@suse.de>
+
+       * config/i386/x86-tune-costs.h (znver1_cost): Make AVX256 vector loads
+       cost the same as AVX128 ones.
+
 2018-10-08  Paul Koning  <ni1d@arrl.net>
 
        * config/pdp11/pdp11-protos.h (output_block_move): Remove.
index 71a5854c09a6183e91a52b0ed910aac2384b8e5a..9c8ae0a784123de6907927daf37d8fcf7432374b 100644 (file)
@@ -1518,9 +1518,9 @@ struct processor_costs znver1_cost = {
   {8, 8},                              /* cost of storing MMX registers
                                           in SImode and DImode.  */
   2, 3, 6,                             /* cost of moving XMM,YMM,ZMM register.  */
-  {6, 6, 6, 10, 20},                   /* cost of loading SSE registers
+  {6, 6, 6, 6, 12},                    /* cost of loading SSE registers
                                           in 32,64,128,256 and 512-bit.  */
-  {6, 6, 6, 10, 20},                   /* cost of unaligned loads.  */
+  {6, 6, 6, 6, 12},                    /* cost of unaligned loads.  */
   {8, 8, 8, 8, 16},                    /* cost of storing SSE registers
                                           in 32,64,128,256 and 512-bit.  */
   {8, 8, 8, 8, 16},                    /* cost of unaligned stores.  */