Re: [PATCH][AArch64][1/2] Implement TARGET_ESTIMATED_POLY_VALUE

2018-12-07 Thread Richard Sandiford
"Kyrill Tkachov" writes: > diff --git a/gcc/config/aarch64/aarch64-protos.h > b/gcc/config/aarch64/aarch64-protos.h > index > 1fe1a50d52aeb3719cf30c4a2af41abb8dd7233d..fa3c247f0773e1d4101b6209b6b7ba6cd50f82eb > 100644 > --- a/gcc/config/aarch64/aarch64-protos.h > +++ b/gcc/config/aarch64/aarch6

[PATCH][AArch64][1/2] Implement TARGET_ESTIMATED_POLY_VALUE

2018-12-07 Thread Kyrill Tkachov
Hi all, The hook TARGET_ESTIMATED_POLY_VALUE allows a target to give an estimate for a poly_int run-time value. It is used exclusively in tuning decisions, things like estimated loop iterations, probabilities etc. It is not relied on for correctness. If we know the SVE width implemented in har