S390: Increase function alignment to 16 bytes.

Set the default function alignment to 16 bytes in order to
get rid of some unwanted performance effects.

Please see also GCC commit "S/390: Set default function
alignment to 16." (Subversion revision 262817)

ChangeLog:

	* sysdeps/s390/s390-64/sysdep.h(ENTRY): Use alignment of 16byte.
	* sysdeps/s390/s390-32/sysdep.h: Likewise.
This commit is contained in:
Stefan Liebler 2019-03-04 10:48:42 +01:00
parent 31effacee2
commit ce6ddae036
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2019-03-04 Stefan Liebler <stli@linux.ibm.com>
* sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
* sysdeps/s390/s390-32/sysdep.h: Likewise.
2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
[BZ #24162]

View File

@ -32,7 +32,7 @@
#define ENTRY(name) \
.globl C_SYMBOL_NAME(name); \
.type C_SYMBOL_NAME(name),@function; \
.align ALIGNARG(2); \
.align ALIGNARG(4); \
C_LABEL(name) \
cfi_startproc; \
CALL_MCOUNT

View File

@ -32,7 +32,7 @@
#define ENTRY(name) \
.globl C_SYMBOL_NAME(name); \
.type C_SYMBOL_NAME(name),@function; \
.align ALIGNARG(2); \
.align ALIGNARG(4); \
C_LABEL(name) \
cfi_startproc; \
CALL_MCOUNT