Re: [PATCH 1/2] x86,s390: add compiler memory barriers when expanding atomic_thread_fence (PR 80640)

2017-07-26 Thread Alexander Monakov
On Wed, 26 Jul 2017, Alexander Monakov wrote: > On Wed, 26 Jul 2017, Jeff Law wrote: > > I'm not sure what you mean by extraneous compiler barriers -- isn't the > > worst case scenario here that the target emits them as well? So there > > would be an extraneous one in that case, but that ought to

Re: [PATCH, alpha]: libgo patch: also recognize alpha in signal handler

2017-07-26 Thread Ian Lance Taylor
On Sat, Jul 22, 2017 at 10:59 AM, Uros Bizjak wrote: > Similar patch to the one for PPC [1]. > > [1] https://gcc.gnu.org/ml/gcc-patches/2017-07/msg01334.html > > Tested on alphaev68-pc-linux-gnu. Thanks. Committed to mainline. Ian

Re: [PATCH] dwarf2out.c patch for AIX

2017-07-26 Thread Jim Wilson
On 07/22/2017 08:29 PM, David Edelsohn wrote: This patch mirrors the earlier patch to copy debug_section_label into dl_section_ref and append the adjustment when necessary. With this patch, GDB is able to report correct macro information. Bootstrapped on powerpc-ibm-aix7.2.0.0 Debug related p

Re: gotools patch committed: Test runtime, misc/cgo/{test,testcarchive}

2017-07-26 Thread Ian Lance Taylor
On Sat, Jul 22, 2017 at 11:08 AM, Uros Bizjak wrote: >> This patch to the gotools Makefile adds tests to `make check`. We now >> test the runtime package using the newly built go tool, and test that >> cgo works by running the misc/cgo/test and misc/cgo/testcarchive >> tests. Bootstrapped and ra

Re: [PATCH #4, cleanup] Remove PowerPC -mvsx-small-integer

2017-07-26 Thread Segher Boessenkool
On Wed, Jul 26, 2017 at 12:28:02AM -0400, Michael Meissner wrote: > And not only the patches to the compiler, I forgot to include the testsuite > patches: > > [gcc/testsuite] > 2017-07-25 Michael Meissner > > * gcc.target/powerpc/vsx-himode.c: Delete -mvsx-small-integer > option. >

Re: [PATCH] PR libstdc++/53984 handle exceptions in basic_istream::sentry

2017-07-26 Thread Ville Voutilainen
On 26 July 2017 at 21:14, Paolo Carlini wrote: > Hi again, > > On 26/07/2017 16:27, Paolo Carlini wrote: >> >> Hi, >> >> On 26/07/2017 16:21, Andreas Schwab wrote: >>> >>> ERROR: 27_io/basic_fstream/53984.cc: unknown dg option: >>> dg-require-file-io 18 {} for " dg-require-file-io 18 "" " >> >> Sh

Re: [PATCH 1/2] simplify-rtx: The truncation of an IOR can have all bits set (PR81423)

2017-07-26 Thread Mike Stump
On Jul 25, 2017, at 3:10 PM, Segher Boessenkool wrote: > > On Tue, Jul 25, 2017 at 12:30:13PM +0100, Kyrill Tkachov wrote: >> We sometimes use the __mode__ attribute to force certain sizes in C types. >> For example: typedef int ditype __attribute__ ((mode (DI))); >> Maybe you can do this to for

Re: [PATCH #4, cleanup] Remove PowerPC -mvsx-small-integer

2017-07-26 Thread Michael Meissner
On Wed, Jul 26, 2017 at 03:02:15PM -0500, Segher Boessenkool wrote: > Hi Mike, > > On Wed, Jul 26, 2017 at 12:24:17AM -0400, Michael Meissner wrote: > > * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Delete > > -mvsx-small-integer option. > > (ISA_3_0_MASKS_IEEE): Likewise. >

Re: [PATCH 12/17] Add server.h and server.c

2017-07-26 Thread Mike Stump
On Jul 26, 2017, at 7:50 AM, David Malcolm wrote: > > On Wed, 2017-07-26 at 23:35 +0900, Oleg Endo wrote: >> On Mon, 2017-07-24 at 16:05 -0400, David Malcolm wrote: >>> >>> + >>> +You should have received a copy of the GNU General Public License >>> +along with GCC; see the file COPYING3. If no

Re: [PATCH 0/2] Python testcases to check DWARF output

2017-07-26 Thread Mike Stump
On Jul 26, 2017, at 9:00 AM, Pierre-Marie de Rodat wrote: > At the last GNU Cauldron, Richard Biener and I talked about DWARF output > testing. Except for guality tests, which are disabled on several > targets, the only way tests check the DWARF is scanning the annotated > assembly (-dA), making i

Re: [PATCH,AIX] Fully enable XCOFF in libbacktrace on AIX

2017-07-26 Thread Ian Lance Taylor
On Wed, Jul 26, 2017 at 12:54 AM, REIX, Tony wrote: > Description: > * This patch fully enables XCOFF in libbacktrace on AIX. > > Tests: > * Fedora25/x86_64 + GCC v7.1.0 : Configure/Build: SUCCESS >- build made by means of gmake. > > ChangeLog: > * configure.ac, filetype.awk: Separate AIX

[Committed/AARCH64] Fix ThunderX fp vectorizer cost model

2017-07-26 Thread Andrew Pinski
Hi, When I went and split the vectorizer cost model to support thunderx2t99, I did not go back and fix up thunderx to be correct after the split. This patch fixes the problem by changing the vector cost for fp to be the same as scalar fp cost which is good enough and brings us back to where we we

gotools: remove *.sent for make mostlyclean

2017-07-26 Thread Ian Lance Taylor
I have no idea why this is necessary, but remove *.sent when running make mostlyclean, for https://gcc.gnu.org/PR81548. Bootstrapped on x86_64-pc-linux-gnu. Committed to mainline. Ian 2017-07-26 Ian Lance Taylor PR go/81548 * Makefile.am (MOSTLYCLEANFILES): Add *.sent. * Makefile.in: Rebuil

Re: [PATCH] PR libstdc++/53984 handle exceptions in basic_istream::sentry

2017-07-26 Thread Jonathan Wakely
On 26/07/17 20:14 +0200, Paolo Carlini wrote: Hi again, On 26/07/2017 16:27, Paolo Carlini wrote: Hi, On 26/07/2017 16:21, Andreas Schwab wrote: ERROR: 27_io/basic_fstream/53984.cc: unknown dg option: dg-require-file-io 18 {} for " dg-require-file-io 18 "" " Should be already fixed, a trivia

Re: [PATCH,AIX] Enable libffi for AIX

2017-07-26 Thread Ian Lance Taylor
On Wed, Jul 26, 2017 at 8:17 AM, REIX, Tony wrote: > Description: > * This patch enables libffi on AIX. > > Tests: > * Fedora25/x86_64 + GCC trunk : Configure/Build: SUCCESS >- build made by means of gmake. > > ChangeLog: > * configure.ac, configure: Enable libffi for AIX This is fine with

Re: [PATCH #4, cleanup, committed] Remove PowerPC -mvsx-small-integer

2017-07-26 Thread Michael Meissner
This is the final patch that I committed. [gcc] 2017-07-26 Michael Meissner * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Delete -mvsx-small-integer option. (ISA_3_0_MASKS_IEEE): Likewise. (OTHER_VSX_VECTOR_MASKS): Likewise. (POWERPC_MASKS): Li

Re: [PATCH] Improve alloca alignment

2017-07-26 Thread Wilco Dijkstra
Jeff Law wrote: > +  if (required_align > MAX_SUPPORTED_STACK_ALIGNMENT) > +    { > +  extra = (required_align - MAX_SUPPORTED_STACK_ALIGNMENT) > + / BITS_PER_UNIT; > +  size = plus_constant (Pmode, size, extra); > +  size = force_operand (size, NULL_RTX); >  > -  if (extra && siz

[COMMITTED/AARCH64] Improve thunderx_vect_cost some more

2017-07-26 Thread Andrew Pinski
Looked into tuning the cost model for ThunderX 1 and I noticed I had too high cost of the unaligned load/store. This reduces the cost there and now the loops in linpack are able to vectorize and perform the best. Also tested on SPEC CPU 2006 to make sure we don't regress the vectorizer there. Co

Re: [PING] [PATCH v4 0/12] [i386] Improve 64-bit Microsoft to System V ABI pro/epilogues

2017-07-26 Thread Daniel Santos
On 07/26/2017 02:03 PM, H.J. Lu wrote: This patch caused: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81563 Yes, I discovered this flaw while working on PR 80969 but I hadn't found an actual testcase where it caused a problem yet. I'm about to submit my patchset for review, so sorry I didn

Re: [PATCH 15/17] Language Server Protocol: add lsp::server abstract base class

2017-07-26 Thread Trevor Saunders
On Mon, Jul 24, 2017 at 04:05:12PM -0400, David Malcolm wrote: > This patch adds an lsp::server abstract base class for implementing > servers for the Language Server Protocol: > https://github.com/Microsoft/language-server-protocol > > along with supporting classes mirroring those from the prot

Re: [PATCH] [PowerPC/RTEMS] Add 64-bit support using ELFv2 ABI

2017-07-26 Thread Sebastian Huber
On 26/07/17 19:56, Segher Boessenkool wrote: On Tue, Jul 25, 2017 at 02:25:21PM +0200, Sebastian Huber wrote: Add 64-bit support for RTEMS using the ELFv2 ABI with 64-bit long double. diff --git a/gcc/config.gcc b/gcc/config.gcc index 2ae0218b5fc..aab7f65c1df 100644 --- a/gcc/config.gcc +++ b/

Re: [PING 4] [PATCH][AArch64] Add neon_pairwise_add & neon_pairwise_add_q types

2017-07-26 Thread Hurugalawadi, Naveen
Hi,  Please consider this as a personal reminder to review the patch at following link and let me know your comments on the same.  https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00505.html Thanks, Naveen    

<    1   2