annotate norun/a/asm_hlt_01.d @ 1392:275d8482722d

div. inline asm fixes
author thomask
date Thu, 08 Mar 2007 16:21:09 +0000
parents 731f93c13ad6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
975
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
1 // $HeadURL$
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
2 // $Date$
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
3 // $Author$
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
4
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
5 module dstress.norun.a.asm_hlt_01;
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
6
1010
731f93c13ad6 inline ASM review
thomask
parents: 975
diff changeset
7 version(D_InlineAsm_X86){
731f93c13ad6 inline ASM review
thomask
parents: 975
diff changeset
8 version = runTest;
731f93c13ad6 inline ASM review
thomask
parents: 975
diff changeset
9 }else version(D_InlineAsm_X86_64){
731f93c13ad6 inline ASM review
thomask
parents: 975
diff changeset
10 version = runTest;
731f93c13ad6 inline ASM review
thomask
parents: 975
diff changeset
11 }
731f93c13ad6 inline ASM review
thomask
parents: 975
diff changeset
12
731f93c13ad6 inline ASM review
thomask
parents: 975
diff changeset
13 version(runTest){
731f93c13ad6 inline ASM review
thomask
parents: 975
diff changeset
14 int main(){
975
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
15 asm{
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
16 hlt;
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
17 }
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
18
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
19 return 0;
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
20 }
1010
731f93c13ad6 inline ASM review
thomask
parents: 975
diff changeset
21 }else{
1392
275d8482722d div. inline asm fixes
thomask
parents: 1010
diff changeset
22 pragma(msg, "DSTRESS{XFAIL}: no inline x86 asm support");
1010
731f93c13ad6 inline ASM review
thomask
parents: 975
diff changeset
23 static assert(0);
975
5f982ba378c4 extended asm tests
thomask
parents:
diff changeset
24 }