This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: fqsrt not implemented on POWER6/AIX6


"Fehringer Franz" <Franz.Fehringer@fja.com> writes:

> What is wrong with
>
> gcc -DLOCALEDIR=\"/home/feh01589/soft/share/locale\"
> -DBISON_LOCALEDIR=\"/home/feh01589/soft/share/locale\"
> -DLOCALE_ALIAS_PATH=\"/home/feh01589/soft/share/locale\" -DUSEJEXE=0
> -DGETTEXTJEXEDIR=\"/home/feh01589/soft/lib32/gettext\"
> -DGETTEXTJAR=\"/home/feh01589/soft/share/gettext/gettext.jar\"
> -DLIBDIR=\"/home/feh01589/soft/lib32\"
> -DGETTEXTDATADIR=\"/home/feh01589/soft/share/gettext\"
> -DPROJECTSDIR=\"/home/feh01589/soft/share/gettext/projects\"
> -DHAVE_CONFIG_H -I. -I..  -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib
> -I../gnulib-lib -I../intl -I../../gettext-runtime/intl
> -DINSTALLDIR=\"/home/feh01589/soft/bin\" -D_ALL_SOURCE -DHAVE_ENDIAN_H
> -DNDEBUG -DPIC -I/home/feh01589/soft/include -D_THREAD_SAFE  -fopenmp
> -D_ALL_SOURCE -DHAVE_ENDIAN_H -DNDEBUG -DPIC
> -I/home/feh01589/soft/include -maltivec -mcpu=power6 -O3 -ffast-math
> -fomit-frame-pointer -fPIC -ftree-vectorize -funroll-loops -pthread
> -std=gnu99 -c -o msgmerge-msgl-fsearch.o `test -f 'msgl-fsearch.c' ||
> echo './'`msgl-fsearch.c
> Assembler:
> /tmp/cctlTh4H.s: line 1194: Instruction fsqrt is not implemented in the
> current assembly mode PWR6.
>
> ??
>
> This is while trying to compile gettext-0.17 with gcc-4.4.0 on
> POWER6/AIX6.

There is some disagreement between the compiler and the assembler as to
which instructions are supported.  As far as I can see, the power6
should support the fsqrt instruction.  So either the assembler
disagrees, or gcc is not correctly telling the assembler that it is
assembling power6 code.  You may need to get a newer assembler.

Ian


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