Problems with nasm code on AMDs

I found that when SDL (1.2.2) is compiled with --enable-nasm,
plaympeg crashes (with segfault), if i pass --disable-nasm
– problem disappears. The funny thing is that it works fine
on celeron, while it crashes on AMD (tested k5 and duron).

From coredump and so on, I was able to find that cpuid
instruction kills it. I don’t know why (kernel reports it
is available, and it even used it in boot process).

Have you seen such problem before?

(please cc: me, as I’m not on the list)–
: Michal ``,//, ‘’ Moskal | | : GCS {C,UL}++++$
: | |alekith @ |)|(| . org . pl : {E–, W, w-,M}-
: Linux: We are dot in .ORG. | : {b,e>+}++ !tv h
: CurProj: ftp://ftp.pld.org.pl/people/malekith/ksi : PLD Team member