# HG changeset patch # User thomask # Date 1173370898 0 # Node ID 9216c4646e94b0ba9346540c8d8a6eec55da4787 # Parent 275d8482722dde10ea44e659495f8cd4eeb9b710 div. inline asm fixes diff -r 275d8482722d -r 9216c4646e94 nocompile/a/asm_fsin_02_A.d --- a/nocompile/a/asm_fsin_02_A.d Thu Mar 08 16:21:09 2007 +0000 +++ b/nocompile/a/asm_fsin_02_A.d Thu Mar 08 16:21:38 2007 +0000 @@ -2,16 +2,24 @@ // $Date$ // $Author$ -// __DSTRESS_ELINE__ 14 +// __DSTRESS_ELINE__ 22 module dstress.nocompile.a.asm_fsin_02_A; -void main(){ - version(D_InlineAsm){ +version(D_InlineAsm_X86){ + version = test; +}else version(D_Inline_Asm_X86_64){ + version = test; +}else{ + static assert(0, "DSTRESS{XFAIL}: no inline x86 asm support"); +} + +version(test){ + void main(){ byte x; asm{ fsin x; } } -} \ No newline at end of file +} diff -r 275d8482722d -r 9216c4646e94 nocompile/a/asm_fst_02_F.d --- a/nocompile/a/asm_fst_02_F.d Thu Mar 08 16:21:09 2007 +0000 +++ b/nocompile/a/asm_fst_02_F.d Thu Mar 08 16:21:38 2007 +0000 @@ -2,11 +2,17 @@ // $Date$ // $Author$ -// __DSTRESS_ELINE__ 14 +// __DSTRESS_ELINE__ 20 module dstress.nocompile.a.asm_fst_02_F; -version(D_InlineAsm){ +version(D_InlineAsm_X86){ + version = test; +}else version(D_InlineAsm_X86_64){ + version = test; +} + +version(test){ void main(){ real x; @@ -15,6 +21,6 @@ } } }else{ - pragma(msg, "DSTRESS{XFAIL}: no inline ASM support"); + pragma(msg, "DSTRESS{XFAIL}: no inline x86 asm support"); static assert(0); } diff -r 275d8482722d -r 9216c4646e94 nocompile/a/asm_movq_02_Q.d --- a/nocompile/a/asm_movq_02_Q.d Thu Mar 08 16:21:09 2007 +0000 +++ b/nocompile/a/asm_movq_02_Q.d Thu Mar 08 16:21:38 2007 +0000 @@ -29,6 +29,6 @@ } } }else{ - pragma(msg, "DSTRESS{XFAIL}: no inline ASM support"); + pragma(msg, "DSTRESS{XFAIL}: no inline x86 asm support"); static assert(0); } diff -r 275d8482722d -r 9216c4646e94 nocompile/a/asm_movq_02_R.d --- a/nocompile/a/asm_movq_02_R.d Thu Mar 08 16:21:09 2007 +0000 +++ b/nocompile/a/asm_movq_02_R.d Thu Mar 08 16:21:38 2007 +0000 @@ -29,6 +29,6 @@ } } }else{ - pragma(msg, "DSTRESS{XFAIL}: no inline ASM support"); + pragma(msg, "DSTRESS{XFAIL}: no inline x86 asm support"); static assert(0); } diff -r 275d8482722d -r 9216c4646e94 nocompile/a/asm_movq_02_S.d --- a/nocompile/a/asm_movq_02_S.d Thu Mar 08 16:21:09 2007 +0000 +++ b/nocompile/a/asm_movq_02_S.d Thu Mar 08 16:21:38 2007 +0000 @@ -29,6 +29,6 @@ } } }else{ - pragma(msg, "DSTRESS{XFAIL}: no inline ASM support"); + pragma(msg, "DSTRESS{XFAIL}: no inline x86 asm support"); static assert(0); } diff -r 275d8482722d -r 9216c4646e94 nocompile/a/asm_movq_02_T.d --- a/nocompile/a/asm_movq_02_T.d Thu Mar 08 16:21:09 2007 +0000 +++ b/nocompile/a/asm_movq_02_T.d Thu Mar 08 16:21:38 2007 +0000 @@ -29,6 +29,6 @@ } } }else{ - pragma(msg, "DSTRESS{XFAIL}: no inline ASM support"); + pragma(msg, "DSTRESS{XFAIL}: no inline x86 asm support"); static assert(0); } diff -r 275d8482722d -r 9216c4646e94 nocompile/a/asm_movq_02_U.d --- a/nocompile/a/asm_movq_02_U.d Thu Mar 08 16:21:09 2007 +0000 +++ b/nocompile/a/asm_movq_02_U.d Thu Mar 08 16:21:38 2007 +0000 @@ -29,6 +29,6 @@ } } }else{ - pragma(msg, "DSTRESS{XFAIL}: no inline ASM support"); + pragma(msg, "DSTRESS{XFAIL}: no inline x86 asm support"); static assert(0); } diff -r 275d8482722d -r 9216c4646e94 nocompile/a/asm_offset_01_B.d --- a/nocompile/a/asm_offset_01_B.d Thu Mar 08 16:21:09 2007 +0000 +++ b/nocompile/a/asm_offset_01_B.d Thu Mar 08 16:21:38 2007 +0000 @@ -29,6 +29,6 @@ } } }else{ - pragma(msg, "DSTRESS{XFAIL}: no inline ASM support"); + pragma(msg, "DSTRESS{XFAIL}: no inline x86 asm support"); static assert(0); }