longlong.h macros for common PPC

Ulrich Drepper drepper@cygnus.com
Mon Nov 22 17:10:00 GMT 1999


When using the longlong.h definitions with the common PPC instruction
set selected one gets the POWER definition of the macros umul_ppmm and
smul_ppmm which results in chaos.  This must have been broken for
quite some time.  I found this on AIX 4.3 wile compiling glibc which
uses the longlong.h definitions internally.

I don't know how to fix this right now.  Using the PowerPC
instructions also does not work since the mulhwu opcodes etc are not
in the common instruction set.

Somebody who knows about all the different PPC variants might want to
take a look at this.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


More information about the Gcc-bugs mailing list