Don <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #4 from Don <> 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:
------- You are receiving this mail because: -------

Reply via email to