From 7918206c559f06d25e8fdd6894cfc3000f1cb22e Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Mon, 23 Oct 2006 22:53:29 +0000 Subject: Fix AMDFAM10 POPCNT instruction --- include/opcode/ChangeLog | 5 +++++ include/opcode/i386.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index ac25256..3f70f5d 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,8 @@ +2006-10-23 Dwarakanath Rajagopal + + * i386.h : Modify opcode to support for the change in POPCNT opcode + in amdfam10 architecture. + 2006-09-28 H.J. Lu * i386.h: Replace CpuMNI with CpuSSSE3. diff --git a/include/opcode/i386.h b/include/opcode/i386.h index 59f45cc..bbecf3c 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} }, -- cgit v1.1