Re: PowerPC long double Mangling

2020-09-14 Thread Michael Meissner via Gcc
On Wed, Sep 09, 2020 at 02:42:36PM +0100, Jonathan Wakely wrote: > Sorry for the slow reply to this. > > On Fri, 7 Aug 2020 at 22:14, Michael Meissner wrote: > > > > One issue with doing the transition is what mangling should be used with the > > new long double. > > > > At the moment, the curren

Re: A problem with one instruction multiple latencies and pipelines

2020-09-14 Thread Segher Boessenkool
On Mon, Sep 14, 2020 at 08:35:44PM +0100, Richard Sandiford wrote: > Segher Boessenkool writes: > >> Although this looks/sounds complicated, the advantage is that everything > >> remains up-to-date. If we instead added a second attribute and only > >> defined it for instructions like *add__, othe

Re: A problem with one instruction multiple latencies and pipelines

2020-09-14 Thread Richard Sandiford
Segher Boessenkool writes: >> Although this looks/sounds complicated, the advantage is that everything >> remains up-to-date. If we instead added a second attribute and only >> defined it for instructions like *add__, other instructions >> (including config/arm instructions) would still have type

Re: A problem with one instruction multiple latencies and pipelines

2020-09-14 Thread Segher Boessenkool
Hi! On Mon, Sep 14, 2020 at 10:55:35AM +0100, Richard Sandiford wrote: > "Qian, Jianhua" writes: > > - If we cannot resolve it, the existing CPUs' descriptions need > > to be changed. This is not what I expected. > > - If we want to add new attribute to resolve this probl

Re: Dominance information problem

2020-09-14 Thread Gary Oblock via Gcc
Erick, I assume that this needs to be done on all the functions since you mention "cfun". Gary From: Erick Ochoa Sent: Monday, September 14, 2020 12:10 AM To: Gary Oblock ; gcc@gcc.gnu.org Subject: Re: Dominance information problem [EXTERNAL EMAIL NOTICE: This

Import license issue

2020-09-14 Thread Andrew Stubbs
Hi All, I need to update include/hsa.h to access some newer APIs. The existing file was created by copying from the user manual, thus side-stepping licensing issues, but the updated user manual omits some important details from the APIs I need (mostly the contents of structs and value of enum

Re: "gcc -E" does not honor #pragma

2020-09-14 Thread Nathan Sidwell
On 9/13/20 2:18 PM, Chelsea Meyers via Gcc wrote: Hi, I'm new to contributing to GCC, so I looked for issues in Bugzilla with the keyword "easyhack" that looked comprehensible to me, and found bug 53920: "'gcc -E' does not honor #pragma GCC diagnostic ignored '-Wunused-macro'". I verified using

Re: A problem with one instruction multiple latencies and pipelines

2020-09-14 Thread Richard Sandiford
"Qian, Jianhua" writes: > Hi Richard and Segher > > I don't know if I exactly understood your discussion. > If I misunderstood, please let me know. > > I am trying to test these two cases. > Case 1. keep the TYPE attribute unchanged, add new attributes > It works well as below. > (define_a

Re: A problem with one instruction multiple latencies and pipelines

2020-09-14 Thread Richard Earnshaw
On 14/09/2020 03:53, Qian, Jianhua wrote: >> -Original Message- >> From: Richard Earnshaw >> Sent: Friday, September 11, 2020 9:30 PM >> To: Qian, Jianhua/钱 建华 ; gcc@gcc.gnu.org >> Subject: Re: A problem with one instruction multiple latencies and pipelines >> >> On 07/09/2020 07:08, Qian,

Re: Dominance information problem

2020-09-14 Thread Erick Ochoa
Hi Gary, I'm not 100% sure this will fix the problem, but in the past I have had to call the following function: /* If dominator info is not available, we need to calculate it. */ if (!dom_info_available_p (CDI_DOMINATORS)) calculate_dominance_info (CDI_DOMINATORS); Basically dominan