(In reply to comment #6)
> (From update of attachment 386822 [details])
> >+ asm("flush %0" : : "r" (p));
>
> IMHO, this should be made volatile. And iflush might be more appropriate than
> flush, if I'm not mistaken.
In the Sparc v8 and v9 manuals it is called "flush"; it was called "iflush" in v7. Presumably the old name lives on in various assemblers.
(In reply to comment #6)
> (From update of attachment 386822 [details])
> >+ asm("flush %0" : : "r" (p));
>
> IMHO, this should be made volatile. And iflush might be more appropriate than
> flush, if I'm not mistaken.
In the Sparc v8 and v9 manuals it is called "flush"; it was called "iflush" in v7. Presumably the old name lives on in various assemblers.