assemble with Altivec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've generated a cross-compiler for the PowerPC 7448 using the following
tools:
Binutils 2.19.1 (2/09)
GCC 4.2.4 (5/08)
GDB 6.8 (3/08)
Newlib 1.17 (12/08)

GCC has been configured as follows:
../gcc-4.2.4/configure   --disable-nls
--prefix=/cygdrive/c/cross_compiler/7448_Dec08_tools/CSE
--target=powerpc-eabialtivec --enable-languages=c

When I try to run the assembler on a file with Altivec instructions
(e.g., lvx, stvx), it flags it as an Unrecognized opcode. 
powerpc-eabialtivec-as -mregnames  -I ./Include -I src/
src/BuildInitialTaskStack.s -o o/BuildInitialTaskStack.o
src/BuildInitialTaskStack.s: Assembler messages:
src/BuildInitialTaskStack.s:369: Error: Unrecognized opcode: `lvx'
src/BuildInitialTaskStack.s:371: Error: Unrecognized opcode: `stvx'

If I run the assembler with the -m7450 option, the file compiles fine.
So it seems like Altivec support has not been built into the assembler.

I tried rebuilding the cross-compiler by configuring gcc with the
--with-cpu=7450 option, but it still doesn't work.

Any thoughts?

Thanks,
Dave

***************************
Dave Reiter
Staff Software Engineer
M/S 120-6
Hamilton Sundstrand
4747 Harrison Ave.
Rockford, IL 61108
W: 815-226-2622
F: 860-353-6082



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux