Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/sparc64/include
>>> Joerg Sonnenberger <joerg%bec.de@localhost> wrote
> On Fri, Apr 05, 2019 at 12:15:41PM +0000, Takeshi Nakayama wrote:
> > Module Name: src
> > Committed By: nakayama
> > Date: Fri Apr 5 12:15:41 UTC 2019
> >
> > Modified Files:
> > src/sys/arch/sparc64/include: psl.h
> >
> > Log Message:
> > Put "memory" to asm inline reading privilege registers for clang to
> > prevent it from being removed by excessive optimization.
>
> Why excessive optimization? With the the clobber or volatile, the asm
> statement is declared to be removable.
With? Without?
Excessive may be overstated, but in the case of gcc it is not
removed, so I thought so.
-- Takeshi Nakayama
Home |
Main Index |
Thread Index |
Old Index