Mercurial > projects > ldc
comparison tests/mini/compile_asm_fpinstr_compare.d @ 1310:85b80c4fe48a
Fix certain cases of floating point instruction mistranslation.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 07 May 2009 21:01:44 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1304:b995c146366e | 1310:85b80c4fe48a |
---|---|
1 void main() { | |
2 asm { | |
3 fmul; | |
4 fmul ST, ST(1); | |
5 fmul ST(1), ST; | |
6 fmulp; | |
7 fmulp ST(1), ST; | |
8 | |
9 fdiv; | |
10 fdiv ST, ST(1); | |
11 fdiv ST(1), ST; | |
12 fdivp; | |
13 fdivp ST(1), ST; | |
14 fdivr; | |
15 fdivr ST, ST(1); | |
16 fdivr ST(1), ST; | |
17 fdivrp; | |
18 fdivrp ST(1), ST; | |
19 | |
20 fsub; | |
21 fsub ST, ST(1); | |
22 fsub ST(1), ST; | |
23 fsubp; | |
24 fsubp ST(1), ST; | |
25 fsubr; | |
26 fsubr ST, ST(1); | |
27 fsubr ST(1), ST; | |
28 fsubrp; | |
29 fsubrp ST(1), ST; | |
30 } | |
31 } |