s390x: avoid variable-length arrays in struct for asm operands
authorMarius Hillenbrand <mhillen@linux.ibm.com>
Tue, 1 Sep 2020 10:08:05 +0000 (12:08 +0200)
committerMarius Hillenbrand <mhillen@linux.ibm.com>
Wed, 2 Sep 2020 11:49:31 +0000 (13:49 +0200)
commit87e5bbd88795d09f4bec0691d33f91e8109eb424
treed1fca3783dca92fada6852ae4845436b33f61990
parentb9b3265ec8a78762263f54944e35c849013e0cab
s390x: avoid variable-length arrays in struct for asm operands

... since it is not required and clang does not support that gcc
extension. Instead, use a variable-length array directly for these
operands.

Note that, while the actual inline assembly code does not directly use
these memory operands, they serve to inform the compiler that it cannot
reorder reads or writes to/from the input and output data across the
inline asm statements.

Signed-off-by: Marius Hillenbrand <mhillen@linux.ibm.com>
71 files changed:
kernel/zarch/camax.c
kernel/zarch/camin.c
kernel/zarch/casum.c
kernel/zarch/caxpy.c
kernel/zarch/ccopy.c
kernel/zarch/cdot.c
kernel/zarch/cgemv_n_4.c
kernel/zarch/cgemv_t_4.c
kernel/zarch/crot.c
kernel/zarch/cscal.c
kernel/zarch/csum.c
kernel/zarch/cswap.c
kernel/zarch/damax.c
kernel/zarch/damax_z13.c
kernel/zarch/damin.c
kernel/zarch/damin_z13.c
kernel/zarch/dasum.c
kernel/zarch/daxpy.c
kernel/zarch/dcopy.c
kernel/zarch/ddot.c
kernel/zarch/dgemv_n_4.c
kernel/zarch/dgemv_t_4.c
kernel/zarch/dmax.c
kernel/zarch/dmax_z13.c
kernel/zarch/dmin.c
kernel/zarch/dmin_z13.c
kernel/zarch/drot.c
kernel/zarch/dscal.c
kernel/zarch/dsdot.c
kernel/zarch/dsum.c
kernel/zarch/dswap.c
kernel/zarch/icamax.c
kernel/zarch/icamin.c
kernel/zarch/idamax.c
kernel/zarch/idamin.c
kernel/zarch/idmax.c
kernel/zarch/idmin.c
kernel/zarch/isamax.c
kernel/zarch/isamin.c
kernel/zarch/ismax.c
kernel/zarch/ismin.c
kernel/zarch/izamax.c
kernel/zarch/izamin.c
kernel/zarch/samax.c
kernel/zarch/samin.c
kernel/zarch/sasum.c
kernel/zarch/saxpy.c
kernel/zarch/scopy.c
kernel/zarch/sdot.c
kernel/zarch/sgemv_n_4.c
kernel/zarch/sgemv_t_4.c
kernel/zarch/smax.c
kernel/zarch/smin.c
kernel/zarch/srot.c
kernel/zarch/sscal.c
kernel/zarch/ssum.c
kernel/zarch/sswap.c
kernel/zarch/zamax.c
kernel/zarch/zamax_z13.c
kernel/zarch/zamin.c
kernel/zarch/zamin_z13.c
kernel/zarch/zasum.c
kernel/zarch/zaxpy.c
kernel/zarch/zcopy.c
kernel/zarch/zdot.c
kernel/zarch/zgemv_n_4.c
kernel/zarch/zgemv_t_4.c
kernel/zarch/zrot.c
kernel/zarch/zscal.c
kernel/zarch/zsum.c
kernel/zarch/zswap.c