Re: Clobber REG_CC only for some constraint alternatives?

2020-08-25 Thread Hans-Peter Nilsson
On Mon, 24 Aug 2020, Jeff Law via Gcc wrote: > On Thu, 2020-08-20 at 21:36 +0530, Senthil Kumar Selvaraj via Gcc wrote: > > The post-reload splitter introduces the clobber. The wiki > > suggests that approach if most insns clobber REG_CC, perhaps because of > > the missed optimizations you describe

Re: Peephole optimisation: isWhitespace()

2020-08-25 Thread Stefan Kanthak
I wrote: > "Richard Biener" wrote: [...] >> Whether or not the branch is predicted taken does not matter, what >> matters is that the continuation is not data dependent on the branch >> target computation and thus can execute in parallel to it. > > My benchmark shows that this doesn't matter!

Re: Does -fstack-protector really need to clear registers?

2020-08-25 Thread Jeff Law via Gcc
On Wed, 2020-08-05 at 18:12 +0100, Richard Sandiford wrote: > PR96191 [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96191] > was a bug raised against the aarch64 implementation of -fstack-protector. > As it happens, the same bug affected arm, but AFAICT those are the only > two affected targets. >

Re: Do all global structure variables escape in IPA-PTA?

2020-08-25 Thread Richard Biener via Gcc
On August 25, 2020 6:36:19 PM GMT+02:00, Erick Ochoa wrote: > > >On 25/08/2020 17:19, Erick Ochoa wrote: >> >> >> On 25/08/2020 17:10, Richard Biener wrote: >>> On August 25, 2020 3:09:13 PM GMT+02:00, Erick Ochoa >>> wrote: Hi, I'm trying to understand how the escape analysis

Re: Do all global structure variables escape in IPA-PTA?

2020-08-25 Thread Erick Ochoa
On 25/08/2020 17:19, Erick Ochoa wrote: On 25/08/2020 17:10, Richard Biener wrote: On August 25, 2020 3:09:13 PM GMT+02:00, Erick Ochoa wrote: Hi, I'm trying to understand how the escape analysis in IPA-PTA works. I was testing a hypothesis where if a structure contains an array of chara

Re: Do all global structure variables escape in IPA-PTA?

2020-08-25 Thread Erick Ochoa
On 25/08/2020 17:10, Richard Biener wrote: On August 25, 2020 3:09:13 PM GMT+02:00, Erick Ochoa wrote: Hi, I'm trying to understand how the escape analysis in IPA-PTA works. I was testing a hypothesis where if a structure contains an array of characters and this array of characters is pass

Re: Question about IPA-PTA and build_alias

2020-08-25 Thread Richard Biener via Gcc
On August 24, 2020 10:00:44 AM GMT+02:00, Erick Ochoa wrote: > > >On 24/08/2020 09:40, Richard Biener wrote: >> On Mon, Aug 17, 2020 at 3:22 PM Erick Ochoa >> wrote: >>> >>> Hello, >>> >>> I'm looking to understand better the points-to analysis (IPA-PTA) >and >>> the alias analysis (build_alias)

Re: Do all global structure variables escape in IPA-PTA?

2020-08-25 Thread Richard Biener via Gcc
On August 25, 2020 3:09:13 PM GMT+02:00, Erick Ochoa wrote: >Hi, > >I'm trying to understand how the escape analysis in IPA-PTA works. I >was >testing a hypothesis where if a structure contains an array of >characters and this array of characters is passed to fopen, the >structure and all subf

Do all global structure variables escape in IPA-PTA?

2020-08-25 Thread Erick Ochoa
Hi, I'm trying to understand how the escape analysis in IPA-PTA works. I was testing a hypothesis where if a structure contains an array of characters and this array of characters is passed to fopen, the structure and all subfields will escape. To do this, I made a program that has a global

Snake Trap

2020-08-25 Thread EPS Environmental via Gcc
Snake Trap catches all snakes, rodents and crowling insects (including poisonous snakes) 20,000 LBP per unit (up to 5 traps with installation) - suitable for Homes 16,000 LBP per unit (up to 20 traps with installation and weekly visit) - suitable for Bakeries, Pastries, Retaurants or Hotels