changeset 1393:9216c4646e94

div. inline asm fixes
author thomask
date Thu, 08 Mar 2007 16:21:38 +0000
parents 275d8482722d
children 25f3e72bf814
files nocompile/a/asm_fsin_02_A.d nocompile/a/asm_fst_02_F.d nocompile/a/asm_movq_02_Q.d nocompile/a/asm_movq_02_R.d nocompile/a/asm_movq_02_S.d nocompile/a/asm_movq_02_T.d nocompile/a/asm_movq_02_U.d nocompile/a/asm_offset_01_B.d
diffstat 8 files changed, 27 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- 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
+}
--- 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);
 }
--- 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);
 }
--- 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);
 }
--- 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);
 }
--- 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);
 }
--- 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);
 }
--- 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);
 }