Subject: xine divx player - Error: no such 386 instruction: `pshufw'
To: None <port-i386@netbsd.org>
From: None <zuntum@eik.pl>
List: port-i386
Date: 01/10/2001 23:40:57
Hey,

I'm trying to compile xine (http://xine.sourceforge.net), but I got this error:

zuntum@zunpc:/usr/pkgsrc/x11/xine/work/xine-0.3.5/libmpeg2# make
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..     -static -I../video_out  -mcpu=i386 -Wall -static -O3 -D_FILE_OFFSET_BITS=64 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mwide-multiply  -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions   -I/usr/X11R6/include -c idct_mmx.c
rm -f .libs/idct_mmx.lo
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../video_out -mcpu=i386 -Wall -O3 -D_FILE_OFFSET_BITS=64 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mwide-multiply -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -I/usr/X11R6/include -c  -fPIC -DPIC idct_mmx.c -o .libs/idct_mmx.lo
idct_mmx.c: In function `idct_col':
idct_mmx.c:400: warning: alignment of `_T1' is greater than maximum object file alignment. Using 4.
idct_mmx.c:401: warning: alignment of `_T2' is greater than maximum object file alignment. Using 4.
idct_mmx.c:402: warning: alignment of `_T3' is greater than maximum object file alignment. Using 4.
idct_mmx.c:403: warning: alignment of `_C4' is greater than maximum object file alignment. Using 4.
idct_mmx.c:404: warning: alignment of `scratch0' is greater than maximum object file alignment. Using 4.
idct_mmx.c:404: warning: alignment of `scratch1' is greater than maximum object file alignment. Using 4.
idct_mmx.c: At top level:
idct_mmx.c:538: warning: alignment of `rounder0' is greater than maximum object file alignment. Using 4.
idct_mmx.c:540: warning: alignment of `rounder4' is greater than maximum object file alignment. Using 4.
idct_mmx.c:541: warning: alignment of `rounder1' is greater than maximum object file alignment. Using 4.
idct_mmx.c:543: warning: alignment of `rounder7' is greater than maximum object file alignment. Using 4.
idct_mmx.c:545: warning: alignment of `rounder2' is greater than maximum object file alignment. Using 4.
idct_mmx.c:547: warning: alignment of `rounder6' is greater than maximum object file alignment. Using 4.
idct_mmx.c:549: warning: alignment of `rounder3' is greater than maximum object file alignment. Using 4.
idct_mmx.c:551: warning: alignment of `rounder5' is greater than maximum object file alignment. Using 4.
idct_mmx.c: In function `sse_idct':
idct_mmx.c:659: warning: alignment of `table04' is greater than maximum object file alignment. Using 4.
idct_mmx.c:659: warning: alignment of `table17' is greater than maximum object file alignment. Using 4.
idct_mmx.c:659: warning: alignment of `table26' is greater than maximum object file alignment. Using 4.
idct_mmx.c:659: warning: alignment of `table35' is greater than maximum object file alignment. Using 4.
idct_mmx.c: In function `mmx_idct':
idct_mmx.c:675: warning: alignment of `table04' is greater than maximum object file alignment. Using 4.
idct_mmx.c:675: warning: alignment of `table17' is greater than maximum object file alignment. Using 4.
idct_mmx.c:675: warning: alignment of `table26' is greater than maximum object file alignment. Using 4.
idct_mmx.c:675: warning: alignment of `table35' is greater than maximum object file alignment. Using 4.

{standard input}: Assembler messages:
[...]
{standard input}:346: Error: no such 386 instruction: `pshufw'
{standard input}:440: Error: no such 386 instruction: `pshufw'
[...]

I found documentation on it at http://www.geocities.com/SiliconValley/Heights/1295/nasmdoca.htm#section-A.200,
but it doesn't seem useful.

Any hints/ideas?

-- 
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.net */