projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e003b81
)
changed prefetch order.
author
Xianyi Zhang
<xianyi@iscas.ac.cn>
Fri, 28 Jan 2011 19:03:34 +0000
(
03:03
+0800)
committer
Xianyi Zhang
<xianyi@iscas.ac.cn>
Fri, 28 Jan 2011 19:03:34 +0000
(
03:03
+0800)
kernel/mips64/axpy_loongson3a.S
patch
|
blob
|
history
diff --git
a/kernel/mips64/axpy_loongson3a.S
b/kernel/mips64/axpy_loongson3a.S
index
faa2333
..
2e93612
100644
(file)
--- a/
kernel/mips64/axpy_loongson3a.S
+++ b/
kernel/mips64/axpy_loongson3a.S
@@
-159,7
+159,7
@@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.L12:
PREFETCHD(PREFETCH_DISTANCE*SIZE(X))
- PREFETCHD(
PREFETCH_DISTANCE*SIZE(Y
))
+ PREFETCHD(
(PREFETCH_DISTANCE+4)*SIZE(X
))
MADD t1, b1, ALPHA, a1
MADD t2, b2, ALPHA, a2
@@
-182,7
+182,8
@@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ST t3, 2 * SIZE(Y)
ST t4, 3 * SIZE(Y)
- PREFETCHD((PREFETCH_DISTANCE+4)*SIZE(X))
+
+ PREFETCHD(PREFETCH_DISTANCE*SIZE(Y))
PREFETCHD((PREFETCH_DISTANCE+4)*SIZE(Y))
MADD t1, b5, ALPHA, a5