[coreboot] rfc - gcc builtins and memset memcpy memmove memcmp

Patrick Georgi patrick at georgi-clan.de
Sun Sep 12 23:24:36 CEST 2010


Am 12.09.2010 22:16, schrieb Marc Jones:
>> Good point! I guess we rolled our own to be less dependent on gcc. I
>> think it would be OK to use gcc's implementations though.
> 
> Good point, but most compilers have intrinsics for these functions, Do
> we need a compiler intrinsics layer?
I guess the original statement is to be read as "less dependent on
particular instances of gcc" (ie. distro compilers, bugs in certain gcc
versions).

coreboot already is way too gnu specific in its use of binutils and gcc
features that supporting other compilers won't make sense. The gcc
intrinsics should be relatively stable, so no "layer" is necessary, I think.


Regards,
Patrick




More information about the coreboot mailing list