On Sun, Jul 27, 2014 at 2:50 PM, Kirill Yukhin <kirill.yuk...@gmail.com> wrote:
> With this patch we'd like to start merge process of avx-512vlbwdq > branch into main trunk. > > This patch introduces new switch `-mavx512dq' > > Bootstrapped. > > Is it ok for trunk? > > * common/config/i386/i386-common.c > (OPTION_MASK_ISA_AVX512DQ_SET): Define. > (OPTION_MASK_ISA_AVX512DQ_UNSET): Ditto. > (ix86_handle_option): Handle OPT_mavx512dq. > * config/i386/cpuid.h (bit_AVX512DQ): Define. > * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512dq, > set -mavx512dq accordingly. > * config/i386/i386-c.c (ix86_target_macros_internal): Handle > OPTION_MASK_ISA_AVX512DQ. > * config/i386/i386.c (ix86_target_string): Handle -mavx512dq. > (ix86_option_override_internal): Define PTA_AVX512DQ, handle > PTA_AVX512DQ and OPTION_MASK_ISA_AVX512DQ. > (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512dq. > * config/i386/i386.h (TARGET_AVX512DQ): Define. > (TARGET_AVX512DQ_P(x)): Ditto. > * config/i386/i386.opt: Add mavx512dq. OK. (Please take care not to break bootstrap after every part, so the source will always be bisectable). Thanks, Uros.