view nocompile/a/asm_movq_02_T.d @ 1037:22f348c04a9b

[Bug 173] New: incorrect size calculation for movq <thomas-dloop@kuehne.cn> 2006-06-01 news:bug-173-3@http.d.puremagic.com/bugzilla/
author thomask
date Thu, 01 Jun 2006 17:57:27 +0000
parents
children e6887749b811
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	<thomas-dloop@kuehne.cn>
// @date@	2006-05-26
// @uri@	news:bug-173-3@http.d.puremagic.com/bugzilla

// __DSTRESS_ELINE__ 28

module dstress.nocompile.a.asm_movq_02_T;

version(D_InlineAsm_X86){
	version = runTest;
}else version(D_InlineAsm_X86_64){
	version = runTest;
}

version(runTest){
	import addon.cpuinfo;

	void main(){
		haveSSE2!()();
		
		idouble[0] a;

		asm{
			movq MM0, a;
		}
	}
}else{
	pragma(msg, "DSTRESS{XFAIL}: no inline ASM support");
	static assert(0);
}