Fix a compute error for strmm.
authortraz <wangqian10@iscas.ac.cn>
Fri, 2 Sep 2011 16:00:04 +0000 (16:00 +0000)
committertraz <wangqian10@iscas.ac.cn>
Fri, 2 Sep 2011 16:00:04 +0000 (16:00 +0000)
kernel/mips64/sgemm_kernel_8x4_ps.S

index 9300254..2da94e5 100644 (file)
 #if ( defined(LEFT) &&  defined(TRANSA)) || (!defined(LEFT) && !defined(TRANSA))
        dsubu   TEMP, K, KK
 #ifdef LEFT
-       daddiu  TEMP, TEMP, 1
+       daddiu  TEMP, TEMP, -1
 #else
-       daddiu  TEMP, TEMP, 2
+       daddiu  TEMP, TEMP, -2
 #endif
        dsll    L, TEMP, BASE_SHIFT
        dsll    TEMP, TEMP, 1 + BASE_SHIFT