[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: WAW and RAW warnings in kernel build



If someone will send me the snippets of code
with the warnings, I'll take a look at both the code
and gas to see what it's doing....

On Mon, 2003-08-04 at 15:04, David Mosberger wrote:
> >>>>> On Mon, 4 Aug 2003 10:03:50 -0600, Bjorn Helgaas <bjorn.helgaas@hp.com> said:
> 
>   Bjorn> They've been there for years, so I've learned to ignore them.
> 
> I wouldn't want to encourage people to ignore those messages.  Yes,
> some of them can be ignored, but if you develop new assembly code, I'd
> definitely pay attention.
> 
> Unfortunately, GCC sometimes doesn't provide sufficient annotation to
> the assembler so that it could know that the offending code is indeed
> safe.
> 
> Also, in the hand-coded assembly routines, there are a few places
> where hazard warnings are a bit difficult to avoid.  It's something we
> should fix eventually, but it may require some help from gas.
> 
> 	--david
-- 
Ciao,
al
----------------------------
Al Stone
Linux & Open Source Lab
Hewlett-Packard Company
Phone:  970-898-0345
Telnet:     898-0345
Fax:    970-898-3804
E-mail: ahs3@fc.hp.com
----------------------------



Reply to: