Mercurial > projects > dstress
annotate nocompile/a/asm_st_01_A.d @ 1582:dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
<aziz.kerim@gmail.com>
2007-02-18
http://d.puremagic.com/issues/show_bug.cgi?id=1850
author | thomask |
---|---|
date | Fri, 22 Feb 2008 07:55:01 +0000 |
parents | |
children |
rev | line source |
---|---|
1582
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
2 // $Date$ |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
3 // $Author$ |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
4 |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
5 // @author@ <aziz.kerim@gmail.com> |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
6 // @date@ 2007-02-18 |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1850 |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 1850] New: The compiler accepts lower case asm registers. |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
9 |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
10 // __DSTRESS_ELINE__ 23 |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
11 |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
12 module dstress.nocompile.a.asm_st_01_A; |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
13 |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
14 version(D_InlineAsm_X86){ |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
15 version = test; |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
16 }else version(D_InlineAsm_X86_64){ |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
17 version = test; |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
18 } |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
19 |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
20 version(test){ |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
21 void check(){ |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
22 asm{ |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
23 fstp st(1), st(0); |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
24 } |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
25 } |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
26 }else{ |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
27 pragma(msg, "DSTRESS{XFAIL}: X86 assembler not supported"); |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
28 static assert(0); |
dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
thomask
parents:
diff
changeset
|
29 } |