[Cbe-oss-dev] mars and fsf-gcc
Yuji Mano
yuji.mano at am.sony.com
Tue Jun 9 03:32:08 EST 2009
Andrew Pinski wrote:
> But there are more issues with kernel_memcmp than just that, it looks
> like it does not handle the case where size is not a multiple of 16
> and where s1 and s2 are not aligned to the 16 byte boundary either.
This is an internal function for the MARS kernel that assumes size is
multiple of 16 and aligned to a 16 byte boundary. Its primary purpose
is to keep code size of the MARS kernel to a minimum by avoiding
linkage of standard memcmp and by using vector operations.
Regards,
Yuji
More information about the cbe-oss-dev
mailing list