[google gcc-4_8][x86_64]Optimize access to globals in "-fpie -pie" builds with copy relocations

2014-05-22 Thread Sriraman Tallam
This patch is pending review for trunk. Please see if this is ok to commit to google/gcc-4_8 branch. Please see this for more details: https://gcc.gnu.org/ml/gcc-patches/2014-05/msg01215.html Patch attached. Thanks Sri Index: config/i386/i386.c ===

Re: [google gcc-4_8][x86_64]Optimize access to globals in "-fpie -pie" builds with copy relocations

2014-05-22 Thread Paul Pluzhnikov
On Thu, May 22, 2014 at 4:36 PM, Sriraman Tallam wrote: > This patch is pending review for trunk. Please see if this is ok to > commit to google/gcc-4_8 branch. Please see this for more details: > > https://gcc.gnu.org/ml/gcc-patches/2014-05/msg01215.html +mld-pie-copyrelocs +Target Report Var(ix

Re: [google gcc-4_8][x86_64]Optimize access to globals in "-fpie -pie" builds with copy relocations

2014-05-22 Thread Xinliang David Li
Also missing documentation in invoke.texi? Other than that, ok. David On Thu, May 22, 2014 at 5:00 PM, Paul Pluzhnikov wrote: > On Thu, May 22, 2014 at 4:36 PM, Sriraman Tallam wrote: >> This patch is pending review for trunk. Please see if this is ok to >> commit to google/gcc-4_8 branch. Plea

Re: [PATCH] A new reload-rewrite pattern recognizer for GCC vectorizer.

2014-05-22 Thread Cong Hou
Ping? thanks, Cong On Wed, Apr 30, 2014 at 1:28 PM, Cong Hou wrote: > Thank you for reminding me the omp possibility. Yes, in this case my > pattern is incorrect, because I assume all aliases will be resolved by > alias checks, which may not be true with omp. > > LOOP_VINFO_NO_DATA_DEPENDENCIE

patch to fix PR61215

2014-05-22 Thread Vladimir Makarov
The following patch fixes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61215 The patch was bootstrapped on x86/x86-64 and arm and tested on x86/x86-64. Unfortunately I did not managed to decrease the test significantly to include it into the testsuite. Committed as rev. 210828 into

Re: Breakage with [PATCH, libgfortran] PR60324 Handle arbitrarily long path names

2014-05-22 Thread Hans-Peter Nilsson
On Fri, 23 May 2014, Janne Blomqvist wrote: > On Thu, May 22, 2014 at 6:36 PM, Hans-Peter Nilsson wrote: > > This patch broke build for newlib targets; you need AC_DEFINE > > clauses for those in the "if-then"-leg where you patched the > > "else"-leg. > > Do I? The way that configure-clause is wr

RE: [PATCH][1/3] Fix PR54733 Optimize endian independent load/store

2014-05-22 Thread Thomas Preud'homme
> From: Richard Biener [mailto:richard.guent...@gmail.com] > On Fri, Apr 4, 2014 at 7:48 AM, Thomas Preud'homme > wrote: > > > > Please find attached an updated patch. > > This is ok. Commited. It was already tested against trunk since it was on the same branch as my patch for PR54733 which I re

RE: [PATCH] Fix PR54733 Optimize endian independent load/store

2014-05-22 Thread Thomas Preud'homme
> From: Richard Biener [mailto:richard.guent...@gmail.com] > On Wed, May 21, 2014 at 3:00 AM, Thomas Preud'homme > wrote: > > > > Updated ChangeLogs: > > > > *** gcc/ChangeLog *** > > > > 2014-05-20 Thomas Preud'homme > > > > PR tree-optimization/54733 > > * tree-ssa-math-opts.

RE: [PATCH][MIPS] P5600 scheduling

2014-05-22 Thread Jaydeep Patil
Hi Richard, Thanks for the review. Let me get back to you on the results of -fsched-pressure --param sched-pressure-algorithm=2 options. Yes, we start the EBB with pressure 0. Thanks, Jaydeep -Original Message- From: Richard Sandiford [mailto:rdsandif...@googlemail.com] Sent: 22 May 20

Re: libsanitizer merge from upstream r208536

2014-05-22 Thread Yury Gribov
On 05/22/2014 11:54 PM, Jakub Jelinek wrote: > Kostya, guess you should ignore the vDSO. Right, we didn't encounter this problem when testing on our kernels. I'll cook a patch for this. > much better would be just dlsym a couple of > interesting symbols to verify that libasan.so.1 is ahead > o

[PATCH 2/9] rs6000: New type attribute value "halfmul"

2014-05-22 Thread Segher Boessenkool
This is for the legacy integer multiply-accumulate instructions. Quite a mouthful, and "mulhw" is also a terrible name since we already have a machine instruction called exactly that. Hence "halfmul". Also fixes the titan automaton description for this. 2014-05-22 Segher Boessenkool gcc/

[PATCH 1/9] rs6000: Clean up the "type" attribute

2014-05-22 Thread Segher Boessenkool
Get rid of the one huge line. Group and order things a bit. Further changes will follow so this doesn't try to make it perfect. The rest of this patch series reduces the number of different integer instruction types by folding many together using attributes "size" (the data size), "dot" (does th

[PATCH 3/9] rs6000: Make all multiply instructions one type

2014-05-22 Thread Segher Boessenkool
This uses the attributes "size" and "dot" to specify the differences: imul3 -> mul size=8 imul2 -> mul size=16 imul -> mul size=32 lmul -> mul size=64 imul_compare -> mul size=32 dot=yes lmul_compare -> mul size=64 dot=yes 2014-05-22 Segher Boesse

[PATCH 4/9] rs6000: Make all insert instructions one type

2014-05-22 Thread Segher Boessenkool
This uses the attribute "size" to specify the differences: insert_word -> insert size=32 insert_dword -> insert size=64 It could use "dot" as well, but the current code doesn't handle that. 2014-05-22 Segher Boessenkool gcc/ * config/rs6000/rs6000.md (type): Delete

Re: libsanitizer merge from upstream r208536

2014-05-22 Thread Jakub Jelinek
On Fri, May 23, 2014 at 09:30:12AM +0400, Yury Gribov wrote: > > much better would be just dlsym a couple of > > interesting symbols to verify that libasan.so.1 is ahead > > of libc.so.6, libstdc++.so.6, libpthread.so.0 (whatever else > > you want to override). > > One problem with dlsym() that I'

[PATCH 5/9] rs6000: Make all divide instructions one type

2014-05-22 Thread Segher Boessenkool
This uses the attribute "size" to specify the differences: idiv -> div size=32 ldiv -> div size=64 It could use "dot" as well, but the current code doesn't handle that. 2014-05-22 Segher Boessenkool gcc/ * config/rs6000/rs6000.md (type): Delete "idiv", "ldiv". Add

[PATCH 9/9] rs6000: Make all rlw*nm and rld*c* type shift

2014-05-22 Thread Segher Boessenkool
They are often labeled just "integer" currently. Fix that. Also handle shift properly in those scheduling descriptions that neglected it. 2014-05-22 Segher Boessenkool gcc/ * config/rs6000/440.md (ppc440-integer): Include shift without dot. (ppc440-compare): Include

[PATCH 7/9] rs6000: Make all add instructions one type

2014-05-22 Thread Segher Boessenkool
They are currently just "integer", but the dot version is fast_compare. This makes them all "add". Later we should introduce attributes to distinguish e.g. addc and adde (which aren't currently handled as separate instructions at all, only in groups). 2014-05-22 Segher Boessenkool gcc/

[PATCH 8/9] rs6000: Make all logical instructions one type

2014-05-22 Thread Segher Boessenkool
They are currently just "integer", but the dot version is fast_compare. This makes them all "logical". 2014-05-22 Segher Boessenkool gcc/ * config/rs6000/rs6000.md (type): Add "logical". Delete "fast_compare". (dot): Adjust comment. (andsi3_mc, *andsi3_interna

<    1   2