Here's what I did based on your suggestion:
$ ./configure --prefix=/mingw --enable-nasm --disable-gtktest --disable-decoder
CFLAGS="-march=athlon-xp -O3 -pipe -ffast-math -fomit-frame-pointer -fsched-sp
ec-load -fforce-addr -mtune=athlon-xp" CXXFLAGS="-march=athlon-xp -O3 -pipe -ff
ast-math -fomit-frame-pointer-fsched-spec-load -fforce-addr -mtune=athlon-xp";
make CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp"; make install
It gives me lame.exe okay, but when I compare the output to the icl version of lame I got from rarewares.org, mine seems to be lacking the "CPU features: MMX (ASM used), 3DNow! (ASM used), SSE" line that the intel build has... here's the output from my build:
D:\incoming>lame test.wav --alt-preset extreme
LAME version 3.96.1 (http://lame.sourceforge.net/)
Using polyphase lowpass filter, transition band: 19383 Hz - 19916 Hz
Encoding test.wav to test.wav.mp3
Encoding as 44.1 kHz VBR(q=0) j-stereo MPEG-1 Layer III (ca. 5.7x) qval=3
And here's the output from the ICL build from rarewares.org:
D:\incoming>lame test.wav --alt-preset extreme
LAME version 3.96.1 (http://lame.sourceforge.net/)
CPU features: MMX (ASM used), 3DNow! (ASM used), SSE
Using polyphase lowpass filter, transition band: 19383 Hz - 19916 Hz
Encoding test.wav to test.mp3
Encoding as 44.1 kHz VBR(q=0) j-stereo MPEG-1 Layer III (ca. 5.7x) qval=3