Fix mis-edits in the gcc-derived power8 caxpy kernel

This commit is contained in:
Martin Kroeker 2019-09-27 00:44:26 +02:00 committed by GitHub
parent c0d570a357
commit 7f58f3ad0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -34,9 +34,9 @@ caxpy_k:
lfs 0,4(10)
fmuls 10,2,10
#ifdef CONJ
fmsubs 11,11,1,10
#else
fmadds 11,11,1,10
#else
fmsubs 11,11,1,10
#endif
fadds 12,12,11
stfs 12,0(10)
@ -241,8 +241,13 @@ caxpy_k:
lfsx 12,8,5
lfsx 0,10,5
fmuls 11,2,11
#ifdef CONJ
fmsubs 12,1,12,11
fsubs 0,0,12
#else
fmadds 12,1,12,11
fadds 0,0,12
#endif
stfsx 0,10,5
ble 7,.L39
sldi 6,6,2