From afd514c25d2a793f7f15e42a50b650305f2d2e67 Mon Sep 17 00:00:00 2001 From: Abdelrauf Date: Wed, 31 Jan 2018 07:49:38 -0800 Subject: [PATCH] small fix inside ifdef z13mvc . (z13mvc code is not used in production) --- kernel/zarch/dcopy.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/zarch/dcopy.c b/kernel/zarch/dcopy.c index 968f63e1b..01aa86bb2 100644 --- a/kernel/zarch/dcopy.c +++ b/kernel/zarch/dcopy.c @@ -27,7 +27,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "common.h" - #if defined(Z13mvc) 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_y],256(%[ptr_y]) \n\t" "brctg %[n_tmp],1b" - : [mem_y] "=m" (*(double (*)[n])y), [n_tmp] "+&r"(n) - : [mem_x] "m" (*(const double (*)[n])x), - [ptr_x] "a"(x), [ptr_y] "a"(y) + : [mem_y] "=m" (*(double (*)[n])y), [n_tmp] "+&r"(n), + [ptr_x] "+&a"(x), [ptr_y] "+&a"(y) + : [mem_x] "m" (*(const double (*)[n])x) : "cc" ); return;