summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-11-07 18:11:32 +0300
committerHeiko Carstens <hca@linux.ibm.com>2024-11-13 16:31:31 +0300
commite7583c5f8d0e0aa34178b6f34a89f81090393c64 (patch)
tree4af412cccd0484a6ba0ed7ce4aa3a15a75c4281a /scripts
parent2f4b3b83b8c6e798a2e581521f00933d0f9ec777 (diff)
downloadlinux-e7583c5f8d0e0aa34178b6f34a89f81090393c64.tar.xz
s390/asm: Helper macros for flag output operand handling
Since gcc supports flag out operands for inline assemblies there is always the question when this feature should be used and if it is worth all the ifdefs that come with that. In order to avoid that provide similar macros like x86 which can be used for all inline assemblies which extract the condition code. Depending on compiler features the generated code will either always contain an ipm+srl instruction pair, which extracts the condition code, or alternatively let the compiler handle this completely. 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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions