>>> Joerg Sonnenberger <jo...@bec.de> wrote > On Fri, Apr 05, 2019 at 12:16:13PM +0000, Takeshi Nakayama wrote: > > Module Name: src > > Committed By: nakayama > > Date: Fri Apr 5 12:16:13 UTC 2019 > > > > Modified Files: > > src/sys/arch/sparc64/include: ctlreg.h > > > > Log Message: > > Add dummy constraints to avoid excessive optimization in clang. > > GENERIC kernel compiled with clang now boot at least on my Fire V100. > > The constraint still seems to be wrong to me. The store variant should > list the content as output constraint, not as input? Thanks for looking > at this.
When I put it in the output constraint, the code size increased in the case of gcc, so I put it in the input constraint for now. However, I think so too that it should be put in the output constraint, so I will change it. -- Takeshi Nakayama