mon_grouping bug

Paul Mackerras paulus@samba.org
Sat Mar 15 02:05:00 GMT 2003


Kevin.Hendricks writes:

> ppc32 linux defaults to unsigned char.
> 
> Unfortunately,  I have no idea about about other os implementations on 
> ppc32 (netbsd, aix, darwin, etc) or if this is even true for ppc64 
> linux.

ppc64 linux also defaults to unsigned char.  I think most other
implementations would too, since the underlying reason is that the PPC
architecture has a load-byte-and-zero-extend instruction but not a
load-byte-and-sign-extend.  (There are 16-bit and 32-bit
sign-extending loads, but not an 8-bit one.)

Paul.



More information about the Libc-alpha mailing list