From 93f067245048d5516ada144aaa1d70230641b5f8 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Sat, 31 Jul 2010 21:26:05 +0200 Subject: [PATCH] fixes #415: 'swapgs' inline asm opcode mistakenly demands 2 arguments; thanks wolfwood --- gen/asm-x86-64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/asm-x86-64.h b/gen/asm-x86-64.h index c0b8b8cb..391662ce 100644 --- a/gen/asm-x86-64.h +++ b/gen/asm-x86-64.h @@ -1223,7 +1223,7 @@ namespace AsmParserx8664 { "subq", Op_DstSrcSSE }, { "subsd", Op_DstSrcSSE }, { "subss", Op_DstSrcSSE }, - { "swapgs", Op_DstSrcSSE }, + { "swapgs", Op_0 }, { "syscall", Op_0 }, { "sysenter",Op_0 }, { "sysexit", Op_0 },