linuxbios image is 71069 bytes; only 65536 allowed
after change some print_debug to printo_debug, it gets bigger. Before that it about 68000.
Regards
YH
-----邮件原件----- 发件人: ebiederman@lnxi.com [mailto:ebiederman@lnxi.com] 发送时间: 2004年6月7日 14:19 收件人: YhLu 抄送: LinuxBIOS 主题: Re: 答复: 答复: [COMMIT] romcc 0.63 and some fixes...
YhLu YhLu@tyan.com writes:
I see. The code is getting larger.
Not quite. There is less generated code, but it requires extra registers to hold the return addresses so the register pressure is higher.
Some of that extra register pressure may be artificial and go away when this bug is fixed. Some of it may result from poor choices of the register allocator, and may be remedied by enhancing the register allocator. There is hope of remedies as the kind of code presented to the register allocator is very different when code is not inlined.
Also the reboot in OS can not work.
Hmm. At least with reboot=hard that should work on the Opterons. I have not tested that lately though.
Eric
YhLu YhLu@tyan.com writes:
linuxbios image is 71069 bytes; only 65536 allowed
after change some print_debug to printo_debug, it gets bigger. Before that it about 68000.
Ouch. I guess it must be some of the missed opportunities for optimization. Or the increase in moving values around in registers.
So in theory it works, but we are having a hard time applying it :(
Do you have any significant size regression with just switching to the new romcc.
Eric