[Bug target/37759] powerpc option -mno-spe still generates SPE instructions

2008-10-07 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2008-10-07 20:38 ---
I think this is by design, you did not change the ABI to be a non SPE based
one.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37759



[Bug target/37759] powerpc option -mno-spe still generates SPE instructions

2008-10-07 Thread patrick at motec dot com dot au


--- Comment #3 from patrick at motec dot com dot au  2008-10-07 22:14 
---
Created an attachment (id=16477)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16477action=view)
preprocessed source

Setting -mabi=no-spe corrects the the first example.

The new prexeth.i example still generates evldd/evstdd even with -mabi=no-spe,
adding the -mno-spe flag makes no difference.


-- 

patrick at motec dot com dot au changed:

   What|Removed |Added

  Attachment #16472|0   |1
is obsolete||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37759



[Bug target/37759] powerpc option -mno-spe still generates SPE instructions

2008-10-07 Thread patrick at motec dot com dot au


--- Comment #4 from patrick at motec dot com dot au  2008-10-07 22:15 
---
Forgot to add -v output:

powerpc-eabispe-gcc -DLWIP_DEBUG -Iprex/include -Ilwip/src/include
-Ilwip/src/include/ipv4 -I/home/patrick/src/e7/prex
-I/home/patrick/src/e7/prex/usr/include -I/home/patrick/src/e7/prex/include
-nostdinc -fsingle-precision-constant -mabi=no-spe -gdwarf-2 -Os -ansi
-fno-strict-aliasing -Wall -Wundef -Wstrict-prototypes -Wpointer-arith
-std=gnu99 -fno-stack-protector -Wno-variadic-macros -D__ppc__ -D__e7__
-D__ARCH__=ppc -D__PLATFORM__=e7 -Uppc -Ue7 -fno-omit-frame-pointer -DDEBUG -g
-Wsign-compare -Werror-implicit-function-declaration -v -save-temps -MD -MT
prex/prexeth.o -MP -MF .prexeth.d -I/home/patrick/src/e7/prex/dev/include -c -o
prex/prexeth.o prex/prexeth.c
Using built-in specs.
Target: powerpc-eabispe
Configured with: /home/patrick/src/e7/toolchain/src/gcc-4.3.2/configure
--prefix=/home/patrick/src/e7/toolchain/stage2 --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=powerpc-eabispe --enable-languages=c
--disable-nls --disable-multilib --disable-werror --without-newlib
--with-gmp=/home/patrick/src/e7/toolchain/stage2
--with-mpfr=/home/patrick/src/e7/toolchain/stage2 --disable-shared
--disable-debug --disable-libssp
Thread model: single
gcc version 4.3.2 (GCC) 
COLLECT_GCC_OPTIONS='-DLWIP_DEBUG' '-Iprex/include' '-Ilwip/src/include'
'-Ilwip/src/include/ipv4' '-I/home/patrick/src/e7/prex'
'-I/home/patrick/src/e7/prex/usr/include' '-I/home/patrick/src/e7/prex/include'
'-nostdinc' '-fsingle-precision-constant' '-mabi=no-spe' '-gdwarf-2' '-Os'
'-ansi' '-fno-strict-aliasing' '-Wall' '-Wundef' '-Wstrict-prototypes'
'-Wpointer-arith' '-std=gnu99' '-fno-stack-protector' '-Wno-variadic-macros'
'-D__ppc__' '-D__e7__' '-D__ARCH__=ppc' '-D__PLATFORM__=e7' '-Uppc' '-Ue7'
'-fno-omit-frame-pointer' '-DDEBUG' '-g' '-Wsign-compare'
'-Werror-implicit-function-declaration' '-v' '-save-temps' '-MD' '-MT'
'prex/prexeth.o' '-MP' '-MF' '.prexeth.d'
'-I/home/patrick/src/e7/prex/dev/include' '-c' '-o' 'prex/prexeth.o'
 /home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.3.2/cc1 -E
-quiet -nostdinc -v -Iprex/include -Ilwip/src/include -Ilwip/src/include/ipv4
-I/home/patrick/src/e7/prex -I/home/patrick/src/e7/prex/usr/include
-I/home/patrick/src/e7/prex/include -I/home/patrick/src/e7/prex/dev/include -MD
prex/prexeth.d -MF .prexeth.d -MP -MT prex/prexeth.o -DLWIP_DEBUG -D__ppc__
-D__e7__ -D__ARCH__=ppc -D__PLATFORM__=e7 -Uppc -Ue7 -DDEBUG prex/prexeth.c
-mabi=no-spe -ansi -std=gnu99 -Wall -Wundef -Wstrict-prototypes -Wpointer-arith
-Wno-variadic-macros -Wsign-compare -Werror-implicit-function-declaration
-fsingle-precision-constant -fno-strict-aliasing -fno-stack-protector
-fno-omit-frame-pointer -fworking-directory -Os -fpch-preprocess -o prexeth.i
#include ... search starts here:
#include ... search starts here:
 prex/include
 lwip/src/include
 lwip/src/include/ipv4
 /home/patrick/src/e7/prex
 /home/patrick/src/e7/prex/usr/include
 /home/patrick/src/e7/prex/include
 /home/patrick/src/e7/prex/dev/include
End of search list.
COLLECT_GCC_OPTIONS='-DLWIP_DEBUG' '-Iprex/include' '-Ilwip/src/include'
'-Ilwip/src/include/ipv4' '-I/home/patrick/src/e7/prex'
'-I/home/patrick/src/e7/prex/usr/include' '-I/home/patrick/src/e7/prex/include'
'-nostdinc' '-fsingle-precision-constant' '-mabi=no-spe' '-gdwarf-2' '-Os'
'-ansi' '-fno-strict-aliasing' '-Wall' '-Wundef' '-Wstrict-prototypes'
'-Wpointer-arith' '-std=gnu99' '-fno-stack-protector' '-Wno-variadic-macros'
'-D__ppc__' '-D__e7__' '-D__ARCH__=ppc' '-D__PLATFORM__=e7' '-Uppc' '-Ue7'
'-fno-omit-frame-pointer' '-DDEBUG' '-g' '-Wsign-compare'
'-Werror-implicit-function-declaration' '-v' '-save-temps' '-MD' '-MT'
'prex/prexeth.o' '-MP' '-MF' '.prexeth.d'
'-I/home/patrick/src/e7/prex/dev/include' '-c' '-o' 'prex/prexeth.o'
 /home/patrick/src/e7/toolchain/stage2/libexec/gcc/powerpc-eabispe/4.3.2/cc1
-fpreprocessed prexeth.i -quiet -dumpbase prexeth.c -mabi=no-spe -ansi
-auxbase-strip prex/prexeth.o -gdwarf-2 -g -Os -Wall -Wundef
-Wstrict-prototypes -Wpointer-arith -Wno-variadic-macros -Wsign-compare
-Werror-implicit-function-declaration -ansi -std=gnu99 -version
-fsingle-precision-constant -fno-strict-aliasing -fno-stack-protector
-fno-omit-frame-pointer -o prexeth.s
GNU C (GCC) version 4.3.2 (powerpc-eabispe)
compiled by GNU C version 4.2.3 (Ubuntu 4.2.3-2ubuntu7), GMP version
4.2.4, MPFR version 2.3.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: c30b16423d0b6addaa52d5eb1153852d
COLLECT_GCC_OPTIONS='-DLWIP_DEBUG' '-Iprex/include' '-Ilwip/src/include'
'-Ilwip/src/include/ipv4' '-I/home/patrick/src/e7/prex'
'-I/home/patrick/src/e7/prex/usr/include' '-I/home/patrick/src/e7/prex/include'
'-nostdinc' '-fsingle-precision-constant' '-mabi=no-spe' '-gdwarf-2' '-Os'
'-ansi' '-fno-strict-aliasing' '-Wall' '-Wundef' '-Wstrict-prototypes'
'-Wpointer-arith' '-std=gnu99' 

[Bug target/37759] powerpc option -mno-spe still generates SPE instructions

2008-10-06 Thread patrick at motec dot com dot au


--- Comment #1 from patrick at motec dot com dot au  2008-10-07 05:07 
---
Created an attachment (id=16472)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16472action=view)
preprocessed source

after compiling, evstdd and evldd instructions are emitted even though the
-mno-spe flag was specified.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37759