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. 

Joerg

Reply via email to