Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>2006-10-24 02:53:28 +0400
committerMichael Meissner <gnu@the-meissners.org>2006-10-24 02:53:28 +0400
commit7e39651a5498881a4cbb0a756fa8f60cc924f579 (patch)
tree356ee34943cf2d730b4b8143b2fc6888956d53dc
parent74cab745fc3a79617a2eda04b032560dcab6cb70 (diff)
Fix AMDFAM10 POPCNT instruction
-rw-r--r--include/opcode/ChangeLog5
-rw-r--r--include/opcode/i386.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index ac2525674..3f70f5db9 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-23 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
+
+ * i386.h : Modify opcode to support for the change in POPCNT opcode
+ in amdfam10 architecture.
+
2006-09-28 H.J. Lu <hongjiu.lu@intel.com>
* i386.h: Replace CpuMNI with CpuSSSE3.
diff --git a/include/opcode/i386.h b/include/opcode/i386.h
index 59f45cc86..bbecf3c7a 100644
--- a/include/opcode/i386.h
+++ b/include/opcode/i386.h
@@ -1472,7 +1472,7 @@ static const template i386_optab[] =
{"insertq", 4, 0xf20f78, X, CpuSSE4a, NoSuf|IgnoreSize|Modrm, { Imm8, Imm8, RegXMM, RegXMM} },
/* ABM instructions */
-{"popcnt", 2, 0x0fb8, X, CpuABM, wlq_Suf|Modrm, { WordReg|WordMem, WordReg, 0} },
+{"popcnt", 2, 0xf30fb8, X, CpuABM, wlq_Suf|Modrm, { WordReg|WordMem, WordReg, 0} },
{"lzcnt", 2, 0xf30fbd, X, CpuABM, wlq_Suf|Modrm, { WordReg|WordMem, WordReg, 0} },