annotate nocompile/a/asm_frndint_02_E.d @ 1591:a62d2a1c5f14

Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the version condition is missing, the result is XFAIL.
author Christian Kamm <kamm incasoftware de>
date Thu, 28 Aug 2008 09:59:22 +0200
parents 25f3e72bf814
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
856
7b2c5a101190 meta data maintenance
thomask
parents: 715
diff changeset
1 // $HeadURL$
7b2c5a101190 meta data maintenance
thomask
parents: 715
diff changeset
2 // $Date$
7b2c5a101190 meta data maintenance
thomask
parents: 715
diff changeset
3 // $Author$
715
a35e4f0a9049 partial iasm FPU review
thomask
parents:
diff changeset
4
1591
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
5 // __DSTRESS_ELINE__ 22
715
a35e4f0a9049 partial iasm FPU review
thomask
parents:
diff changeset
6
a35e4f0a9049 partial iasm FPU review
thomask
parents:
diff changeset
7 module dstress.nocompile.a.asm_frndint_02_E;
a35e4f0a9049 partial iasm FPU review
thomask
parents:
diff changeset
8
1591
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
9 version(D_InlineAsm_X86){
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
10 version = test;
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
11 }else version(D_Inline_Asm_X86_64){
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
12 version = test;
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
13 }else{
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
14 static assert(0, "DSTRESS{XFAIL}: no inline x86 asm support");
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
15 }
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
16
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
17 version(test){
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
18 void main(){
715
a35e4f0a9049 partial iasm FPU review
thomask
parents:
diff changeset
19 float x;
a35e4f0a9049 partial iasm FPU review
thomask
parents:
diff changeset
20
a35e4f0a9049 partial iasm FPU review
thomask
parents:
diff changeset
21 asm{
a35e4f0a9049 partial iasm FPU review
thomask
parents:
diff changeset
22 frndint x;
a35e4f0a9049 partial iasm FPU review
thomask
parents:
diff changeset
23 }
a35e4f0a9049 partial iasm FPU review
thomask
parents:
diff changeset
24 }
1591
a62d2a1c5f14 Add check for D_InlineAsm_X86 to nocompile tests that were missing it. If the
Christian Kamm <kamm incasoftware de>
parents: 1394
diff changeset
25 }