Re: gcc build problem (i386.c) -- missing declaration

2016-09-22 Thread Anton Blanchard
Hi, > extern unsigned hook_uint_void_0 (void); > extern unsigned int hook_uint_mode_0 (machine_mode); > +extern bool hook_uint_uintp_false (unsigned int, unsigned int *); I'm seeing the same build issue on ppc64le, and your patch fixes it. Thanks. Anton

[PATCH] Save an instruction with -mprofile-kernel style profiling

2015-04-15 Thread Anton Blanchard
option in the kernel we plan to support both the old and new behaviour. gcc/ 2015-04-16 Anton Blanchard * config/rs6000/rs6000.c (rs6000_output_function_prologue): No need for -mprofile-kernel to save LR to stack. --- gcc/config/rs6000/rs6000.c | 1 - 1 file changed, 1 deletion

[PATCH] Avoid an unused stack frame for -mprofile-kernel profiling on leaf functions.

2014-09-26 Thread Anton Blanchard
gcc/: 2014-09-25 Anton Blanchard PR target/63354 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New function. * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): Define. --- gcc/config/rs6000/linux64.h | 3 +++ gcc/config/rs6000/rs6000.c | 9

[RS6000] Fix rs6000_adjust_atomic_subword in little-endian mode

2013-06-10 Thread Anton Blanchard
Fixes gcc/testsuite/gcc.dg/sync-2.c * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Calculate correct shift value in little-endian mode. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c