Skip to content

Commit e0b0278

Browse files
authored
Merge pull request #1445 from quickwritereader/develop
small fix inside ifdef z13mvc . (z13mvc code is not used in production)
2 parents 25c7e39 + 60596a1 commit e0b0278

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

kernel/zarch/dcopy.c

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2727

2828
#include "common.h"
2929

30-
3130
#if defined(Z13mvc)
3231

3332
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) {
4241
"la %[ptr_x],256(%[ptr_x]) \n\t"
4342
"la %[ptr_y],256(%[ptr_y]) \n\t"
4443
"brctg %[n_tmp],1b"
45-
: [mem_y] "=m" (*(double (*)[n])y), [n_tmp] "+&r"(n)
46-
: [mem_x] "m" (*(const double (*)[n])x),
44+
: [mem_y] "=m" (*(double (*)[n])y), [n_tmp] "+&r"(n),
4745
[ptr_x] "+&a"(x), [ptr_y] "+&a"(y)
46+
: [mem_x] "m" (*(const double (*)[n])x)
4847
: "cc"
4948
);
5049
return;

0 commit comments

Comments
 (0)