aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog8
-rw-r--r--include/elf/common.h17
2 files changed, 17 insertions, 8 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 2267cda..afa52a3 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,11 @@
+2020-10-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/26703
+ * elf/common.h (GNU_PROPERTY_X86_ISA_1_BASELINE): New.
+ (GNU_PROPERTY_X86_ISA_1_V2): Uppdated.
+ (GNU_PROPERTY_X86_ISA_1_V3): Likewise.
+ (GNU_PROPERTY_X86_ISA_1_V4): Likewise.
+
2020-10-26 Cooper Qu <cooper.qu@linux.alibaba.com>
* opcode/csky.h (CSKY_VERSION_V1): New, currently used.
diff --git a/include/elf/common.h b/include/elf/common.h
index b3c30e0..fc672de 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -814,18 +814,19 @@
#define GNU_PROPERTY_X86_FEATURE_2_USED \
(GNU_PROPERTY_X86_UINT32_OR_AND_LO + 1)
-/* Baseline: CMOV (cmov) CX8 (cmpxchg8b) FPU (fld), FXSR (fxsave),
- SCE (syscall), MMX, SSE and SSE2. */
-
-/* GNU_PROPERTY_X86_ISA_1_V2: Baseline, CMPXCHG16B (cmpxchg16b),
- LAHF-SAHF (lahf), POPCNT (popcnt), SSE3, SSSE3, SSE4.1 and SSE4.2. */
-#define GNU_PROPERTY_X86_ISA_1_V2 (1U << 0)
+/* GNU_PROPERTY_X86_ISA_1_BASELINE: CMOV, CX8 (cmpxchg8b), FPU (fld),
+ MMX, OSFXSR (fxsave), SCE (syscall), SSE and SSE2. */
+#define GNU_PROPERTY_X86_ISA_1_BASELINE (1U << 0)
+/* GNU_PROPERTY_X86_ISA_1_V2: GNU_PROPERTY_X86_ISA_1_BASELINE,
+ CMPXCHG16B (cmpxchg16b), LAHF-SAHF (lahf), POPCNT (popcnt), SSE3,
+ SSSE3, SSE4.1 and SSE4.2. */
+#define GNU_PROPERTY_X86_ISA_1_V2 (1U << 1)
/* GNU_PROPERTY_X86_ISA_1_V3: GNU_PROPERTY_X86_ISA_1_V2, AVX, AVX2, BMI1,
BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE. */
-#define GNU_PROPERTY_X86_ISA_1_V3 (1U << 1)
+#define GNU_PROPERTY_X86_ISA_1_V3 (1U << 2)
/* GNU_PROPERTY_X86_ISA_1_V4: GNU_PROPERTY_X86_ISA_1_V3, AVX512F,
AVX512BW, AVX512CD, AVX512DQ and AVX512VL. */
-#define GNU_PROPERTY_X86_ISA_1_V4 (1U << 2)
+#define GNU_PROPERTY_X86_ISA_1_V4 (1U << 3)
#define GNU_PROPERTY_X86_FEATURE_1_IBT (1U << 0)
#define GNU_PROPERTY_X86_FEATURE_1_SHSTK (1U << 1)