[LinuxBIOS] SSE 128 bits in C7

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sun Dec 30 18:18:19 CET 2007


On 30.12.2007 15:08, Urbez Santana Roma wrote:
> I ask us, if one are interessed in one tool that i have make
> that makes possible compile C code, with GCC, and eliminate
> the use of the Stack, and use the registers of MMX or XMM if
> have it. It is transparent, and only have the limitations of
> the virtual stack that are small, 128 bytes with XMM or 64 
> with MMX. Your C code must not use more stack.
>   

That is very interesting.

> I have compiled complex programs, for test the CPU and the
> RAM init, through rs232, and it works :) with the tool. The pay 
> are that programs work a slowly. I have writen it for make tools 
> for test CPU's and Mainboards without continuously writen the EPROM,
> and romcc cannot compile the code or the code compiled not works with
> these codes.
>   

ROMCC uses a very similar technique to store variables inside MMX/SSE
registers. However, it is a standalone compiler.
How did you extend gcc to achieve memory-free operation?


Regards,
Carl-Daniel




More information about the coreboot mailing list