Re: [PATCH] -Wtautological-compare should be quiet on floats

2015-07-29 Thread Jeff Law
On 07/29/2015 08:08 AM, Marek Polacek wrote: As discussed elsewhere, -Wtautological-compare shouldn't warn about floating-point types because of the way NaN behave. I've been meaning to commit this one as obvious, but I'm not sure whether I should also use HONOR_NANS or whether I can safely igno

Re: [PATCH], PowerPC IEEE 128-bit patch #4

2015-07-29 Thread Segher Boessenkool
On Wed, Jul 29, 2015 at 06:38:45PM -0400, Michael Meissner wrote: > On Wed, Jul 29, 2015 at 04:59:23PM -0500, Segher Boessenkool wrote: > > On Wed, Jul 29, 2015 at 04:04:28PM -0400, Michael Meissner wrote: > > > +;; Return constant 0x8000 in an Altivec > > > register. >

Re: [PATCH][2/N] Replace the pattern GET_MODE_SIZE (GET_MODE_INNER (m)) with GET_MODE_UNIT_SIZE (m)

2015-07-29 Thread Jeff Law
On 07/29/2015 02:00 AM, David Sherwood wrote: Hi, This patch follows on from [PATCH][1/N] Change GET_MODE_INNER to always return a non-void mode It is another tidy up, replacing the pattern GET_MODE_SIZE (GET_MODE_INNER (m)) with GET_MODE_UNIT_SIZE (m). Tested: aarch64 and aarch64_be - no reg

Re: C++ delayed folding branch review

2015-07-29 Thread Kai Tietz
2015-07-29 19:48 GMT+02:00 Jason Merrill : > On 07/28/2015 04:10 PM, Kai Tietz wrote: >> >> 2015-07-28 1:14 GMT+02:00 Kai Tietz : >> >>> 2015-07-27 18:51 GMT+02:00 Jason Merrill : I've trimmed this to the previously mentioned issues that still need to be addressed; I'll do anoth

Re: [PATCH 4/4] define ASM_OUTPUT_LABEL to the name of a function

2015-07-29 Thread Jeff Law
On 07/27/2015 09:47 PM, Trevor Saunders wrote: On Mon, Jul 27, 2015 at 11:06:58AM +0200, Richard Biener wrote: On Sat, Jul 25, 2015 at 4:37 AM, wrote: From: Trevor Saunders * config/arc/arc.h, config/bfin/bfin.h, config/frv/frv.h, config/ia64/ia64-protos.h, config/ia64/ia6

[gomp4] PTX target format

2015-07-29 Thread Nathan Sidwell
I've committed this to gomp4 branch. It changes the ptx target data format from a string array with embedded NULs, to an array of pointers & sizes to separate strings for each object file. This avoids the use of strlen when loading onto the PTX device. Not incrementing the PTX version number

Re: [PATCH], PowerPC IEEE 128-bit patch #4

2015-07-29 Thread Michael Meissner
On Wed, Jul 29, 2015 at 05:46:42PM -0500, Segher Boessenkool wrote: > On Wed, Jul 29, 2015 at 06:38:45PM -0400, Michael Meissner wrote: > > On Wed, Jul 29, 2015 at 04:59:23PM -0500, Segher Boessenkool wrote: > > > On Wed, Jul 29, 2015 at 04:04:28PM -0400, Michael Meissner wrote: > > > > +;; Return

lto wrapper verboseness

2015-07-29 Thread Nathan Sidwell
Jakub, this patch augments the lto wrapper to print out the arguments to spawned commands when verbose. I found this useful in debugging recent development. ok for trunk? nathan 2015-07-29 Nathan Sidwell * lto-wrapper.c (verbose_exec): New. (compile_offload_image, run_gcc): Call it. In

[gomp4] openacc default handling

2015-07-29 Thread Nathan Sidwell
I've committed this to gomp4. When I broke out the oacc_default_clause function from omp_notice_variable, I was puzzled by the ordering of the lookups, but could quite figure out what was wrong. further investigation and standard reading showed that for openacc, we look in outer lexical scop

[gomp4.1] fold ordered depend(sink) clauses

2015-07-29 Thread Aldy Hernandez
The attached patch canonicalizes sink dependence clauses into one folded clause if possible (as discussed in the paper "Expressing DOACROSS Loop Dependences in OpenMP"). The basic algorithm is to create a sink vector whose first element is the GCD of all the first elements, and whose remaining

Re: [PATCH 0/9] start converting POINTER_SIZE to a hook

2015-07-29 Thread Segher Boessenkool
On Wed, Jul 29, 2015 at 11:16:40AM +0100, Richard Earnshaw wrote: > I'm getting a bit worried about the potential performance impact from > all these indirect function call hooks. This is a good example of when > it's probably somewhat unnecessary. I doubt that the compiler could > function corre

[PATCH] rs6000: Fix PR67045

2015-07-29 Thread Segher Boessenkool
Paper bag time. Committing as obvious fix. Bootstrapped and regression checked on powerpc64-linux and powerpc64le-linux; also bootstrapped the latter with --enable-checking=release and -O3 (the PR67045 case). Will do an --enable-checking=yes,rtl as well. Segher 2015-07-29 Segher Boessenkool

Re: [Patch] Small refactor on _State<>

2015-07-29 Thread Tim Shen
On Wed, Jul 29, 2015 at 2:15 AM, Jonathan Wakely wrote: > Yes, that makes sense. See the code in for how > to set the alignment of the buffer appropriately. You can use the size > and alignment of std::function even though it will > sometimes be a different std::function specialization. Done. A

Re: [Patch] Small refactor on _State<>

2015-07-29 Thread Tim Shen
On Wed, Jul 29, 2015 at 9:21 PM, Tim Shen wrote: > On Wed, Jul 29, 2015 at 2:15 AM, Jonathan Wakely wrote: >> Yes, that makes sense. See the code in for how >> to set the alignment of the buffer appropriately. You can use the size >> and alignment of std::function even though it will >> sometime

RE: [PATCH v3][aarch64] Implemented reciprocal square root (rsqrt) estimation in -ffast-math

2015-07-29 Thread Kumar, Venkataramanan
Hi Benedikt, I ran SPEC2006 fp with your previous patch (v2) for cortex-a57. Gromacs gains ~5% for -mcpu=cortex-a57 -Ofast and gains ~11% with -mcpu=cortex-a57 -Ofast -mlow-precision-recip-sqrt. Other FP benchmarks were within noise. However I will leave it for Aarch64 maintainers to dec

C++ PATCH for c++/67021 (dependent alias template specialization)

2015-07-29 Thread Jason Merrill
In this testcase, having previously determined that "int" is not dependent was confusing us into thinking that ValueType was not dependent. But under DR 1558, it is. Tested x86_64-pc-linux-gnu, applying to trunk. commit 4f4b8497f404ab8f8d641878ee03ee91e6dcf6fb Author: Jason Merrill Date: Th

Re: [PATCH 0/9] start converting POINTER_SIZE to a hook

2015-07-29 Thread Trevor Saunders
On Wed, Jul 29, 2015 at 09:11:21AM +0100, Richard Sandiford wrote: > Trevor Saunders writes: > > On Tue, Jul 28, 2015 at 09:24:17PM +0100, Richard Sandiford wrote: > >> Trevor Saunders writes: > >> > On Mon, Jul 27, 2015 at 09:05:08PM +0100, Richard Sandiford wrote: > >> >> Alternatively we could

<    1   2