diff options
author | Michael Meissner <gnu@the-meissners.org> | 2006-10-23 22:53:29 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 2006-10-23 22:53:29 +0000 |
commit | b642d576291a592136306f2b65d1776eb2658ef3 (patch) | |
tree | 1077c3a0cecdd55052ebca74216569d11bc639f5 /include | |
parent | b8c247cc219708542a1a151b2e517456be164d8a (diff) | |
download | gdb-b642d576291a592136306f2b65d1776eb2658ef3.tar.gz |
Fix AMDFAM10 POPCNT instruction
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/i386.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index ac252567478..3f70f5db9e2 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 59f45cc8619..bbecf3c7ada 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} }, |