Mercurial > projects > dstress
diff run/a/asm_pfcmpgt_01_B.d @ 1288:61d7e32e70a8
partial inline asm review
author | thomask |
---|---|
date | Wed, 27 Dec 2006 11:59:19 +0000 |
parents | 6e5d377573e1 |
children | 7a397590d6e0 |
line wrap: on
line diff
--- a/run/a/asm_pfcmpgt_01_B.d Wed Dec 27 11:59:05 2006 +0000 +++ b/run/a/asm_pfcmpgt_01_B.d Wed Dec 27 11:59:19 2006 +0000 @@ -17,9 +17,13 @@ haveMMX!()(); have3DNow!()(); - float* a = [123.0f, 457.0f]; - float* b = [124.0f, 456.0f]; - uint* c = new uint[2]; + float[] A = [123.0f, 457.0f]; + float* a = A.ptr; + + float[] B = [124.0f, 456.0f]; + float* b = B.ptr; + + uint* c = (new uint[2]).ptr; static if(size_t.sizeof == 4){ asm{