diff options
author | Hongyu Wang <hongyu.wang@intel.com> | 2023-06-25 09:50:21 +0800 |
---|---|---|
committer | Hongyu Wang <hongyu.wang@intel.com> | 2023-06-26 09:59:44 +0800 |
commit | 2916278d14e9ac28c361c396a67256acbebda6e8 (patch) | |
tree | 50de0cecaa34793ccce4ba20da06c1e763f02976 /libjava/javax | |
parent | 068eba260fa362616ea82ebb37ed86eb9cc59ac6 (diff) | |
download | gcc-2916278d14e9ac28c361c396a67256acbebda6e8.zip gcc-2916278d14e9ac28c361c396a67256acbebda6e8.tar.gz gcc-2916278d14e9ac28c361c396a67256acbebda6e8.tar.bz2 |
i386: Sync tune_string with arch_string for target attribute arch=*
For function with target attribute arch=*, current logic will set its
tune to -mtune from command line so all target_clones will get same
tuning flags which would affect the performance for each clone. Override
tune with arch if tune was not explicitly specified to get proper tuning
flags for target_clones.
gcc/ChangeLog:
* config/i386/i386-options.cc (ix86_valid_target_attribute_tree):
Override tune_string with arch_string if tune_string is not
explicitly specified.
gcc/testsuite/ChangeLog:
* gcc.target/i386/mvc17.c: New test.
Diffstat (limited to 'libjava/javax')
0 files changed, 0 insertions, 0 deletions