Add syscall to the x86-64 asm parser, and both syscall and sysret to the

x86 one. Fixes #316.
This commit is contained in:
Frits van Bommel
2009-06-01 23:42:42 +02:00
parent fd037f35e9
commit ba72e39d24
2 changed files with 3 additions and 1 deletions

View File

@@ -1100,8 +1100,10 @@ namespace AsmParserx8632
{ "subps", Op_DstSrcSSE },
{ "subsd", Op_DstSrcSSE },
{ "subss", Op_DstSrcSSE },
{ "syscall", Op_0 },
{ "sysenter",Op_0 },
{ "sysexit", Op_0 },
{ "sysret", Op_0 },
{ "test", Op_SrcSrcF },
{ "ucomisd", Op_SrcSrcSSEF },
{ "ucomiss", Op_SrcSrcSSEF },

View File

@@ -730,7 +730,6 @@ namespace AsmParserx8664
{ "invlpga", Op_SrcMemNT },
{ "rdtscp", Op_0_DXAX },
{ "stgi", Op_Flags },
{ "sysret", Op_0 },
*/
{ "cmpxch16b", Op_cmpxchg8b },
@@ -1221,6 +1220,7 @@ namespace AsmParserx8664
{ "subsd", Op_DstSrcSSE },
{ "subss", Op_DstSrcSSE },
{ "swapgs", Op_DstSrcSSE },
{ "syscall", Op_0 },
{ "sysenter",Op_0 },
{ "sysexit", Op_0 },
{ "sysret", Op_0 },