Mercurial > projects > dstress
comparison run/a/asm_pfrsqrtit1_01_B.d @ 1288:61d7e32e70a8
partial inline asm review
author | thomask |
---|---|
date | Wed, 27 Dec 2006 11:59:19 +0000 |
parents | 7fbe1218b3b5 |
children | 7a397590d6e0 |
comparison
equal
deleted
inserted
replaced
1287:8cd17283ece1 | 1288:61d7e32e70a8 |
---|---|
14 import addon.cpuinfo; | 14 import addon.cpuinfo; |
15 | 15 |
16 int main(){ | 16 int main(){ |
17 have3DNow!()(); | 17 have3DNow!()(); |
18 | 18 |
19 float* a = new float[2]; | 19 float* a = (new float[2]).ptr; |
20 a[0] = 4.0f; | 20 a[0] = 4.0f; |
21 a[1] = 0.5f; | 21 a[1] = 0.5f; |
22 | 22 |
23 static if(size_t.sizeof == 4){ | 23 static if(size_t.sizeof == 4){ |
24 asm{ | 24 asm{ |