f



GCC 3.2.2 mmx compiler issue and question

    Hi,

    I am using the intrinsic instructions on gcc 3.2.2 to use the MMX
registers and instructions, I seem to have an issue when compiling here isa
simple bit of code I did to test this:

     __m64 a,b,c;

  a = _mm_set_pi16(1, -1, 5, -20);
  b = _mm_set_pi16(5, 8, 5, -20);
  c = _mm_add_pi16 (a,b);

    Everything untill here is fine to move 4 shorts into a 64bit mmx
register or vector. and the add seems to compile fine, but my problem is to
get those back onto 4 short variables again.

    I try to use the intrinsic static "__inline int _mm_cvtsi64_si32 (__m64
__i)"
    To get the lower 32 bits into an integer variable, but it seems to crash
the compiler, here is the error.

[root@embedded0002 dtmfData]# make
g++  -O3 -mmmx  -c -o dtmf_detect.o dtmf_detect.cpp
dtmf_detect.cpp: In constructor `dtmfDetect::dtmfDetect()':
dtmf_detect.cpp:202: Internal compiler error in find_reloads_toplev, at
   reload.c:4439
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make: *** [dtmf_detect.o] Error 1
[root@embedded0002 dtmfData]#

    Would anyone be able to help on how to get the 4 short variables on the
mmx register c back to 4
variables as efficiently as possible?.

    Thanks in advance.

    Nacmir
0
imiranda (1)
8/24/2003 3:18:57 AM
comp.compilers 3310 articles. 1 followers. Post Follow

0 Replies
655 Views

Similar Articles

[PageSpeed] 29

Reply:

Similar Artilces:

compiling gcc 3.2.3 on aix 4.3.2 using gcc 3.2.1
All, I am trying to compile gcc-3.2.3 on aix-4.3.2 using a prebuilt gcc-3.2.1. I am using GNU make, native as,ar,ld. There are the errors I get. Can anyone help? thx balaji $ gmake bootstrap gmake[1]: Entering directory `/mnt/gcc-3.2.3/aix/libiberty' gmake[2]: Entering directory `/mnt/gcc-3.2.3/aix/libiberty/testsuite' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/mnt/gcc-3.2.3/aix/libiberty/testsuite' gmake[1]: Leaving directory `/mnt/gcc-3.2.3/aix/libiberty' gmake[1]: Entering directory `/mnt/gcc-3.2.3/aix/zlib' : gmake ; exec true "AR_...

Compiling GCC 3.2.3 under GCC 4.0.2
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323584-709223647-1139165831=:11204 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Hi. I have been trying like crazy to compile a second gcc compiler under=20 gcc 4.0.2. I downloaded the gcc 3.2.3 source and everything works alright= =20 until I try to compile a bootstrap for the compiler.=20 When I run 'make bootstrap', which is supposed to compile the gcc=20 compiler, it quits afte...

using gcc 3.2.2-5 to compile glibc-2.2.93
Hi, Sorry if this is not the appropriate group or my question has already been posted. I wonder if anybody has experienced building glibc-2.2.93 with gcc-3.2.2. I currently using gcc-3.2.2-5, with glibc-2.3.2-27.9.7 on a RH9.0. The glibc i am trying to build as a test glibc is 2.2.93. Here is what i did: % unset LD_LIBRARY_PATH % export CFLAGS="-s -Os -fomit-frame-pointer -Wall -march=i686 -funroll-loops" % ./configure --enable-add-ons --prefix=/usr/i686-glibc-2.2.93/ % make Segmentation The failing point seems to be in iconv....

Problems compiling programs using wxWindows 2.2.9 using GCC-3.2.3
PLATFORM: Windows XP COMPILER: g++ Version 3.2.3 wxWINDOWS VERSION: wxWindows 2.2.9 Hi: I have successfully compiled wxWindows 2.2.9 on MinGW-3.0.0-rc4 [GCC Version 3.2.3] after commenting out the compilation of dynlib.cpp and fontenum.cpp (error at line 155) in the makefile.g95. The 2 source files were causing compilation errors which caused make to exit with an errnum of 1. My problem is this. A sample "Hello, World!" program - basic.cpp - fails during linking: C:\myzz>make 2>err g++ --pipe -c -D_X86_=1 -DWIN32 -D_WIN32 -DWINVER=0x0400 -D__WIN95__ -D__...

4.2.52 compile error on C++ module on AIX 5.2 using gcc 3.3.2
Would someone happen to have some ideas as why this is getting an error. Get the same problem using IBM's C compiler v 6.0. Thanks /bin/sh ./libtool --mode=compile g++ -c -I. -I../dist/.. -D_THREAD_SAFE -O2 ../dist/../cxx/cxx_d b.cpp g++ -c -I. -I../dist/.. -D_THREAD_SAFE -O2 ../dist/../cxx/cxx_db.cpp -DPIC -o .libs/cxx_db.o In file included from /cmDevTest/Dev/local/bin/../include/c++/3.3.2/powerpc-ibm-aix5.2.0.0/bits/c ++io.h:35, from /cmDevTest/Dev/local/bin/../include/c++/3.3.2/bits/fpos.h:44, from /cmDevTest/Dev/local/bin/../incl...

Problem compiling Octave 2.1.50 on Solaris 2.8 con gcc 3.4.2 #2
Dear everybody I have a problem compiling octave on Solaris 8 I have got this compiling error: DiagArray2.h: In constructor `DiagArray2<T>::DiagArray2(T*, int, int)': DiagArray2.h:120: error: there are no arguments to `set_max_indices' that depend on a template parameter, so a declaration of `set_max_indices' must be available DiagArray2.h: In constructor `DiagArray2<T>::DiagArray2()': DiagArray2.h:129: error: there are no arguments to `set_max_indices' that depend on a template parameter, so a declaration of `set_max_indices' must be available DiagArray...

Re: Informix4GL no longer compiles on Linux 2.6 kernel with gcc 3.3.3 #2
Hi, The `mktemp', `__ctype_b', `__ctype_toupper' errors that you seem to be getting, were all resolved in the last release of 4GL on Linux - version 7.32.xC2. Please use passport advantage to download the latest version. If you still have support, you should be able to ask for patches from Tech Support, if upgrading to the latest version is an issue ( though I would not entirely recommend a patch). An upgrade would be a better option. Thanks and Regards, Abhi. -------------------------------------------------------------------- There are 10 ...

INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
# gmake cd include && gmake all gmake[1]: Entering directory `/local/app/inn-2.4.2/include' .../support/mksystem /usr/bin/awk config.h > inn/system.h .../support/mkversion '2.4.2' '' > inn/version.h gmake[1]: Leaving directory `/local/app/inn-2.4.2/include' cd lib && gmake all gmake[1]: Entering directory `/local/app/inn-2.4.2/lib' gcc -g -O2 -I../include -c setproctitle.c In file included from ../include/inn/defines.h:50, from ../include/config.h:20, from setproctitle.c:15: /usr/include/stdbool.h:42:...

RedHat 9 / GCC 3.2.2
I looked for an FAQ, but no luck. When I build Florist 3.14p or 3.15p with gcc 3.2.2, I get a range error: gcc -c -O2 -gnatpg deps.adb posix-signals.ads:121:33: warning: static value out of range of type "Signal" defined at line 57 posix-signals.ads:121:33: warning: "CONSTRAINT_ERROR" will be raised at run time gnatmake: "deps.adb" compilation error make: *** [deps] Error 4 I'm a little rusty at Ada, but looking at the code: From 'posix-c.ads': SIGRTMAX : constant := 64; SIGRTMIN : constant := 34; NSIGS : constant := 63; From ...

Problem compiling Octave 2.1.50 on Solaris 2.8 con gcc 3.4.2
Dear everybody I have a problem compiling octave on Solaris 8 I have got this compiling error: DiagArray2.h: In constructor `DiagArray2<T>::DiagArray2(T*, int, int)': DiagArray2.h:120: error: there are no arguments to `set_max_indices' that depend on a template parameter, so a declaration of `set_max_indices' must be available DiagArray2.h: In constructor `DiagArray2<T>::DiagArray2()': DiagArray2.h:129: error: there are no arguments to `set_max_indices' that depend on a template parameter, so a declaration of `set_max_indices' must be available DiagArray...

[ace-bug] Compile ACE 5.4 on AIX 5.2 with gcc 3.3.2
Failed to build ACE 5.4 on AIX 5.2 with gcc3.3.2 Used config-aix5.1.h and platform_aix_g++.GNU I failed with ACE5.1, 5.3 too, so I tried 5.4. Does anybody know IF it works ? Could it help to build my own AIX5.2 gcc ? (my gcc 3.3.2 is binary AIX 5.1 but it worked fine for Non-ACE- applications) Do I have to use IBM Visual C++ Compiler ? Any suggestions would be helpful. ACE VERSION: 5.4 HOST MACHINE and OPERATING SYSTEM: RS/6000, 32-bit-kernel mode, AIX5.2 TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): ...

Puzzle: make new compilers understand what g++ 2.95.3 compiled #2
When language changes make old code uncompilable, that's not what is called protection of investment. New compilers (g++ > 3.2.3) reject classes where methods throw the class they belong to. gcc 2.95.3 allowed it. What are the minimal modification, that leave the usage of the class sound and can be compiled by newer compilers. Thank you ( compile the following code with s.th. like g++ -g -o Exception Exception.cpp -lstlport_gcc ) #include "iostream" class Exception { public: Exception(int); void setErrNo(int i) throw(Exception); int errNo; }; Exception::Exceptio...

libc-2.3.3 and gcc-3.4.3 cross compiler
We are running embedded linux-2.4.21 on an ARM9 processor (Cirrus Logic with MaverickCrunch math coprocessor) and I have successfully cross-compiled a gnu toolchain on Windows (cygwin), Linux, and Solaris 2.8 (sparc). I am able to cross-build binaries on all platforms and run them on the ARM9 so it looks as if everything is running fine. My question is that the (glibc) libc-2.3.3.so that was built on Windows and Solaris is a different size from the one built on Linux and the one that is actually residing on the ARM9 board. I listed the maps (arm-linux-nm and sort) and notice...

[ace-users] RE: [ace] compile error in mingw 3.2-rc1 (or w32api-3.2) #2
Hi, > I tried to compile with newly released Mingw-runtime 3.7, and it > finished successfully. thanks for your concern about this problem. Thanks for the confirmation. Regards, Johnny Willemsen Remedy IT Leeghwaterstraat 25 2811 DT Reeuwijk The Netherlands www.theaceorb.nl / www.remedy.nl ...

Web resources about - GCC 3.2.2 mmx compiler issue and question - comp.compilers

Compiler - Wikipedia, the free encyclopedia
... , or external linking . The most common reason for wanting to transform source code is to create an executable program. The name "compiler" ...

Compiler - Wikipedia, the free encyclopedia
"Compile" and "compiling" redirect here. For the software company, see Compile (publisher) . For other uses, see Compilation . This article has ...

Facebook Open-Sources HipHop PHP Compiler Software
Earlier this morning, Facebook officially made their new PHP “compiler,” called HipHop, available as open source software. In the blog post by ...

Art in the Age of Matter Compilers
jurvetson posted a photo: Sheba may be the harbinger of art in the digital age — a mathematical sculptor with digital matter. She manipulates ...

Interpreters and Compilers (Bits and Bytes, Episode 6) - YouTube
This animation explains the difference between interpreters and compilers. It is from Episode 6 of the classic 1983 television series, Bits and ...

Typesafe cofounder forking Scala compiler
The main contributor to the Scala compiler, Paul Phillips, has announced on GitHub that he is forking the compiler to “fix some of the innumerable ...

Does Apple's new developer agreement ban Adobe's Flash-to-iPhone compiler?
Given that any kind of formal truce between Apple and Adobe was essentially blown out of the water by Steve Job's very public slating of Flash ...

Apple seeds devs with Safari 5.2 for Lion, Xcode 4.4 with new LLVM compiler
... to the general public this summer. Among the new features: According to Apple, Xcode 4.4 includes an editor for Collada 3D files, compiler support ...

NVIDIA and Continuum Analytics Announce NumbaPro, A Python CUDA Compiler
... are announcing that they are bringing Python support to CUDA. Specifically, Continuum Analytics’ will be introducing a new Python CUDA compiler, ...

IntelliJ Releases IDEA 12, Brings Improved UI, New Compiler Mode, Android UI Designer, And More
I'm not going to pretend to be a developer here, and I'll openly admit that the bulk of what IDEA 12 does is over my head. However, I do understand ...

Resources last updated: 1/24/2016 6:38:36 AM