Re: Clobber REG_CC only for some constraint alternatives?

2020-08-14 Thread Segher Boessenkool
Hi! On Fri, Aug 14, 2020 at 05:47:02PM +, Pip Cet wrote: > On Fri, Aug 14, 2020 at 4:24 PM Segher Boessenkool > wrote: > > On Fri, Aug 14, 2020 at 04:46:59PM +0530, Senthil Kumar Selvaraj via Gcc > > wrote: > > > (define_insn "*mov_insn_noclobber_flags" > > > [(set (match_operand:ALL1 0 "n

gcc-9-20200814 is now available

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

Re: how to debug Ada front end

2020-08-14 Thread Martin Sebor via Gcc
plain-output GNATMAKE 11.0.0 20200814 (experimental) Copyright (C) 1992-2020, Free Software Foundation, Inc. xgcc: fatal error: cannot execute ‘-I-’: execvp: No such file or directory compilation terminated. End of compilation gnatmake: "/build/gcc/gcc/testsuite/gnat.dg/array21.adb" compilation error

how to debug Ada front end

2020-08-14 Thread Martin Sebor via Gcc
tput GNATMAKE 11.0.0 20200814 (experimental) Copyright (C) 1992-2020, Free Software Foundation, Inc. xgcc: fatal error: cannot execute ‘-I-’: execvp: No such file or directory compilation terminated. End of compilation gnatmake: "/build/gcc/gcc/testsuite/gnat.dg/array21.adb" compilation error

Re: Clobber REG_CC only for some constraint alternatives?

2020-08-14 Thread Pip Cet via Gcc
On Fri, Aug 14, 2020 at 4:24 PM Segher Boessenkool wrote: > On Fri, Aug 14, 2020 at 04:46:59PM +0530, Senthil Kumar Selvaraj via Gcc > wrote: > > (define_insn "*mov_insn_noclobber_flags" > > [(set (match_operand:ALL1 0 "nonimmediate_operand" "=r,d ,q,r") > > (match_operand:ALL1 1 "nox

Re: Clobber REG_CC only for some constraint alternatives?

2020-08-14 Thread Pip Cet via Gcc
On Fri, Aug 14, 2020 at 3:33 PM Matt Wette via Gcc wrote: > Happy to see someone working this. Are you starting with one CC mode? I'm also working on this (mostly at bug#92792), and so far am using two modes: the general reg:CC mode for proper comparison insns, and CCNZ for optimization in the

Peephole optimisation: isWhitespace()

2020-08-14 Thread Stefan Kanthak
Hi @ll, in his ACM queue article , Matt Godbolt used the function | bool isWhitespace(char c) | { | return c == ' ' | || c == '\r' | || c == '\n' | || c == '\t'; | } as an example, for which GCC 9.1 emits the following assembly f

Re: Clobber REG_CC only for some constraint alternatives?

2020-08-14 Thread Segher Boessenkool
Hi! On Fri, Aug 14, 2020 at 04:46:59PM +0530, Senthil Kumar Selvaraj via Gcc wrote: > I'm working on porting AVR to MODE_CC, I'm very happy to see people work on that. > (define_insn "*mov_insn_noclobber_flags" > [(set (match_operand:ALL1 0 "nonimmediate_operand" "=r,d ,q,r") > (ma

Re: Accessing fields in the global_options structure from out-of-sync plugins

2020-08-14 Thread Jakub Jelinek via Gcc
On Fri, Aug 14, 2020 at 04:33:42PM +0100, Nick Clifton wrote: > With the annobin plugin for gcc I have a problem accessing some of the > fields in the global_options structure. Although the plugin can use > the macros defined in options.h, this only works if the plugin is in > sync with gc

Accessing fields in the global_options structure from out-of-sync plugins

2020-08-14 Thread Nick Clifton via Gcc
Hi Guys, With the annobin plugin for gcc I have a problem accessing some of the fields in the global_options structure. Although the plugin can use the macros defined in options.h, this only works if the plugin is in sync with gcc. If the plugin was built for one version of gcc, but ru

Re: Clobber REG_CC only for some constraint alternatives?

2020-08-14 Thread Matt Wette via Gcc
On 8/14/20 4:16 AM, Senthil Kumar Selvaraj via Gcc wrote: Hi, I'm working on porting AVR to MODE_CC, and there are quite a few patterns that clobber the condition code reg only for certain constraint alternatives. For e.g., (define_insn "mov_insn" [(set (match_operand:ALL1 0 "nonimm

Re: Has FSF stopped processing copyright paperwork?

2020-08-14 Thread Kaylee Blake via Gcc
On 7/8/20 10:41 pm, H.J. Lu wrote: > On Tue, May 5, 2020 at 6:42 PM Kaylee Blake wrote: >> >> On 2/5/20 11:49 pm, H.J. Lu wrote: >>> On Wed, Mar 18, 2020 at 6:46 PM Kaylee Blake via Binutils >>> wrote: On 19/3/20 12:02 pm, H.J. Lu wrote: > Kaylee, is your paper work with FSF in orde

Intel AMX programming model discussion

2020-08-14 Thread Luo, Yuanke via Gcc
Hi, Intel Advanced Matrix Extensions (Intel AMX) is a new programming paradigm consisting of two components: a set of 2-dimensional registers (tiles) representing sub-arrays from a larger 2-dimensional memory image, and accelerators able to operate on tiles. Capability of Intel AMX implementatio

Clobber REG_CC only for some constraint alternatives?

2020-08-14 Thread Senthil Kumar Selvaraj via Gcc
Hi, I'm working on porting AVR to MODE_CC, and there are quite a few patterns that clobber the condition code reg only for certain constraint alternatives. For e.g., (define_insn "mov_insn" [(set (match_operand:ALL1 0 "nonimmediate_operand" "=r,d,Qm ,r ,q,r,*r") (match_