Mercurial > projects > dstress
view run/a/asm_movntpd_01_A.d @ 983:642e3fea11a9
extended SSE tests - most of them are broken, see http://d.puremagic.com/bugzilla/show_bug.cgi?id=115
author | thomask |
---|---|
date | Mon, 01 May 2006 11:18:12 +0000 |
parents | |
children | a7310ceac844 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.a.asm_movntpd_01_A; int main(){ version(D_InlineAsm_X86){ const double[2] a = [1.0, -1.0]; double[2] b; asm{ movdqu XMM0, a; movntpd b, XMM0; } if(a[0] != b[0]){ assert(0); } if(a[1] != b[1]){ assert(0); } return 0; }else{ pragma(msg, "no Inline asm support"); static assert(0); } }