Mercurial > projects > dstress
diff run/a/asm_fdivr_01_D.d @ 1044:03c97933de98
inline ASM review
author | thomask |
---|---|
date | Thu, 08 Jun 2006 18:26:22 +0000 |
parents | a468938b0160 |
children | 1c8652b3795a |
line wrap: on
line diff
--- a/run/a/asm_fdivr_01_D.d Wed Jun 07 21:30:06 2006 +0000 +++ b/run/a/asm_fdivr_01_D.d Thu Jun 08 18:26:22 2006 +0000 @@ -15,11 +15,11 @@ int main(){ haveFPU!()(); - + float a = 12.0f; float b = -3.0f; float c = 9.9f; - + asm{ fld b; fldz; @@ -29,7 +29,7 @@ fstp b; fstp c; } - + if(a != 12.0f){ assert(0); } @@ -39,7 +39,7 @@ if(c != -4.0f){ assert(0); } - + return 0; } }else{