Skip to content

Commit afd514c

Browse files
small fix inside ifdef z13mvc . (z13mvc code is not used in production)
1 parent f946a89 commit afd514c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

kernel/zarch/dcopy.c

Lines changed: 3 additions & 4 deletions
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),
47-
[ptr_x] "a"(x), [ptr_y] "a"(y)
44+
: [mem_y] "=m" (*(double (*)[n])y), [n_tmp] "+&r"(n),
45+
[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)