]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
S390: Increase function alignment to 16 bytes.
authorStefan Liebler <stli@linux.ibm.com>
Mon, 4 Mar 2019 09:48:42 +0000 (10:48 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Mon, 4 Mar 2019 09:48:42 +0000 (10:48 +0100)
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.

ChangeLog
sysdeps/s390/s390-32/sysdep.h
sysdeps/s390/s390-64/sysdep.h

index cb439258d6d63f4e04aefba3c614988f45fe0efe..fb092bad91627ccf05b4915eda9cb7846fb558f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
index 6605dde237219dbc7f084517ad44f6172c1b39b3..4a441e12043f03f6447e42591341cc78f377ce96 100644 (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
index 99dbf3f444ba8e264eec46eedc50e8a0414983e4..0531fa58231236b112e8c72743efe6732af4fe4e 100644 (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