On 1/5/2012 2:57 PM, Sean Kelly wrote:
For the record, some compilers do optimize across asm blocks. It's simply DMD/DMC that doesn't. Though the lack of "volatile" makes doing this unsafe in D as a general rule.
dmd does keep track of register usage within asm blocks.
