Commit 321aa5df authored by thomas dettbarn's avatar thomas dettbarn
Browse files

closer, but more bit errors.

parent a8d2f063
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1078,8 +1078,8 @@ static void biDiagonalReductionRight_fx(
            invVal_e = 0;
            move16();
            invVal = BASOP_Util_Divide3232_Scale_newton( abs_x, maxWithSign_fx( r ), &invVal_e );
		printf("invVal_e:%d abs_x_e:%d singularVectors2_e[currChannel][jCh]:%d r_e:%d\n",invVal_e,abs_x_e,singularVectors2_e[currChannel][idx], r_e );
            invVal_e = add(invVal_e, sub( abs_x_e,r_e ) );
		printf("r:%08X<%2x::   ",r,r_e);
		printf("\x1b[1;37;43m secdiag: ");
            FOR( jCh = idx; jCh < nChannelsC; jCh++ ) /* nChannelsC */
            {
@@ -1090,7 +1090,7 @@ static void biDiagonalReductionRight_fx(
//                move16();
                secDiag[jCh] = Mpy_32_32( singularVectors[currChannel][jCh], invVal ); /* exp(sing_exp + (singularVectors_e - sig_x_e) */
                move32();
                secDiag_exp[jCh] = add( invVal_e, sub( singularVectors2_e[currChannel][jCh], r_e ) );
                secDiag_exp[jCh] = add( invVal_e, singularVectors2_e[currChannel][jCh] );
                move16();
		printf("%08X<%2x  ",secDiag[jCh],secDiag_exp[jCh]);