Re: Function signatures in extern "C".

2020-09-10 Thread Florian Weimer via Gcc
* Jakub Jelinek via Gcc: > On Mon, Sep 07, 2020 at 10:27:13AM +0100, Jonathan Wakely via Gcc wrote: >> On Mon, 7 Sep 2020 at 09:18, Iain Sandoe wrote: >> > >> > Perhaps the PR should be reopened with “accepts invalid”? >> >> My impression from the PR is that the reporter was using a different >>

Re: irange best practices document

2020-09-10 Thread Aldy Hernandez via Gcc
On 9/9/20 7:03 PM, Martin Sebor wrote: On 9/3/20 1:14 AM, Aldy Hernandez via Gcc wrote: Below is a documented we have drafted to provide guidance on using irange's and converting passes to it.  This will future proof any such passes so that they will work with the ranger, or any other mechanism

Re: JUMP_LABEL returns NULL for the just created jump instruction

2020-09-10 Thread Richard Sandiford
Anton Youdkevitch writes: > Folks, > > I'm trying to deal with CFG construction at RTL level and I bumped into a > problem > when I created a jump to a certain label. After the jump is created I try > to extract the > label using JUMP_LABEL but I get nothing. > > The code looks like like this: > >

Re: JUMP_LABEL returns NULL for the just created jump instruction

2020-09-10 Thread Anton Youdkevitch
Richard, On Thu, Sep 10, 2020 at 11:22 AM Richard Sandiford < richard.sandif...@arm.com> wrote: > Anton Youdkevitch writes: > > Folks, > > > > I'm trying to deal with CFG construction at RTL level and I bumped into a > > problem > > when I created a jump to a certain label. After the jump is cre

Re: A problem with one instruction multiple latencies and pipelines

2020-09-10 Thread Richard Sandiford
Segher Boessenkool writes: > Hi! > > On Mon, Sep 07, 2020 at 09:20:59PM +0100, Richard Sandiford wrote: >> This is just personal opinion, but in general (from the point of view >> of a new port, or a new subport like SVE), I think the best approach >> to handling the "type" attribute is to start w

Re: subreg vs vec_select

2020-09-10 Thread Ilya Leoshkevich via Gcc
On Wed, 2020-09-09 at 16:09 -0500, Segher Boessenkool wrote: > Hi Ilya, > > On Wed, Sep 09, 2020 at 11:50:56AM +0200, Ilya Leoshkevich via Gcc > wrote: > > I have a vector pseudo containing a single 128-bit value (V1TFmode) > > and > > I need to access its last 64 bits (DFmode). Which of the two >

gcc-7-arm vendor branch

2020-09-10 Thread Pop, Sebastian via Gcc
Hi, I would like to thank David Edelsohn for his help during the process of getting Amazon’s contributions to GCC covered by an FSF copyright assignment. As a first contribution, I would like to create a vendor branch for gcc-7 that will contain back-ported patches for Arm such as -moutline-atomic

Re: subreg vs vec_select

2020-09-10 Thread Segher Boessenkool
Hi! On Thu, Sep 10, 2020 at 12:21:47PM +0200, Ilya Leoshkevich wrote: > On Wed, 2020-09-09 at 16:09 -0500, Segher Boessenkool wrote: > > On Wed, Sep 09, 2020 at 11:50:56AM +0200, Ilya Leoshkevich via Gcc > > wrote: > > > I have a vector pseudo containing a single 128-bit value (V1TFmode) > > > and

gcc-8-20200910 is now available

2020-09-10 Thread GCC Administrator via Gcc
Snapshot gcc-8-20200910 is now available on https://gcc.gnu.org/pub/gcc/snapshots/8-20200910/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: A problem with one instruction multiple latencies and pipelines

2020-09-10 Thread Segher Boessenkool
On Thu, Sep 10, 2020 at 11:04:26AM +0100, Richard Sandiford wrote: > Segher Boessenkool writes: > > You can also use some other attributes to classify instructions, you > > don't have to put it all in one "type" attribute. This can of course be > > done later, at a time when it is clearer what a