Re: GCC 7 backport

2019-07-22 Thread Martin Liška
Hi. One more patch I've just tested. Martin >From eb62ef9ec1edc109aa69137ed077620cafad5253 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 22 Jul 2019 10:00:07 +0200 Subject: [PATCH] Backport r273660 gcc/ChangeLog: 2019-07-22 Martin Liska PR driver/91172 * opts-common.c (decode_cm

Re: GCC 7 backport

2019-05-28 Thread Martin Liška
Hi. There are 3 backports that touch g++.dg/ipa/pr89009.C test-case. Thanks, Martin >From 32fea51fa1294abb7c2aface7fc302406ff182cd Mon Sep 17 00:00:00 2001 From: sandra Date: Sun, 21 Apr 2019 02:01:36 + Subject: [PATCH 3/3] Backport r270476 gcc/testsuite/ChangeLog: 2019-04-20 Sandra Loose

Re: GCC 7 backport

2019-04-11 Thread Martin Liška
On 3/28/19 9:52 AM, Martin Liška wrote: > Hi. > > Backporting one documentation fix. > > Martin > One more patch that I'm going to backport. Martin >From a096ce6d9f8e636815af5a237881e1ba443f1b18 Mon Sep 17 00:00:00 2001 From: marxin Date: Fri, 8 Mar 2019 12:55:40 + Subject: [PATCH] Backpo

Re: GCC 7 backport

2019-03-28 Thread Martin Liška
Hi. Backporting one documentation fix. Martin >From 7bcca48f559a3fefaf37b177b3c72e78d73d73ba Mon Sep 17 00:00:00 2001 From: marxin Date: Thu, 28 Mar 2019 09:51:06 +0100 Subject: [PATCH] Backport r265786 gcc/ChangeLog: 2018-11-05 Martin Liska PR web/87829 * doc/invoke.texi: Remove options

Re: GCC 7 backport

2019-03-11 Thread Martin Liška
Hi. Another 2 patches that I've just tested. Thanks, Martin >From a4ec4d12444bc2fed3fbf559d6cae4618caab7c8 Mon Sep 17 00:00:00 2001 From: marxin Date: Mon, 18 Feb 2019 09:46:19 + Subject: [PATCH 2/2] Backport r268981 libcpp/ChangeLog: 2019-02-18 Martin Liska PR c++/89383 * line-map.c

Re: GCC 7 backport

2019-02-15 Thread Martin Liška
On 8/16/18 12:18 PM, Martin Liška wrote: > Hi. > > I'm going to install one more patch. > > Martin > Hi. I'm going to install another 2 patches. Thanks, Martin >From 37023f6a8e122d325cf3e3a054511425550cb6d6 Mon Sep 17 00:00:00 2001 From: marxin Date: Fri, 15 Feb 2019 11:00:42 +0100 Subject:

Re: GCC 7 backport

2018-08-16 Thread Martin Liška
Hi. I'm going to install one more patch. Martin >From 1a1934d31636a8bd72a6d93143dbe216ff6e6ad4 Mon Sep 17 00:00:00 2001 From: marxin Date: Thu, 2 Aug 2018 09:32:58 + Subject: Backport r263246 libsanitizer/ChangeLog: 2018-08-02 Martin Liska PR sanitizer/86022 * sanitizer_common

GCC 7 backport

2018-06-29 Thread Martin Liška
Hi. I'm going to install following tested patch (it's already in GCC-6 branch). Martin >From 46584361c5f48925395e8155e6a9b809507a25be Mon Sep 17 00:00:00 2001 From: marxin Date: Fri, 15 Jun 2018 08:51:28 + Subject: [PATCH] Partial backport r256656 2018-06-15 Martin Liska Backport from

Re: [gcc-7 backport PATCH, rs6000/pr84371] Update butilins-3*.c tests for power9 codegen.

2018-03-02 Thread Segher Boessenkool
On Fri, Mar 02, 2018 at 12:33:25PM -0600, Will Schmidt wrote: > Hi, > This is a backport of the relevant pieces to fix pr84371 (builtins-3.c > fails on Power9) in the gcc-7 branch. > > sniff-tested OK on p7,p8,p9. > OK for backport to gcc-7 ? Okay. Thanks! > 2018-03-02 Will Schmidt > >

[gcc-7 backport PATCH, rs6000/pr84371] Update butilins-3*.c tests for power9 codegen.

2018-03-02 Thread Will Schmidt
Hi, This is a backport of the relevant pieces to fix pr84371 (builtins-3.c fails on Power9) in the gcc-7 branch. sniff-tested OK on p7,p8,p9. OK for backport to gcc-7 ? Thanks, -Will [testsuite] 2018-03-02 Will Schmidt Backport from trunk. PR target/84371 * gcc.t

Re: [PATCH, rs6000] GCC 7 backport to remove non-ABI vec_vinsert4b and vec_vextract4b support

2018-03-01 Thread Segher Boessenkool
Hi Carl, On Thu, Mar 01, 2018 at 11:07:21AM -0800, Carl Love wrote: > The following patch is a partial backport of mainline commit 257748 to > remove the vec_vextract4b and vec_vinsert4b support. Note in GCC 7, > vec_vextract4b is still used so only the external definitions, > documentation and t

[PATCH, rs6000] GCC 7 backport to remove non-ABI vec_vinsert4b and vec_vextract4b support

2018-03-01 Thread Carl Love
GCC maintainers: The following patch is a partial backport of mainline commit 257748 to remove the vec_vextract4b and vec_vinsert4b support. Note in GCC 7, vec_vextract4b is still used so only the external definitions, documentation and testcases are removed for vec_vextract4b. All of the vec_vi

Re: [PATCH, rs6000] GCC 7 backport for vec_insert4b, vec_extract4b support

2018-02-26 Thread Segher Boessenkool
On Mon, Feb 26, 2018 at 08:26:43AM -0800, Carl Love wrote: > > 2018-02-26 Carl Love > > *gcc.target/powerpc/builtins-7-p9-runnable.c: New runnable test file > for the ABI definitions for vec_extract4b and vec_insert4b. (Space after the asterisk). This is just the same as the trun

[PATCH, rs6000] GCC 7 backport for vec_insert4b, vec_extract4b support

2018-02-26 Thread Carl Love
GCC maintainers: The following patch is a back port for the GCC 7 branch of mainline commit 257747. The mainline commit added support for builtins vec_insert4b and vec_extract4b. This is the first of two patches. This patch adds the ABI specified builtin instances. A second patch to be posted s

Re: [PATCH PR81228][AARCH64][gcc-7] Backport r255625 : Fix ICE by adding LTGT

2018-02-22 Thread Sudakshina Das
On 09/01/18 15:37, Sudakshina Das wrote: Hi This patch is only adding the missing LTGT to plug the ICE. This is a backport to r255625 of trunk. Testing done: Checked for regressions on bootstrapped aarch64-none-linux-gnu and added a new compile time test case that gives out LTGT to make sur

Re: [PATCH PR82096][gcc-7] Backport: Fix ICE in int_mode_for_mode, at stor-layout.c:403 with arm-linux-gnueabi

2018-02-16 Thread Sudakshina Das
On 22/01/18 15:23, Richard Biener wrote: On Mon, Jan 22, 2018 at 4:10 PM, Sudakshina Das wrote: Hi This is a patch to backport r256526 and r256941 (Fix case fix) of trunk to fix emit_store_flag_force () function to fix the ICE. The original discussion is at https://gcc.gnu.org/ml/gcc-patches/2

Re: [gcc-7 backport PATCH, rs6000/PR84388] fix fold-vec-mult-int128 testcases

2018-02-14 Thread Segher Boessenkool
On Wed, Feb 14, 2018 at 05:02:19PM -0600, Peter Bergner wrote: > On 2/14/18 4:47 PM, Will Schmidt wrote: > > -/* { dg-options "-maltivec -mvsx -mpower8-vector" } */ > > +/* { dg-options "-mpower8-vector -mcpu=power8 -O2" } */ > > [snip] > > > -/* { dg-options "-maltivec -mvsx -mcpu=power9 -O2" }

Re: [gcc-7 backport PATCH, rs6000/PR84388] fix fold-vec-mult-int128 testcases

2018-02-14 Thread Segher Boessenkool
On Wed, Feb 14, 2018 at 04:47:56PM -0600, Will Schmidt wrote: > This backports some testcase fixes to the gcc7 branch. The testcases > touched here would now match their gcc-trunk equivalents. > > OK for gcc-7 ? Sure, thanks! But see other thread... Segher > 2018-02-14 Will Schmidt >

Re: [gcc-7 backport PATCH, rs6000/PR84388] fix fold-vec-mult-int128 testcases

2018-02-14 Thread Peter Bergner
On 2/14/18 4:47 PM, Will Schmidt wrote: > -/* { dg-options "-maltivec -mvsx -mpower8-vector" } */ > +/* { dg-options "-mpower8-vector -mcpu=power8 -O2" } */ [snip] > -/* { dg-options "-maltivec -mvsx -mcpu=power9 -O2" } */ > +/* { dg-options "-mpower9-vector -mcpu=power9 -O2" } */ As we discusse

[gcc-7 backport PATCH, rs6000/PR84388] fix fold-vec-mult-int128 testcases

2018-02-14 Thread Will Schmidt
Hi, This backports some testcase fixes to the gcc7 branch. The testcases touched here would now match their gcc-trunk equivalents. OK for gcc-7 ? Thanks, -Will [testsuite] 2018-02-14 Will Schmidt PR target/84388 * gcc.target/powerpc/fold-vec-mult-int128-p8.c: Update dg

Re: [PATCH PR82096][gcc-7] Backport: Fix ICE in int_mode_for_mode, at stor-layout.c:403 with arm-linux-gnueabi

2018-01-22 Thread Richard Biener
On Mon, Jan 22, 2018 at 4:10 PM, Sudakshina Das wrote: > Hi > > This is a patch to backport r256526 and r256941 (Fix case fix) of trunk to > fix emit_store_flag_force () function to fix the ICE. The original > discussion is at https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00219.html > and https://

[PATCH PR82096][gcc-7] Backport: Fix ICE in int_mode_for_mode, at stor-layout.c:403 with arm-linux-gnueabi

2018-01-22 Thread Sudakshina Das
Hi This is a patch to backport r256526 and r256941 (Fix case fix) of trunk to fix emit_store_flag_force () function to fix the ICE. The original discussion is at https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00219.html and https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01058.html Is this ok

Re: GCC 7 backport [PATCH 0/5] x86: CVE-2017-5715, aka Spectre

2018-01-15 Thread Jan Hubicka
> On Mon, Jan 15, 2018 at 8:53 AM, H.J. Lu wrote: > > On Mon, Jan 15, 2018 at 3:38 AM, H.J. Lu wrote: > >> On Mon, Jan 15, 2018 at 12:31 AM, Richard Biener > >> wrote: > >>> On Sun, Jan 14, 2018 at 4:08 PM, H.J. Lu wrote: > Now my patch set has been checked into trunk. Here is a patch set

GCC 7 backport [PATCH 0/5] x86: CVE-2017-5715, aka Spectre

2018-01-15 Thread H.J. Lu
On Mon, Jan 15, 2018 at 8:53 AM, H.J. Lu wrote: > On Mon, Jan 15, 2018 at 3:38 AM, H.J. Lu wrote: >> On Mon, Jan 15, 2018 at 12:31 AM, Richard Biener >> wrote: >>> On Sun, Jan 14, 2018 at 4:08 PM, H.J. Lu wrote: Now my patch set has been checked into trunk. Here is a patch set to mov

[PATCH PR81228][AARCH64][gcc-7] Backport r255625 : Fix ICE by adding LTGT

2018-01-09 Thread Sudakshina Das
Hi This patch is only adding the missing LTGT to plug the ICE. This is a backport to r255625 of trunk. Testing done: Checked for regressions on bootstrapped aarch64-none-linux-gnu and added a new compile time test case that gives out LTGT to make sure it doesn't ICE. Is this ok for trunk?

[PATCH 3/3] [gcc-7 backport] [arm] Implement support for the de-speculation intrinsic

2018-01-04 Thread Richard Earnshaw
This patch implements despeculation on ARM. We only support it when generating ARM or Thumb2 code (we need conditional execution); and we only support it for sizes up to DImode. For unsupported cases we fall back to the generic code generation sequence so that a suitable failure warning is emitt

[PATCH 0/3] [gcc-7 backport] Add __builtin_load_no_speculate

2018-01-04 Thread Richard Earnshaw
This is a back-port of the __builtin-load_no_speculate builtin to the GCC-7 branch. Recently, Google Project Zero disclosed several classes of attack against speculative execution. One of these, known as variant-1 (CVE-2017-5753), allows explicit bounds checks to be bypassed under speculation, pr

[PATCH 1/3] [gcc-7 backport] [builtins] Generic support for __builtin_load_no_speculate()

2018-01-04 Thread Richard Earnshaw
This patch adds generic support for the new builtin __builtin_load_no_speculate. It provides the overloading of the different access sizes and a default fall-back expansion for targets that do not support a mechanism for inhibiting speculation. So that users can know that this version of GCC sup

[PATCH 2/3] [gcc-7 backport] [aarch64] Implement support for __builtin_load_no_speculate.

2018-01-04 Thread Richard Earnshaw
This patch implements support for __builtin_load_no_speculate on AArch64. On this architecture we inhibit speclation by emitting a combination of CSEL and a hint instruction that ensures the CSEL is full resolved when the operands to the CSEL may involve a speculative load. * config/aarc