From ce6ddae03639529d5ca3a9eebb2d8b02bfd2ea97 Mon Sep 17 00:00:00 2001 From: Stefan Liebler Date: Mon, 4 Mar 2019 10:48:42 +0100 Subject: 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. --- sysdeps/s390/s390-32/sysdep.h | 2 +- sysdeps/s390/s390-64/sysdep.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/s390') diff --git a/sysdeps/s390/s390-32/sysdep.h b/sysdeps/s390/s390-32/sysdep.h index 6605dde..4a441e1 100644 --- a/sysdeps/s390/s390-32/sysdep.h +++ b/sysdeps/s390/s390-32/sysdep.h @@ -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 diff --git a/sysdeps/s390/s390-64/sysdep.h b/sysdeps/s390/s390-64/sysdep.h index 99dbf3f..0531fa5 100644 --- a/sysdeps/s390/s390-64/sysdep.h +++ b/sysdeps/s390/s390-64/sysdep.h @@ -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 -- cgit v1.1