Re: [CinCVS] about assembler errors in mmx code

2007-07-19 Thread Mark Carter
I've been trying to get cinelerra 3 compiling, so far without success. It's 
going wrong at:

 gcc -DHAVE_CONFIG_H -I. -I../../../.. 
-I../../../../../pipapo.org/quicktime/ffmpeg/libavcodec/i386 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MMX 
-DUSE_MMX -DX86_CPU -DHAVE_MMX -msse -DHAVE_BUILTIN_VECTOR -O3 -D_GNU_SOURCE 
-DHAVE_AV_CONFIG_H 
-I../../../../../pipapo.org/quicktime/ffmpeg/libavcodec/i386/../.. -I../.. -O0 
-g -MT fdct_mmx.lo -MD -MP -MF .deps/fdct_mmx.Tpo -c 
../../../../../pipapo.org/quicktime/ffmpeg/libavcodec/i386/fdct_mmx.c -o 
.libs/fdct_mmx.o
/tmp/cccnRJUy.s: Assembler messages:
/tmp/cccnRJUy.s:1990: Error: suffix or operands invalid for `pshufw'

I've used cinconf.sh , as suggested on a webpage whose location I can't 
currently recall.

It seems a bit puzzling that changing the optimisation level should suddenly 
make the code compilable. Sounds like somebody went looking for trouble, and it 
found them.

- Original Message 
From: Rafael Diniz [EMAIL PROTECTED]
To: cinelerra@skolelinux.no
Sent: Wednesday, 18 July, 2007 12:05:56 AM
Subject: [CinCVS] about assembler errors in mmx code


Hi all,
Because of the scarcity of registers in i386, the files of
quicktime/ffmpeg/libavcodec/i386
should never be compiled w/ -O0 (O2 and O3 works ok).
libavcodec compile this way, and we could try to modify the Makefiles to
avoid using CFLAGS and CXXFLAGS in the libavcodec mmx optimized code.

bye,
rafael diniz

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


  ___ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today 
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 

Re: [CinCVS] about assembler errors in mmx code

2007-07-19 Thread Rafael Diniz
ok, look in the compilation line:
-O0
As I said, no do use any FLAG (!= O3) for compiling the mmx code...
so, your cinconf.sh is not ok...
remove any -O0 in the script.

bye,
rafael diniz

On Thu, July 19, 2007 2:32 am, Mark Carter wrote:
 I've been trying to get cinelerra 3 compiling, so far without success.
 It's going wrong at:


 gcc -DHAVE_CONFIG_H -I. -I../../../..
 -I../../../../../pipapo.org/quicktime/ffmpeg/libavcodec/i386
 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 -DHAVE_MMX -DUSE_MMX -DX86_CPU -DHAVE_MMX -msse -DHAVE_BUILTIN_VECTOR -O3
 -D_GNU_SOURCE -DHAVE_AV_CONFIG_H
 -I../../../../../pipapo.org/quicktime/ffmpeg/libavcodec/i386/../..
 -I../.. -O0 -g -MT fdct_mmx.lo -MD -MP -MF .deps/fdct_mmx.Tpo -c
 ../../../../../pipapo.org/quicktime/ffmpeg/libavcodec/i386/fdct_mmx.c -o
 .libs/fdct_mmx.o
 /tmp/cccnRJUy.s: Assembler messages:
 /tmp/cccnRJUy.s:1990: Error: suffix or operands invalid for `pshufw'


 I've used cinconf.sh , as suggested on a webpage whose location I can't
 currently recall.

 It seems a bit puzzling that changing the optimisation level should
 suddenly make the code compilable. Sounds like somebody went looking for
 trouble, and it found them.

 - Original Message 
 From: Rafael Diniz [EMAIL PROTECTED]
 To: cinelerra@skolelinux.no
 Sent: Wednesday, 18 July, 2007 12:05:56 AM
 Subject: [CinCVS] about assembler errors in mmx code



 Hi all,
 Because of the scarcity of registers in i386, the files of
 quicktime/ffmpeg/libavcodec/i386 should never be compiled w/ -O0 (O2 and O3
 works ok). libavcodec compile this way, and we could try to modify the
 Makefiles to
 avoid using CFLAGS and CXXFLAGS in the libavcodec mmx optimized code.

 bye, rafael diniz

 ___
 Cinelerra mailing list
 Cinelerra@skolelinux.no
 https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra



 ___
 Yahoo! Mail is the world's favourite email. Don't settle for less, sign up
 for your free account today
 http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.
 html


___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCVS] about assembler errors in mmx code

2007-07-17 Thread Rafael Diniz
Hi all,
Because of the scarcity of registers in i386, the files of
quicktime/ffmpeg/libavcodec/i386
should never be compiled w/ -O0 (O2 and O3 works ok).
libavcodec compile this way, and we could try to modify the Makefiles to
avoid using CFLAGS and CXXFLAGS in the libavcodec mmx optimized code.

bye,
rafael diniz

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCVS] about assembler errors in mmx code

2007-07-17 Thread giskard
Il giorno mar, 17/07/2007 alle 16.05 -0700, Rafael Diniz ha scritto:
 Hi all,
 Because of the scarcity of registers in i386, the files of
 quicktime/ffmpeg/libavcodec/i386
 should never be compiled w/ -O0 (O2 and O3 works ok).
 libavcodec compile this way, and we could try to modify the Makefiles to
 avoid using CFLAGS and CXXFLAGS in the libavcodec mmx optimized code.
 
 bye,
 rafael diniz

it should not so difficult. I can take a look at this. 
-- 
ciao,
giskard


signature.asc
Description: Questa รจ una parte del messaggio	firmata digitalmente