Search
lxdream.org :: lxdream/src/sh4/sh4x86.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4x86.in
changeset 904:5b92e51ac06b
prev903:1337c7a7dd6b
next905:4c17ebd9ef5e
author nkeynes
date Wed Oct 29 23:36:31 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Enable the FIPR SSE3 code for now, and add a comment on the sh4r.fr alignment
file annotate diff log raw
1.1 --- a/src/sh4/sh4x86.in Wed Oct 29 23:32:28 2008 +0000
1.2 +++ b/src/sh4/sh4x86.in Wed Oct 29 23:36:31 2008 +0000
1.3 @@ -2238,14 +2238,14 @@
1.4 COUNT_INST(I_FIPR);
1.5 check_fpuen();
1.6 if( sh4_x86.double_prec == 0 ) {
1.7 -/* if( sh4_x86.sse3_enabled ) {
1.8 + if( sh4_x86.sse3_enabled ) {
1.9 MOVAPS_sh4r_xmm( REG_OFFSET(fr[0][FVm<<2]), 4 );
1.10 MULPS_sh4r_xmm( REG_OFFSET(fr[0][FVn<<2]), 4 );
1.11 HADDPS_xmm_xmm( 4, 4 );
1.12 HADDPS_xmm_xmm( 4, 4 );
1.13 MOVSS_xmm_sh4r( 4, REG_OFFSET(fr[0][(FVn<<2)+2]) );
1.14 } else {
1.15 -*/ push_fr( FVm<<2 );
1.16 + push_fr( FVm<<2 );
1.17 push_fr( FVn<<2 );
1.18 FMULP_st(1);
1.19 push_fr( (FVm<<2)+1);
1.20 @@ -2261,7 +2261,7 @@
1.21 FMULP_st(1);
1.22 FADDP_st(1);
1.23 pop_fr( (FVn<<2)+3);
1.24 -// }
1.25 + }
1.26 }
1.27 :}
1.28 FTRV XMTRX, FVn {:
.