Set cache values from -mtune
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 13 Jun 2012 17:46:59 +0000 (17:46 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 13 Jun 2012 17:46:59 +0000 (10:46 -0700)
commit054121a40887206a4ecc0646fa645a6a94e3d2f9
tree7dfe9b0a4c5b9a0c2dc11c4484d285d8ec80f700
parent4a1721561c22452e9e74c0cd2bb8c7f362d208ab
Set cache values from -mtune

PR target/53647
* config/i386/i386.c (ix86_tune_cost): New variable.
(ix86_option_override_internal): Set ix86_tune_cost.  Use
ix86_tune_cost for simultaneous_prefetches, prefetch_block,
l1_cache_size and l2_cache_size.

From-SVN: r188523
gcc/ChangeLog
gcc/config/i386/i386.c