Mercurial > projects > dstress
annotate nocompile/a/asm_fsin_02_A.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
parents | 9216c4646e94 |
children |
rev | line source |
---|---|
856 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
715 | 4 |
1393 | 5 // __DSTRESS_ELINE__ 22 |
715 | 6 |
7 module dstress.nocompile.a.asm_fsin_02_A; | |
8 | |
1393 | 9 version(D_InlineAsm_X86){ |
10 version = test; | |
11 }else version(D_Inline_Asm_X86_64){ | |
12 version = test; | |
13 }else{ | |
14 static assert(0, "DSTRESS{XFAIL}: no inline x86 asm support"); | |
15 } | |
16 | |
17 version(test){ | |
18 void main(){ | |
715 | 19 byte x; |
20 | |
21 asm{ | |
22 fsin x; | |
23 } | |
24 } | |
1393 | 25 } |