diff options
author | Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> | 2015-03-17 21:49:15 +0530 |
---|---|---|
committer | Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> | 2015-03-17 21:49:15 +0530 |
commit | 029f3522619e8b77a7b848be23f4c13e50087d8b (patch) | |
tree | 484cbee2753ca7c12d2d0db7a28864e2e45e7456 /gas/config/tc-i386.c | |
parent | 393bd0c06b64ff6076f28053cbd2fce352023c70 (diff) | |
download | gdb-029f3522619e8b77a7b848be23f4c13e50087d8b.zip gdb-029f3522619e8b77a7b848be23f4c13e50087d8b.tar.gz gdb-029f3522619e8b77a7b848be23f4c13e50087d8b.tar.bz2 |
Add znver1 processor
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 45b815c..b6e8f5c 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -788,6 +788,8 @@ static const arch_entry cpu_arch[] = CPU_BDVER3_FLAGS, 0, 0 }, { STRING_COMMA_LEN ("bdver4"), PROCESSOR_BD, CPU_BDVER4_FLAGS, 0, 0 }, + { STRING_COMMA_LEN ("znver1"), PROCESSOR_ZNVER, + CPU_ZNVER1_FLAGS, 0, 0 }, { STRING_COMMA_LEN ("btver1"), PROCESSOR_BT, CPU_BTVER1_FLAGS, 0, 0 }, { STRING_COMMA_LEN ("btver2"), PROCESSOR_BT, @@ -942,6 +944,8 @@ static const arch_entry cpu_arch[] = CPU_AVX512IFMA_FLAGS, 0, 0 }, { STRING_COMMA_LEN (".avx512vbmi"), PROCESSOR_UNKNOWN, CPU_AVX512VBMI_FLAGS, 0, 0 }, + { STRING_COMMA_LEN (".clzero"), PROCESSOR_UNKNOWN, + CPU_CLZERO_FLAGS, 0, 0 }, }; #ifdef I386COFF @@ -1283,6 +1287,7 @@ i386_align_code (fragS *fragP, int count) case PROCESSOR_K8: case PROCESSOR_AMDFAM10: case PROCESSOR_BD: + case PROCESSOR_ZNVER: case PROCESSOR_BT: patt = alt_short_patt; break; @@ -1313,6 +1318,7 @@ i386_align_code (fragS *fragP, int count) case PROCESSOR_K8: case PROCESSOR_AMDFAM10: case PROCESSOR_BD: + case PROCESSOR_ZNVER: case PROCESSOR_BT: case PROCESSOR_GENERIC32: /* We use cpu_arch_isa_flags to check if we CAN optimize |