s390x: replace nop with "nop 0" in inline assembly
... as a bandaid for building with clang until LLVM's internal assembler supports nops without operand. Signed-off-by: Marius Hillenbrand <mhillen@linux.ibm.com>
This commit is contained in:
@@ -169,7 +169,7 @@ static void dgemv_kernel_4x4(BLASLONG n, FLOAT **ap, FLOAT *x, FLOAT *y,
|
||||
"agfi %%r1,32\n\t"
|
||||
"brctg %%r0,2b\n\t"
|
||||
"3:\n\t"
|
||||
"nop"
|
||||
"nop 0"
|
||||
: "+m"(*(struct { FLOAT x[n]; } *) y)
|
||||
: [y] "a"(y), "m"(*(const struct { FLOAT x[n]; } *) ap0),[ap0] "a"(ap0),
|
||||
"m"(*(const struct { FLOAT x[n]; } *) ap1),[ap1] "a"(ap1),
|
||||
@@ -274,7 +274,7 @@ static void dgemv_kernel_4x2(BLASLONG n, FLOAT **ap, FLOAT *x, FLOAT *y,
|
||||
"agfi %%r1,32\n\t"
|
||||
"brctg %%r0,2b\n\t"
|
||||
"3:\n\t"
|
||||
"nop"
|
||||
"nop 0"
|
||||
: "+m"(*(struct { FLOAT x[n]; } *) y)
|
||||
: [y] "a"(y), "m"(*(const struct { FLOAT x[n]; } *) ap0),[ap0] "a"(ap0),
|
||||
"m"(*(const struct { FLOAT x[n]; } *) ap1),[ap1] "a"(ap1),
|
||||
@@ -351,7 +351,7 @@ static void dgemv_kernel_4x1(BLASLONG n, FLOAT *a0, FLOAT *x, FLOAT *y,
|
||||
"agfi %%r1,32\n\t"
|
||||
"brctg %%r0,2b\n\t"
|
||||
"3:\n\t"
|
||||
"nop"
|
||||
"nop 0"
|
||||
: "+m"(*(struct { FLOAT x[n]; } *) y)
|
||||
: [y] "a"(y), "m"(*(const struct { FLOAT x[n]; } *) a0),[a0] "a"(a0),
|
||||
"m"(*(const FLOAT (*)[1]) x),[x] "a"(x),[alpha] "Q"(*alpha),
|
||||
|
||||
Reference in New Issue
Block a user