This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
MIPS64: Fix dnrm2_tiny testcase failure
tags/v0.3.21
gxw
3 years ago
parent
4cfd6f110a
commit
cce4b1d956
1 changed files
with
9 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
kernel/mips64/dnrm2.S
+ 9
- 0
kernel/mips64/dnrm2.S
View File
@@ -68,6 +68,7 @@
#define ALPHA $f16
#define max $f17
#define INF $f18
PROLOGUE
@@ -86,6 +87,11 @@
move XX, X
NOP
//Init INF
lui TEMP, 0x7FF0
dsll TEMP, TEMP, 32
MTC1 TEMP, INF
LD a1, 0 * SIZE(X)
daddiu N, N, -1
@@ -255,6 +261,9 @@
div.d ALPHA, ALPHA, s1
MOV max, s1
CMPEQ $fcc0, ALPHA, INF
bc1t $fcc0, .L999
MOV s1, a1
MOV s2, a1
MOV s3, a1
Write
Preview
Loading…
Cancel
Save