AVX-512.
AVX-512. Add missing features to cpuinfo.c gcc/ * config/i386/i386.c (processor_features): Add F_AVX512VBMI, F_AVX512IFMA. (isa_names_table): Handle F_AVX512VBMI and F_AVX512IFMA. libgcc/ * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512VBMI and FEATURE_AVX512VBMI. testsuite/ * gcc.target/i386/builtin_target.c: Handle "avx512ifma" and "avx512vbmi". From-SVN: r228399
This commit is contained in:
parent
33e767e26e
commit
ab91c076b7
@ -1,3 +1,8 @@
|
||||
2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
|
||||
* config/i386/i386.c (processor_features): Add F_AVX512VBMI,
|
||||
F_AVX512IFMA.
|
||||
(isa_names_table): Handle F_AVX512VBMI and F_AVX512IFMA.
|
||||
|
||||
2015-10-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
||||
|
||||
* config/aarch64/aarch64-elf.h (TARGET_ASM_NAMED_SECTION): Delete.
|
||||
|
@ -36591,6 +36591,8 @@ fold_builtin_cpu (tree fndecl, tree *args)
|
||||
F_AVX512CD,
|
||||
F_AVX512ER,
|
||||
F_AVX512PF,
|
||||
F_AVX512VBMI,
|
||||
F_AVX512IFMA,
|
||||
F_MAX
|
||||
};
|
||||
|
||||
@ -36699,6 +36701,8 @@ fold_builtin_cpu (tree fndecl, tree *args)
|
||||
{"avx512cd",F_AVX512CD},
|
||||
{"avx512er",F_AVX512ER},
|
||||
{"avx512pf",F_AVX512PF},
|
||||
{"avx512vbmi",F_AVX512VBMI},
|
||||
{"avx512ifma",F_AVX512IFMA},
|
||||
};
|
||||
|
||||
tree __processor_model_type = build_processor_model_struct ();
|
||||
|
@ -1,3 +1,8 @@
|
||||
2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
|
||||
|
||||
* gcc.target/i386/builtin_target.c: Handle "avx512ifma"
|
||||
and "avx512vbmi".
|
||||
|
||||
2015-10-02 Vladimir Makarov <vmakarov@redhat.com>
|
||||
|
||||
PR rtl-optimization/67756
|
||||
|
@ -200,6 +200,10 @@ check_features (unsigned int ecx, unsigned int edx,
|
||||
assert (__builtin_cpu_supports ("avx512bw"));
|
||||
if (ebx & bit_AVX512DQ)
|
||||
assert (__builtin_cpu_supports ("avx512dq"));
|
||||
if (ebx & bit_AVX512IFMA)
|
||||
assert (__builtin_cpu_supports ("avx512ifma"));
|
||||
if (ebx & bit_AVX512VBMI)
|
||||
assert (__builtin_cpu_supports ("avx512vbmi"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
|
||||
|
||||
* config/i386/cpuinfo.c (processor_features): Add
|
||||
FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
|
||||
|
||||
2015-09-28 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* soft-fp/adddf3.c: Update from glibc.
|
||||
|
@ -110,7 +110,9 @@ enum processor_features
|
||||
FEATURE_AVX512DQ,
|
||||
FEATURE_AVX512CD,
|
||||
FEATURE_AVX512ER,
|
||||
FEATURE_AVX512PF
|
||||
FEATURE_AVX512PF,
|
||||
FEATURE_AVX512VBMI,
|
||||
FEATURE_AVX512IFMA
|
||||
};
|
||||
|
||||
struct __processor_model
|
||||
@ -336,6 +338,10 @@ get_available_features (unsigned int ecx, unsigned int edx,
|
||||
features |= (1 << FEATURE_AVX512PF);
|
||||
if (ebx & bit_AVX512ER)
|
||||
features |= (1 << FEATURE_AVX512ER);
|
||||
if (ebx & bit_AVX512IFMA)
|
||||
features |= (1 << FEATURE_AVX512IFMA);
|
||||
if (ecx & bit_AVX512VBMI)
|
||||
features |= (1 << FEATURE_AVX512VBMI);
|
||||
}
|
||||
|
||||
unsigned int ext_level;
|
||||
|
Loading…
Reference in New Issue
Block a user