diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2019-10-17 14:34:15 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2019-10-17 07:34:15 -0700 |
commit | 25e22b199bee93f071e8f16e2f0c0684f7a6fe98 (patch) | |
tree | a0f9e6750cfcca0834f5fa08a27d27c713c45153 /gcc/tree-vectorizer.c | |
parent | 47519a5687d48af4b932d54b0525fafcdc0e48d6 (diff) | |
download | gcc-25e22b199bee93f071e8f16e2f0c0684f7a6fe98.zip gcc-25e22b199bee93f071e8f16e2f0c0684f7a6fe98.tar.gz gcc-25e22b199bee93f071e8f16e2f0c0684f7a6fe98.tar.bz2 |
i386: Add clear_ratio to processor_costs
i386.h has
#define CLEAR_RATIO(speed) ((speed) ? MIN (6, ix86_cost->move_ratio) : 2)
It is impossible to have CLEAR_RATIO > 6. This patch adds clear_ratio
to processor_costs, sets it to the minimum of 6 and move_ratio in all
cost models and defines CLEAR_RATIO with clear_ratio.
* config/i386/i386.h (processor_costs): Add clear_ratio.
(CLEAR_RATIO): Remove MIN and use ix86_cost->clear_ratio.
* config/i386/x86-tune-costs.h: Set clear_ratio to the minimum
of 6 and move_ratio in all cost models.
From-SVN: r277114
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions