Mercurial > mplayer.hg
comparison mp3lib/dct64_3dnow.s @ 1282:175423b2691e
Minor optimization
author | nick |
---|---|
date | Fri, 06 Jul 2001 10:59:14 +0000 |
parents | 3a9699d9e7da |
children |
comparison
equal
deleted
inserted
replaced
1281:e2db5d18f413 | 1282:175423b2691e |
---|---|
541 punpckhdq %mm1, %mm2 | 541 punpckhdq %mm1, %mm2 |
542 movq %mm0, 40(%edx) | 542 movq %mm0, 40(%edx) |
543 movq %mm2, 72(%edx) | 543 movq %mm2, 72(%edx) |
544 | 544 |
545 movd 48(%ecx), %mm3 | 545 movd 48(%ecx), %mm3 |
546 movd 60(%ecx), %mm2 | |
546 pfsub 52(%ecx), %mm3 | 547 pfsub 52(%ecx), %mm3 |
548 pfsub 56(%ecx), %mm2 | |
547 pfmul 120(%ebx), %mm3 | 549 pfmul 120(%ebx), %mm3 |
548 | |
549 movd 60(%ecx), %mm2 | |
550 pfsub 56(%ecx), %mm2 | |
551 pfmul 120(%ebx), %mm2 | 550 pfmul 120(%ebx), %mm2 |
552 movq %mm2, %mm1 | 551 movq %mm2, %mm1 |
553 | 552 |
554 pfadd 56(%ecx), %mm1 | 553 pfadd 56(%ecx), %mm1 |
555 pfadd 60(%ecx), %mm1 | 554 pfadd 60(%ecx), %mm1 |
581 movd 80(%ecx), %mm0 | 580 movd 80(%ecx), %mm0 |
582 pfsub 84(%ecx), %mm0 | 581 pfsub 84(%ecx), %mm0 |
583 pfmul 120(%ebx), %mm0 | 582 pfmul 120(%ebx), %mm0 |
584 pfadd %mm0, %mm1 | 583 pfadd %mm0, %mm1 |
585 pfadd 92(%edx), %mm0 | 584 pfadd 92(%edx), %mm0 |
586 movd %mm0, 84(%edx) | 585 punpckldq %mm1, %mm0 |
587 movd %mm1, 88(%edx) | 586 movq %mm0, 84(%edx) |
588 | 587 |
589 movq 96(%ecx), %mm0 | 588 movq 96(%ecx), %mm0 |
590 movq %mm0, %mm1 | 589 movq %mm0, %mm1 |
591 pxor %mm7, %mm1 | 590 pxor %mm7, %mm1 |
592 pfacc %mm1, %mm0 | 591 pfacc %mm1, %mm0 |
616 movd 112(%ecx), %mm0 | 615 movd 112(%ecx), %mm0 |
617 pfsub 116(%ecx), %mm0 | 616 pfsub 116(%ecx), %mm0 |
618 pfmul 120(%ebx), %mm0 | 617 pfmul 120(%ebx), %mm0 |
619 pfadd %mm0,%mm1 | 618 pfadd %mm0,%mm1 |
620 pfadd 124(%edx), %mm0 | 619 pfadd 124(%edx), %mm0 |
621 movd %mm0, 116(%edx) | 620 punpckldq %mm1, %mm0 |
622 movd %mm1, 120(%edx) | 621 movq %mm0, 116(%edx) |
623 | 622 |
624 jnz .L01 | 623 jnz .L01 |
625 | 624 |
626 /* Phase 7*/ | 625 /* Phase 7*/ |
627 /* Code below is coded in scalar mode. Should be optimized */ | 626 /* Code below is coded in scalar mode. Should be optimized */ |
917 addl $256,%esp | 916 addl $256,%esp |
918 femms | 917 femms |
919 popl %edi | 918 popl %edi |
920 popl %esi | 919 popl %esi |
921 popl %ebx | 920 popl %ebx |
922 ret $12 | 921 ret $12 |
923 | |
924 |