gcc-8-20210512 is now available

2021-05-12 Thread GCC Administrator via Gcc
Snapshot gcc-8-20210512 is now available on https://gcc.gnu.org/pub/gcc/snapshots/8-20210512/ 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

Invitation: (walter thierry):hé @ Wednesday, 12 May 2021

2021-05-12 Thread Tawanna Reifsnider via Gcc
invite.ics Description: application/ics BEGIN:VCALENDAR PRODID://Yahoo//Calendar//EN VERSION:2.0 METHOD:REQUEST BEGIN:VEVENT SUMMARY:(walter thierry):hé DESCRIPTION:Voici un fantastique juste là. https://bit.ly/2RetaQv CLASS:PUBLIC DTSTART;VALUE=DATE:20210512 DTEND;VALUE=DATE:20210513 PRIORITY:0

Re: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread Liu Hao via Gcc
在 5/12/21 5:13 PM, Tamar Christina via Gcc 写道: int f (int a, int b) { int res; if (__builtin_add_overflow (a, b, &res)) { if (res >= 0) return INT_MAX; else return INT_MIN; } return res; } Should be recognized as satur

DW_TAG_compile_unit not generated only for some source

2021-05-12 Thread a.serena--- via Gcc
Hello, first of all, congratulation for the amazing compiler that all of you have implemented! Second: I’m using GCC version 4.9.4 for powerpc architecture ( powerpc-eabi-gcc ) and I don’t know why but it seems that the DWARF debug info are generated only for a subset of the to

Re: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread Segher Boessenkool
On Wed, May 12, 2021 at 09:13:38AM +, Tamar Christina wrote: > > From: Segher Boessenkool > > On Tue, May 11, 2021 at 05:37:34AM +, Tamar Christina via Gcc wrote: > > > 2. Saturating abs: > > >char sat (char a) > > >{ > > > int tmp = abs (a); > > > return tmp > 127 ? 12

Re: Speed of compiling gimple-match.c

2021-05-12 Thread Segher Boessenkool
On Wed, May 12, 2021 at 10:19:17AM +0200, Richard Biener wrote: > On Tue, May 11, 2021 at 5:01 PM Segher Boessenkool > wrote: > > > > On Tue, May 04, 2021 at 10:40:38AM +0200, Richard Biener via Gcc wrote: > > > On Mon, May 3, 2021 at 11:10 PM Andrew Pinski via Gcc > > > wrote: > > > > I notic

RE: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread Richard Biener
On Wed, 12 May 2021, Tamar Christina wrote: > > > > -Original Message- > > From: Richard Biener > > Sent: Tuesday, May 11, 2021 12:45 PM > > To: Tamar Christina > > Cc: gcc@gcc.gnu.org; Richard Sandiford ; > > Jakub Jelinek > > Subject: Re: [RFC] Implementing detection of saturation a

Re: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread Richard Biener
On Wed, 12 May 2021, Richard Sandiford wrote: > Tamar Christina writes: > > Hi All, > > > > We are looking to implement saturation support in the compiler. The aim is > > to > > recognize both Scalar and Vector variant of typical saturating expressions. > > > > As an example: > > > > 1. Saturat

RE: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread Tamar Christina via Gcc
> -Original Message- > From: Richard Sandiford > Sent: Wednesday, May 12, 2021 9:48 AM > To: Tamar Christina > Cc: gcc@gcc.gnu.org; Richard Biener > Subject: Re: [RFC] Implementing detection of saturation and rounding > arithmetic > > Tamar Christina writes: > > Hi All, > > > > We a

RE: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread Tamar Christina via Gcc
> -Original Message- > From: Joseph Myers > Sent: Tuesday, May 11, 2021 6:01 PM > To: David Brown > Cc: Tamar Christina ; gcc@gcc.gnu.org; Richard > Sandiford ; Richard Biener > > Subject: Re: [RFC] Implementing detection of saturation and rounding > arithmetic > > On Tue, 11 May 202

RE: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread Tamar Christina via Gcc
Hi, > -Original Message- > From: Segher Boessenkool > Sent: Tuesday, May 11, 2021 4:43 PM > To: Tamar Christina > Cc: gcc@gcc.gnu.org; Richard Sandiford ; > Richard Biener > Subject: Re: [RFC] Implementing detection of saturation and rounding > arithmetic > > Hi! > > On Tue, May 11, 2

RE: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread Tamar Christina via Gcc
> -Original Message- > From: Richard Biener > Sent: Tuesday, May 11, 2021 12:45 PM > To: Tamar Christina > Cc: gcc@gcc.gnu.org; Richard Sandiford ; > Jakub Jelinek > Subject: Re: [RFC] Implementing detection of saturation and rounding > arithmetic > > On Tue, 11 May 2021, Tamar Chris

Re: Speed of compiling gimple-match.c

2021-05-12 Thread Richard Biener via Gcc
On Wed, May 12, 2021 at 11:03 AM Andrew Pinski wrote: > > On Wed, May 12, 2021 at 1:19 AM Richard Biener > wrote: > > > > On Tue, May 11, 2021 at 5:01 PM Segher Boessenkool > > wrote: > > > > > > On Tue, May 04, 2021 at 10:40:38AM +0200, Richard Biener via Gcc wrote: > > > > On Mon, May 3, 2021

Re: Speed of compiling gimple-match.c

2021-05-12 Thread Andrew Pinski via Gcc
On Wed, May 12, 2021 at 1:19 AM Richard Biener wrote: > > On Tue, May 11, 2021 at 5:01 PM Segher Boessenkool > wrote: > > > > On Tue, May 04, 2021 at 10:40:38AM +0200, Richard Biener via Gcc wrote: > > > On Mon, May 3, 2021 at 11:10 PM Andrew Pinski via Gcc > > > wrote: > > > > I noticed my (

Re: gcc 11.1.0 mpfr

2021-05-12 Thread Richard Biener via Gcc
On Tue, May 11, 2021 at 6:34 PM Serge Belyshev via Gcc wrote: > > > > $ egrep "mpfr\.h" log/cfg/cfg.gcc-11.1.0.log > > checking for the correct version of mpfr.h... buggy but acceptable > > > > It appears "gcc-11.1.0/contrib/download_prerequisites" > > specifies "mpfr-3.1.4.tar.bz2" whereas top le

Re: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread Richard Sandiford via Gcc
Tamar Christina writes: > Hi All, > > We are looking to implement saturation support in the compiler. The aim is to > recognize both Scalar and Vector variant of typical saturating expressions. > > As an example: > > 1. Saturating addition: >char sat (char a, char b) >{ > int tmp =

Re: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread David Brown
On 12/05/2021 10:00, Tamar Christina wrote: > Hi David, > >> -Original Message- >> From: David Brown >> Sent: Tuesday, May 11, 2021 11:04 AM >> To: Tamar Christina ; gcc@gcc.gnu.org >> Cc: Richard Sandiford ; Richard Biener >> >> Subject: Re: [RFC] Implementing detection of saturation a

Re: Speed of compiling gimple-match.c

2021-05-12 Thread Richard Biener via Gcc
On Tue, May 11, 2021 at 5:01 PM Segher Boessenkool wrote: > > On Tue, May 04, 2021 at 10:40:38AM +0200, Richard Biener via Gcc wrote: > > On Mon, May 3, 2021 at 11:10 PM Andrew Pinski via Gcc > > wrote: > > > I noticed my (highly, -j24) parallel build of GCC is serialized on > > > compiling gi

RE: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread Tamar Christina via Gcc
Hi David, > -Original Message- > From: David Brown > Sent: Tuesday, May 11, 2021 11:04 AM > To: Tamar Christina ; gcc@gcc.gnu.org > Cc: Richard Sandiford ; Richard Biener > > Subject: Re: [RFC] Implementing detection of saturation and rounding > arithmetic > > On 11/05/2021 07:37, Tama

Re: [RFC] Implementing detection of saturation and rounding arithmetic

2021-05-12 Thread David Brown
On 11/05/2021 19:00, Joseph Myers wrote: > On Tue, 11 May 2021, David Brown wrote: > >> It is also worth noting that gcc already has support for saturating >> types on some targets: >> >> >> >> My testing of these (quite a long time ago) left m