summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-01-05 18:33:43 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-01-05 18:33:43 +0000
commit6b618f70111d600e81e21f06891a3419515fa8cc (patch)
tree53a10d727e46fed8c28e0066da42a24e2cc43927 /gnu/usr.bin
parent022407caf27caa2ba39950fd5ded1b672f022a1e (diff)
Teach as(4) about cmpxchg16b on amd64.
ok miod@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils/include/opcode/i386.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/include/opcode/i386.h b/gnu/usr.bin/binutils/include/opcode/i386.h
index ee5eada196e..02365526c8e 100644
--- a/gnu/usr.bin/binutils/include/opcode/i386.h
+++ b/gnu/usr.bin/binutils/include/opcode/i386.h
@@ -1319,6 +1319,7 @@ static const template i386_optab[] = {
{"addsubpd", 2, 0x660fd0, X, CpuPNI, FP|Modrm, { RegXMM|LLongMem, RegXMM, 0 } },
{"addsubps", 2, 0xf20fd0, X, CpuPNI, FP|Modrm, { RegXMM|LLongMem, RegXMM, 0 } },
+{"cmpxchg16b",1, 0x0fc7, 1, CpuPNI|Cpu64, NoSuf|Modrm|Rex64, { LLongMem, 0, 0} },
{"fisttp", 1, 0xdf, 1, CpuPNI, sl_FP|FloatMF|Modrm, { ShortMem|LongMem, 0, 0} },
/* Intel Syntax */
{"fisttpd", 1, 0xdd, 1, CpuPNI, FP|Modrm, { LLongMem, 0, 0} },