]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas/
authorTristan Gingold <gingold@adacore.com>
Fri, 9 Nov 2012 14:41:32 +0000 (14:41 +0000)
committerTristan Gingold <gingold@adacore.com>
Fri, 9 Nov 2012 14:41:32 +0000 (14:41 +0000)
2012-10-09  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>

* config/tc-i386.c (cpu_arch): Add CPU_BDVER3_FLAGS.
* doc/c-i386.texi: Add -march=bdver3 option.

gas/testsuite/
2012-10-09  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>

* gas/i386/i386.exp: Run bdver3 test cases.
* gas/i386/nops-1-bdver3.d: New.
* gas/i386/arch-10-bdver3.d: New.
* gas/i386/x86-64-nops-1-bdver3.d: New.
* gas/i386/x86-64-arch-2-bdver3.d: New.

opcodes/
2012-10-09  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>

* i386-gen.c (cpu_flag_init): Add CPU_BDVER3_FLAGS.
* i386-init.h: Regenerated.

gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-arch-2-bdver3.d
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-init.h

index 6d95496a2e7221419f1583b5083631eebb29ad20..c059bccff79c984028e4c40b7d39d26ad6c9ef48 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-09  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>
+
+       * config/tc-i386.c (cpu_arch): Add CPU_BDVER3_FLAGS.
+       * doc/c-i386.texi: Add -march=bdver3 option.
+
 2012-11-05  Alan Modra  <amodra@gmail.com>
 
        * configure.in: Apply 2012-09-10 change to config.in here.
index a3512b900f28345c6ab0e334de938de240101bfd..60ff4cb3500b46f5b5ead7e1653423a789d05142 100644 (file)
@@ -663,6 +663,8 @@ static const arch_entry cpu_arch[] =
     CPU_BDVER1_FLAGS, 0, 0 },
   { STRING_COMMA_LEN ("bdver2"), PROCESSOR_BD,
     CPU_BDVER2_FLAGS, 0, 0 },
+  { STRING_COMMA_LEN ("bdver3"), PROCESSOR_BD,
+    CPU_BDVER3_FLAGS, 0, 0 },
   { STRING_COMMA_LEN ("btver1"), PROCESSOR_BT,
     CPU_BTVER1_FLAGS, 0, 0 },
   { STRING_COMMA_LEN ("btver2"), PROCESSOR_BT,
index 5b7b007174d24b877f656dd246948a5a25b6aa7c..a92c7b2dd019d8e6ff3ed14b719c16b248c87c9a 100644 (file)
@@ -120,6 +120,7 @@ processor names are recognized:
 @code{amdfam10},
 @code{bdver1},
 @code{bdver2},
+@code{bdver3},
 @code{btver1},
 @code{btver2},
 @code{generic32} and
@@ -1014,7 +1015,7 @@ supported on the CPU specified.  The choices for @var{cpu_type} are:
 @item @samp{prescott} @tab @samp{nocona} @tab @samp{core} @tab @samp{core2}
 @item @samp{corei7} @tab @samp{l1om} @tab @samp{k1om}
 @item @samp{k6} @tab @samp{k6_2} @tab @samp{athlon} @tab @samp{k8}
-@item @samp{amdfam10} @tab @samp{bdver1} @tab @samp{bdver2}
+@item @samp{amdfam10} @tab @samp{bdver1} @tab @samp{bdver2} @tab @samp{bdver3}
 @item @samp{btver1} @tab @samp{btver2}
 @item @samp{generic32} @tab @samp{generic64}
 @item @samp{.mmx} @tab @samp{.sse} @tab @samp{.sse2} @tab @samp{.sse3}
index 01df655313506bc0244950d1fecb7e8068d5b749..5bc1c32dd0d243803d49e2fbb4d7a40962702fa4 100644 (file)
@@ -1,3 +1,11 @@
+2012-10-09  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>
+
+       * gas/i386/i386.exp: Run bdver3 test cases.
+       * gas/i386/nops-1-bdver3.d: New.
+       * gas/i386/arch-10-bdver3.d: New.
+       * gas/i386/x86-64-nops-1-bdver3.d: New.
+       * gas/i386/x86-64-arch-2-bdver3.d: New.
+
 2012-09-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * gas/arm/armv8-a-bad.l: Updated for changed mnemonics.
index d6a63f6f78b2635da2733c1093f30eaff66c45db..51088080b111283c5aeca9b48a9ec2c4449d1c23 100644 (file)
@@ -84,6 +84,7 @@ if [expr ([istarget "i*86-*-*"] ||  [istarget "x86_64-*-*"]) && [gas_32_check]]
     run_dump_test "nops-1-core2"
     run_dump_test "nops-1-bdver1"
     run_dump_test "nops-1-bdver2"
+    run_dump_test "nops-1-bdver3"
     run_dump_test "nops-1-btver1"
     run_dump_test "nops-1-btver2"
     run_dump_test "nops-2"
@@ -130,6 +131,7 @@ if [expr ([istarget "i*86-*-*"] ||  [istarget "x86_64-*-*"]) && [gas_32_check]]
     run_dump_test "arch-10-lzcnt"
     run_dump_test "arch-10-prefetchw"
     run_dump_test "arch-10-bdver2"
+    run_dump_test "arch-10-bdver3"
     run_dump_test "arch-10-btver1"
     run_dump_test "arch-10-btver2"
     run_list_test "arch-10-1" "-march=generic32 -I${srcdir}/$subdir -al"
@@ -352,6 +354,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
     run_dump_test "x86-64-nops-1-pentium"
     run_dump_test "x86-64-nops-1-bdver1"
     run_dump_test "x86-64-nops-1-bdver2"
+    run_dump_test "x86-64-nops-1-bdver3"
     run_dump_test "x86-64-nops-1-btver1"
     run_dump_test "x86-64-nops-1-btver2"
     run_dump_test "x86-64-nops-2"
@@ -388,6 +391,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
     run_dump_test "x86-64-arch-2-lzcnt"
     run_dump_test "x86-64-arch-2-prefetchw"
     run_dump_test "x86-64-arch-2-bdver2"
+    run_dump_test "x86-64-arch-2-bdver3"
     run_dump_test "x86-64-arch-2-btver1"
     run_dump_test "x86-64-arch-2-btver2"
     run_dump_test "x86-64-xsave"
index 57b237677aa07a4addc42d5098c1842e50614a2b..800e02c034d3e49c94e2242ac1564e014e8f525d 100644 (file)
@@ -29,7 +29,6 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    c4 e3 49 44 d4 08       vpclmulqdq \$0x8,%xmm4,%xmm6,%xmm2
 [      ]*[a-f0-9]+:    c4 e2 c9 98 d4          vfmadd132pd %xmm4,%xmm6,%xmm2
 [      ]*[a-f0-9]+:    0f 38 f0 19             movbe  \(%rcx\),%ebx
-[      ]*[a-f0-9]+:    48 0f c7 0e             cmpxchg16b \(%rsi\)
 [      ]*[a-f0-9]+:    66 0f 38 80 19          invept \(%rcx\),%rbx
 [      ]*[a-f0-9]+:    0f 01 f9                rdtscp 
 [      ]*[a-f0-9]+:    0f 0d 0c 75 00 10 00 00         prefetchw 0x1000\(,%rsi,2\)
index 2e934761168f7364871bb6fd6d27f9d7ab08728f..ca0f49b26c31f87bf887a840086e720477d6d88f 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-09  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>
+
+       * i386-gen.c (cpu_flag_init): Add CPU_BDVER3_FLAGS.
+       * i386-init.h: Regenerated.
+
 2012-11-05  Alan Modra  <amodra@gmail.com>
 
        * configure.in: Apply 2012-09-10 change to config.in here.
index 9dee51a8e4e2319d57099289c1d65bfb08c6a935..abfd4a4bcb861ae4e76e4cdcb1eb12d7b94e341c 100644 (file)
@@ -92,6 +92,8 @@ static initializer cpu_flag_init[] =
     "Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSYSCALL|CpuRdtscp|Cpu387|Cpu687|CpuFISTTP|CpuNop|CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSE4a|CpuABM|CpuLM|CpuFMA4|CpuXOP|CpuLWP" },
   { "CPU_BDVER2_FLAGS",
     "Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSYSCALL|CpuRdtscp|Cpu387|Cpu687|CpuFISTTP|CpuNop|CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSE4a|CpuABM|CpuLM|CpuFMA|CpuFMA4|CpuXOP|CpuLWP|CpuBMI|CpuTBM|CpuF16C" },
+  { "CPU_BDVER3_FLAGS",
+    "Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSYSCALL|CpuRdtscp|Cpu387|Cpu687|CpuFISTTP|CpuNop|CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSE4a|CpuABM|CpuLM|CpuFMA|CpuFMA4|CpuXOP|CpuLWP|CpuBMI|CpuTBM|CpuF16C|CpuClflush|CpuSSSE3|CpuSVME|CpuSSE4_1|CpuSSE4_2|CpuAES|CpuAVX|CpuPCLMUL|CpuLZCNT|CpuPRFCHW|CpuXsave|CpuXsaveopt" },
   { "CPU_BTVER1_FLAGS",
     "Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSYSCALL|CpuRdtscp|Cpu387|Cpu687|CpuNop|CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSSE3|CpuSSE4a|CpuABM|CpuLM|CpuPRFCHW" },
   { "CPU_BTVER2_FLAGS",
index 8d39409b777f68ead007cf7329ae848ccbaa4be0..61187c0e87e254781af0db007f286d79999974d9 100644 (file)
       1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0,  \
       0, 0 } }
 
+#define CPU_BDVER3_FLAGS \
+  { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1,  \
+      0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1,  \
+      1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0,  \
+      0, 0 } }
+
 #define CPU_BTVER1_FLAGS \
   { { 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1,  \
       0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,  \