diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2013-05-22 12:48:18 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2013-05-22 12:48:18 +0000 |
commit | d28073d4fe3c2244be42b5b8b36062ec14bdc26b (patch) | |
tree | 0b5218b973254680b6309863d00232e773c5c08e /gcc | |
parent | 28a595fc801358850b92344878d1fe6055b59693 (diff) | |
download | gcc-d28073d4fe3c2244be42b5b8b36062ec14bdc26b.zip gcc-d28073d4fe3c2244be42b5b8b36062ec14bdc26b.tar.gz gcc-d28073d4fe3c2244be42b5b8b36062ec14bdc26b.tar.bz2 |
rs6000.h (MALLOC_ABI_ALIGNMENT): New #define.
2013-05-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/rs6000.h (MALLOC_ABI_ALIGNMENT): New #define.
From-SVN: r199198
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ffb3c67..ebe67be 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-05-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> + + * config/rs6000/rs6000.h (MALLOC_ABI_ALIGNMENT): New #define. + 2013-05-22 Richard Biener <rguenther@suse.de> PR middle-end/57349 diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 6549347..4c24b56 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -2297,6 +2297,13 @@ extern char rs6000_reg_names[][8]; /* register names (0 vs. %r0). */ /* How to align the given loop. */ #define LOOP_ALIGN(LABEL) rs6000_loop_align(LABEL) +/* Alignment guaranteed by __builtin_malloc. */ +/* FIXME: 128-bit alignment is guaranteed by glibc for TARGET_64BIT. + However, specifying the stronger guarantee currently leads to + a regression in SPEC CPU2006 437.leslie3d. The stronger + guarantee should be implemented here once that's fixed. */ +#define MALLOC_ABI_ALIGNMENT (64) + /* Pick up the return address upon entry to a procedure. Used for dwarf2 unwind information. This also enables the table driven mechanism. */ |