Mercurial > projects > ldc
changeset 1451:297d1e2f6441
Add `syscall` to the x86-64 asm parser, and both `syscall` and `sysret` to the
x86 one. Fixes #316.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 01 Jun 2009 23:42:42 +0200 |
parents | 83bdf7bed9c5 |
children | 7b218ec1044f |
files | gen/asm-x86-32.h gen/asm-x86-64.h |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/asm-x86-32.h Mon Jun 01 23:17:47 2009 +0200 +++ b/gen/asm-x86-32.h Mon Jun 01 23:42:42 2009 +0200 @@ -1100,8 +1100,10 @@ { "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 },
--- a/gen/asm-x86-64.h Mon Jun 01 23:17:47 2009 +0200 +++ b/gen/asm-x86-64.h Mon Jun 01 23:42:42 2009 +0200 @@ -730,7 +730,6 @@ { "invlpga", Op_SrcMemNT }, { "rdtscp", Op_0_DXAX }, { "stgi", Op_Flags }, - { "sysret", Op_0 }, */ { "cmpxch16b", Op_cmpxchg8b }, @@ -1221,6 +1220,7 @@ { "subsd", Op_DstSrcSSE }, { "subss", Op_DstSrcSSE }, { "swapgs", Op_DstSrcSSE }, + { "syscall", Op_0 }, { "sysenter",Op_0 }, { "sysexit", Op_0 }, { "sysret", Op_0 },