Refs #171. Prevent loading the dirty number from the buffer in sgemv_t x86 kernel.

This commit is contained in:
Zhang Xianyi 2012-12-23 23:14:17 +08:00
parent fd3046b32a
commit 91ed4e4450
1 changed files with 14 additions and 0 deletions

View File

@ -236,6 +236,20 @@
jg .L06
ALIGN_4
//Padding zero to prevent loading the dirty number from buffer.
movl M, I
movl $8, J
andl $7, I
xorps %xmm0, %xmm0
subl I, J
ALIGN_2
.L07:
movss %xmm0, 0 * SIZE(Y1)
addl $SIZE, Y1
decl J
jg .L07
ALIGN_4
.L10:
movl Y, Y1