summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2012-01-05 18:33:42 +0000
committerkettenis <kettenis@openbsd.org>2012-01-05 18:33:42 +0000
commitd670d631f002d8894df29b8decd301ca3b1f39ef (patch)
tree77dc4bd9bfc0c7904c44d9484bb2d347959a0a01
parentPrevent integer wrap-around in pmemrange. (diff)
downloadwireguard-openbsd-d670d631f002d8894df29b8decd301ca3b1f39ef.tar.xz
wireguard-openbsd-d670d631f002d8894df29b8decd301ca3b1f39ef.zip
Teach as(4) about cmpxchg16b on amd64.
ok miod@
-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} },