Re: x86 branches vs conditional moves

2017-07-08 Thread Yuri Gribov
On Sat, Jul 8, 2017 at 12:30 AM, Michael Clark wrote: > Hi, > > Curious about this codegen: > > - https://godbolt.org/g/5XxP5S > > Why does gcc branch on _Bool, but emits a conditional move for an integer? > can it emit cmovne instead of branching? also curious where one would change > this to l

whereis PLUGIN_REGISTER_GGC_CACHES? how to migrate it for GCC v6.x?

2017-07-08 Thread Leslie Zhai
Hi GCC developers, There was PLUGIN_REGISTER_GGC_CACHES pseudo-events for register_callback in GCC v4.x, but how to migrate it for GCC v6.x? there is no PLUGIN_REGISTER_GGC_CACHES deprecated log in ChangeLog-201X nor git log plugin.h... please give me some hint, thanks a lot! -- Regards,

Re: timeouts/malloc failures in ada tests?

2017-07-08 Thread Simon Wright
On 7 Jul 2017, at 22:31, Martin Sebor wrote: > > I see large numbers of timeouts in Ada tests on trunk in parallel > run s (make -j96) on x86_64. Messages like the one below appear > in the logs, suggesting some sort of heap corruption. I'm having > trouble reproducing it outside the rest of th

Re: x86 branches vs conditional moves

2017-07-08 Thread Jeff Law
On 07/08/2017 01:31 AM, Yuri Gribov wrote: > On Sat, Jul 8, 2017 at 12:30 AM, Michael Clark wrote: >> Hi, >> >> Curious about this codegen: >> >> - https://godbolt.org/g/5XxP5S >> >> Why does gcc branch on _Bool, but emits a conditional move for an integer? >> can it emit cmovne instead of branch