Browse Source

Merge pull request #1445 from quickwritereader/develop

small fix inside ifdef z13mvc . (z13mvc code is not used in production)
tags/v0.3.0
Martin Kroeker GitHub 7 years ago
parent
commit
e0b02789ff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      kernel/zarch/dcopy.c

+ 2
- 3
kernel/zarch/dcopy.c View File

@@ -27,7 +27,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


#include "common.h" #include "common.h"



#if defined(Z13mvc) #if defined(Z13mvc)


static void dcopy_kernel_32(BLASLONG n, FLOAT *x, FLOAT *y) { static void dcopy_kernel_32(BLASLONG n, FLOAT *x, FLOAT *y) {
@@ -42,9 +41,9 @@ static void dcopy_kernel_32(BLASLONG n, FLOAT *x, FLOAT *y) {
"la %[ptr_x],256(%[ptr_x]) \n\t" "la %[ptr_x],256(%[ptr_x]) \n\t"
"la %[ptr_y],256(%[ptr_y]) \n\t" "la %[ptr_y],256(%[ptr_y]) \n\t"
"brctg %[n_tmp],1b" "brctg %[n_tmp],1b"
: [mem_y] "=m" (*(double (*)[n])y), [n_tmp] "+&r"(n)
: [mem_x] "m" (*(const double (*)[n])x),
: [mem_y] "=m" (*(double (*)[n])y), [n_tmp] "+&r"(n),
[ptr_x] "+&a"(x), [ptr_y] "+&a"(y) [ptr_x] "+&a"(x), [ptr_y] "+&a"(y)
: [mem_x] "m" (*(const double (*)[n])x)
: "cc" : "cc"
); );
return; return;


Loading…
Cancel
Save