Date: Wed, 15 May 2002 21:18:41 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Thomas David Rivers <rivers@dignus.com> Cc: fenner@research.att.com, audit@FreeBSD.ORG, current@FreeBSD.ORG, knu@iDaemons.org Subject: Re: moused(8): char signed-ness problem with gcc 3.1 Message-ID: <3CE33321.B2FBD340@mindspring.com> References: <200205152026.g4FKQ3746098@lakes.dignus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thomas David Rivers wrote: > Well - it's not counter-intuitive on many machines... For example, > on the IBM mainframe - there is an instruction to load a character > into a register - but not one that loads *and* sign-extends. So, > you can get much better code if characters are unsigned by default. Sounds like time to get out the wire wrap tools... and fix the hardware, not the software. > So in our C/C++ compilers for the mainframe, the default is > unsigned as well. > > I wonder if the AIX people were looking for mainframe > compatibility in this decision, or was it motivated > by the PowerPC instruction set? Does anyone know what > the Mac default is (since they are PowerPC based as well?) RS/6000's didn't used to use PPC processors at all; so it's probably intentional software compatability. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CE33321.B2FBD340>