]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390: Remove superfluous new lines from inline assemblies
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 11 Dec 2024 11:58:03 +0000 (12:58 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sun, 15 Dec 2024 15:19:03 +0000 (16:19 +0100)
commit7c7f32c9ee8ecd626dffc28be601b37c111ebd60
tree6e090f4673157f1039b9d8cd01b64ad81b7789fa
parent2ca248f52afa4f55fd3fc2e7c5e123385b192f14
s390: Remove superfluous new lines from inline assemblies

GCC uses the number of lines of an inline assembly to calculate its length
(number of instructions). This has an impact on GCCs inlining decisions.

Therefore remove superfluous new lines from a couple of inline
assemblies, so that their real size is reflected.

Also use an "asm inline" statement for the fpu_lfpc_safe() inline assembly
to enforce that GCC assumes the minimum size for this inline assembly,
since it contains various statements which make it appear much larger than
the resulting code is.

Suggested-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Juergen Christ <jchrist@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/atomic_ops.h
arch/s390/include/asm/checksum.h
arch/s390/include/asm/fpu-insn.h