[coreboot] [PATCH] v2: Enable -O2 / -mcpu=p2 for all 440BX romcc boards

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Wed Dec 10 19:02:19 CET 2008


On 10.12.2008 18:41, Joseph Smith wrote:
>>> Build-tested and tested on hardware using an ASUS P2B-F, I didn't notice
>>> any problems. However, if there are any non-obvious reasons to _not_
>>> enable optimizations in romcc, please let me know.
>>>
>>> Use -O2 and -mcpu=p2 as romcc options for all Intel 440BX boards.
>>>
>>> This should hopefully make the "too few registers" error pop up less
>>>       
>> often.
>>     
> Hmm. So the -02 enables optimizations in romcc? Should we worry about this
> in -mcpu=p3 boards?
>   
>> I'd prefer to switch all these boards to CAR, but as this patch improves
>> the current situation, it is pending an answer from Eric.
>>
>>     
> I didn't think the Intel chips could do CAR, or I thought it hadn't been
> figured out yet?
>   

The original CAR code was written by an Intel intern IIRC and it was for
old Intel CPUs. It is interesting to know that our current i586 CAR has
almost nothing in common with the i586 CAR which was committed in r1967.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list