Mercurial > projects > ldc
comparison gen/asm-x86-64.h @ 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 | f3d7451cfa5b |
children | a0114765fe34 |
comparison
equal
deleted
inserted
replaced
1450:83bdf7bed9c5 | 1451:297d1e2f6441 |
---|---|
728 | 728 |
729 { "clgi", Op_Flags }, | 729 { "clgi", Op_Flags }, |
730 { "invlpga", Op_SrcMemNT }, | 730 { "invlpga", Op_SrcMemNT }, |
731 { "rdtscp", Op_0_DXAX }, | 731 { "rdtscp", Op_0_DXAX }, |
732 { "stgi", Op_Flags }, | 732 { "stgi", Op_Flags }, |
733 { "sysret", Op_0 }, | |
734 */ | 733 */ |
735 | 734 |
736 { "cmpxch16b", Op_cmpxchg8b }, | 735 { "cmpxch16b", Op_cmpxchg8b }, |
737 { "cmpxch8b", Op_cmpxchg8b }, // %% DMD opcode typo? | 736 { "cmpxch8b", Op_cmpxchg8b }, // %% DMD opcode typo? |
738 { "cmpxchg", Op_cmpxchg }, | 737 { "cmpxchg", Op_cmpxchg }, |
1219 { "subps", Op_DstSrcSSE }, | 1218 { "subps", Op_DstSrcSSE }, |
1220 { "subq", Op_DstSrcSSE }, | 1219 { "subq", Op_DstSrcSSE }, |
1221 { "subsd", Op_DstSrcSSE }, | 1220 { "subsd", Op_DstSrcSSE }, |
1222 { "subss", Op_DstSrcSSE }, | 1221 { "subss", Op_DstSrcSSE }, |
1223 { "swapgs", Op_DstSrcSSE }, | 1222 { "swapgs", Op_DstSrcSSE }, |
1223 { "syscall", Op_0 }, | |
1224 { "sysenter",Op_0 }, | 1224 { "sysenter",Op_0 }, |
1225 { "sysexit", Op_0 }, | 1225 { "sysexit", Op_0 }, |
1226 { "sysret", Op_0 }, | 1226 { "sysret", Op_0 }, |
1227 { "test", Op_SrcSrcF }, | 1227 { "test", Op_SrcSrcF }, |
1228 { "ucomisd", Op_SrcSrcSSEF }, | 1228 { "ucomisd", Op_SrcSrcSSEF }, |