Message ID | ZagOpYQD5GpKc8Kz@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Series | Fix handling of X86_TUNE_AVOID_512FMA_CHAINS | expand |
diff --git a/gcc/config/i386/i386-options.cc b/gcc/config/i386/i386-options.cc index 3605c2c53fb..b6f634e9a32 100644 --- a/gcc/config/i386/i386-options.cc +++ b/gcc/config/i386/i386-options.cc @@ -3248,7 +3248,7 @@ ix86_option_override_internal (bool main_args_p, = (cf_protection_level) (opts->x_flag_cf_protection | CF_SET); } - if (ix86_tune_features [X86_TUNE_AVOID_256FMA_CHAINS]) + if (ix86_tune_features [X86_TUNE_AVOID_512FMA_CHAINS]) SET_OPTION_IF_UNSET (opts, opts_set, param_avoid_fma_max_bits, 512); else if (ix86_tune_features [X86_TUNE_AVOID_256FMA_CHAINS]) SET_OPTION_IF_UNSET (opts, opts_set, param_avoid_fma_max_bits, 256);