[coreboot] EP80579 reference platform
stepan at coresystems.de
Mon Apr 26 16:45:59 CEST 2010
do you have a hint what could cause romcc to produce incorrect code
without -fno-simplify-phi ?
On 4/26/10 4:23 PM, Myles Watson wrote:
> On Mon, Apr 26, 2010 at 7:43 AM, Stefan Reinauer <stepan at coresystems.de> wrote:
>> On 4/26/10 3:34 PM, Myles Watson wrote:
>>>> The problem with Truxton booting in trunk seems to have appeared in the
>>>> migration to the new Makefile system.
>>>> If I drop a CONFIG_SSE=y into the .config file using a trunk build I can
>>>> However, I don't really see how this flag gets set. Doing a 'grep -RH
>>>> CONFIG_SSE' points to the two makefile includes that add the enable_sse
>>>> code, but no references to setting the flag.
>>> I added it in 5505. I think we should put an #error in the file that
>>> uses these instructions if CONFIG_SSE isn't set.
>> There is no specific instruction in our code causing this, but a hard
>> code of ROMCCFLAGS in mainboard/intel/truxton/Makefile.inc:
> I forgot that romcc was using the SSE registers.
>> ROMCCFLAGS := -mcpu=p4 -fno-simplify-phi -O2
> Without the line it fails to build.
> It builds with this line:
> ROMCCFLAGS += -fno-simplify-phi
> With this line it fails to allocate enough registers:
> ROMCCFLAGS := -fno-simplify-phi -O2
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
More information about the coreboot