This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mon_grouping bug


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]