annotate nocompile/a/asm_movq_02_T.d @ 1321:e6887749b811

cleaned up remaining puremagic @uri@s
author thomask
date Sun, 31 Dec 2006 20:00:02 +0000
parents 22f348c04a9b
children 9216c4646e94
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1037
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
1 // $HeadURL$
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
2 // $Date$
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
3 // $Author$
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
4
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
5 // @author@ <thomas-dloop@kuehne.cn>
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
6 // @date@ 2006-05-26
1321
e6887749b811 cleaned up remaining puremagic @uri@s
thomask
parents: 1037
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=173
1037
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
8
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
9 // __DSTRESS_ELINE__ 28
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
10
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
11 module dstress.nocompile.a.asm_movq_02_T;
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
12
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
13 version(D_InlineAsm_X86){
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
14 version = runTest;
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
15 }else version(D_InlineAsm_X86_64){
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
16 version = runTest;
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
17 }
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
18
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
19 version(runTest){
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
20 import addon.cpuinfo;
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
21
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
22 void main(){
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
23 haveSSE2!()();
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
24
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
25 idouble[0] a;
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
26
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
27 asm{
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
28 movq MM0, a;
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
29 }
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
30 }
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
31 }else{
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
32 pragma(msg, "DSTRESS{XFAIL}: no inline ASM support");
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
33 static assert(0);
22f348c04a9b [Bug 173] New: incorrect size calculation for movq
thomask
parents:
diff changeset
34 }