Mercurial > projects > ldc
view tests/mini/compile_asm_fpinstr_compare.d @ 1520:1a93c3da09ef
Yet another fix for finding llvm's config file.
Since llvm-config --includedir sometimes includes the trailing llvm/ and
sometimes it doesn't, we just check both directories.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 30 Jun 2009 22:07:50 +0200 |
parents | 85b80c4fe48a |
children |
line wrap: on
line source
void main() { asm { fmul; fmul ST, ST(1); fmul ST(1), ST; fmulp; fmulp ST(1), ST; fdiv; fdiv ST, ST(1); fdiv ST(1), ST; fdivp; fdivp ST(1), ST; fdivr; fdivr ST, ST(1); fdivr ST(1), ST; fdivrp; fdivrp ST(1), ST; fsub; fsub ST, ST(1); fsub ST(1), ST; fsubp; fsubp ST(1), ST; fsubr; fsubr ST, ST(1); fsubr ST(1), ST; fsubrp; fsubrp ST(1), ST; } }