]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Add AMD prefetch and 3DNow! opcodes to opcode map
authorMasami Hiramatsu <mhiramat@redhat.com>
Sat, 17 Oct 2009 00:07:44 +0000 (20:07 -0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 17 Oct 2009 07:53:59 +0000 (09:53 +0200)
commit446b87ff17da17d913e95e0fdce9f1904cce0003
tree73d733aa6ae1f511049f11d5c19a3354fdf641dd
parent7c8d9c2411d2264fe1605ddc934402e27af1e244
x86: Add AMD prefetch and 3DNow! opcodes to opcode map

Add AMD prefetch and 3DNow! opcode including FEMMS. Since 3DNow!
uses the last immediate byte as an opcode extension byte, x86
insn just treats the extenstion byte as an immediate byte
instead of a part of opcode (insn_get_opcode() decodes first
"0x0f 0x0f" bytes.)

Users who are interested in analyzing 3DNow! opcode still can
decode it by analyzing the immediate byte.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20091017000744.16556.27881.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/lib/x86-opcode-map.txt