[Mplayer-cvslog] CVS: main/mp3lib dct64_sse.s,NONE,1.1
Atmosfear
atmos4 at mplayer.dev.hu
Fri Jul 27 19:25:21 CEST 2001
Update of /cvsroot/mplayer/main/mp3lib
In directory mplayer:/var/tmp.root/cvs-serv16096
Added Files:
dct64_sse.s
Log Message:
First development version of dct64, mixed with 3dnow/k7 and fpu code.
Phases 1 to 3 seem to be ok already, report if you get strange sound with this version (klicks or distorted sound, that doesn't happen with mmx-only version), I've tested with approx. 20 mp3 files which all sounded ok, speed improvement with this version is still very minimal cause more cpu intensive phases 4 and 5 aren't working so I use fpu code for them.
--- NEW FILE ---
# This code is a translation of dct64_k7.s from MPlayer.
# Coded by Felix Buenemann <atmosfear at users.sourceforge.net>
#
# TODO: - fix phases 4 and 5 (sse)
# - optimize scalar FPU code? (interleave with sse code)
#
//.data
// .align 8
//x_plus_minus_3dnow: .long 0x00000000, 0x80000000
//plus_1f: .float 1.0
.text
.align 16
.global dct64_MMX_sse
dct64_MMX_sse:
[...2178 lines suppressed...]
flds 108(%edx)
fadds 124(%edx)
fld %st(0)
fadds 76(%edx)
fistp 288(%edi)
fadds 92(%edx)
fistp 352(%edi)
flds 124(%edx)
fist 480(%edi)
fadds 92(%edx)
fistp 416(%edi)
movsw
addl $256,%esp
popl %edi
popl %esi
popl %ebx
ret $12
// end of FPU stuff
More information about the MPlayer-cvslog
mailing list