http://d.puremagic.com/issues/show_bug.cgi?id=7691
Don <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Don <[email protected]> 2012-03-28 11:12:44 PDT --- (In reply to comment #3) > Does dmd even support pureness checking for asm blocks? If not, I'm not sure > when we will be able to mark asm functions as pure. asm blocks are ignored for pureness checking. And I think it has to be that way. In the asm for BigInt, at one point I write to a static variable. That variable is never read from, EVER. It's a trick to force Intel processors to stay in sync every pass through the loop. It would be impossible to enforce, anyway. BTW: floor() isn't pure, because floorl() isn't pure, because floorl(), being a C function, may set the matherr variable. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
