Re: [PATCH] Add infrastructure to merge standard builtin enums with backend builtins

2011-08-27 Thread Richard Guenther
On Sat, Aug 27, 2011 at 12:12 AM, Mike Stump mikest...@comcast.net wrote: On Aug 26, 2011, at 7:19 AM, Michael Meissner wrote: The alternative is something like what Kenney and Mike are doing in their private port, where they have new syntax in the MD file for builtins. But are those

[PATCH, i386]: Fix PR50202, ICE: in final_scan_insn, at final.c:2709 (could not split insn) with __builtin_ia32_pcmpistri128

2011-08-27 Thread Uros Bizjak
Hello! Attached patch fixes corner case with -fno-dse, where the insn has all outputs unused. Do not bother with the insn in this case and simply delete it from splitter. 2011-08-27 Uros Bizjak ubiz...@gmail.com PR target/50202 * config/i386/sse.md (sse4_2_pcmpestr): Emit

[PATCH, MELT] fixing upgrade-warmelt target

2011-08-27 Thread Pierre Vittet
Hello, I am trying to fix upgrade-warmelt into last revision of MELT. We are using some move-if-change on meltdesc file (in melt-stage3 for example) to make a save (to a meltdesc\~) but we still need the meltdesc file for the generated files. So I replaced move-ifchange by a cp and it goes

Re: [libcpp,lto,fortran PATCH] Fix linemap_add use and remove unnecessary kludge

2011-08-27 Thread Dodji Seketeli
Tom Tromey tro...@redhat.com writes: Dodji* line-map.c (linemap_add): Assert that reason must not be DodjiLC_RENAME when called for the first time on a main input file. This is ok. I can't approve the rest but it seems reasonable. Tobias Burnus bur...@net-b.de writes: The

Re: [v3] Handle different versions of Solaris 8 iso/math_iso.h, iso/stdlib_iso.h

2011-08-27 Thread Paolo Carlini
Hi, -PASS: abi/header_cxxabi.c (test for excess errors) +FAIL: abi/header_cxxabi.c (test for excess errors) FAIL: abi/header_cxxabi.c (test for excess errors) Excess errors:

[PATCH, i386]: Add REG_EQUAL notes to SSE mult sequences (+ a fix in legitimize_tls_address)

2011-08-27 Thread Uros Bizjak
Hello! 2011-08-27 Uros Bizjak ubiz...@gmail.com * config/i386/sse.md (mulv16qi3): Attach REG_EQUAL note. (*sse2_mulv4si3): Ditto. (mulv2di3): Ditto. * config/i386/i386.c (legitimize_tls_address): Change REG_EQIV notes to REG_EQUAL. Tested on

[PATCH, i386]: A couple of small fixes

2011-08-27 Thread Uros Bizjak
Hello! 2011-08-27 Uros Bizjak ubiz...@gmail.com * config/i386/sse.md (*absnegmode2): Fix split condition. (vec_extract_lo_mode): Prevent both operands in memory. (vec_extract_lo_v16hi): Ditto. (*vec_extract_v4sf_mem): Add TARGET_SSE insn constraint. Tested on

Re: [libcpp,lto,fortran PATCH] Fix linemap_add use and remove unnecessary kludge

2011-08-27 Thread Richard Guenther
On Sat, Aug 27, 2011 at 12:18 PM, Dodji Seketeli do...@redhat.com wrote: Tom Tromey tro...@redhat.com writes: Dodji        * line-map.c (linemap_add): Assert that reason must not be Dodji        LC_RENAME when called for the first time on a main input file. This is ok.  I can't approve the

Re: [x86] Use match_test for .md attributes

2011-08-27 Thread Uros Bizjak
On Mon, Aug 15, 2011 at 11:57 AM, Richard Sandiford rdsandif...@googlemail.com wrote: Following on from the two patches I've just posted, this one makes config/i386/*.md use match_test for .md attributes.  Tested as described here:     http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01182.html

Re: [PATCH][ARM] -m{cpu,tune,arch}=native

2011-08-27 Thread Andrew Stubbs
On 26/08/11 17:16, Joseph S. Myers wrote: arm-tables.opt is a generated file. You need to modify the source files and regenerate it, not modify the generated file. Fixed; the native option value is now defined in arm.opt. Thanks for spotting this. OK? Andrew 2011-08-27 Andrew Stubbs

Re: [PATCH][ARM] Generic tuning

2011-08-27 Thread Andrew Stubbs
On 26/08/11 17:18, Joseph S. Myers wrote: Again, arm-tables.opt is generated - so the log entry should just be * config/arm/arm-tables.opt: Regenerate. and the file should be what you get from regeneration. Changelog entry updated. The file was already correct. OK? Andrew

Re: [SPARC] Fix bugs with setjmp/longjmp + alloca

2011-08-27 Thread Eric Botcazou
I guess when using setjmp/longjmp for exceptions the requirements increase above and beyond what is normally sufficient, and that's why you have to update the buffer? Absolutely, you needed to update the buffer in the EH case, e.g. in Ada. VLAs aren't first-class citizens so this wasn't really

Re: [PATCH 4/6] Shrink-wrapping

2011-08-27 Thread H.J. Lu
On Wed, Aug 24, 2011 at 9:46 AM, Bernd Schmidt ber...@codesourcery.com wrote: On 08/03/11 17:38, Richard Sandiford wrote: Bernd Schmidt ber...@codesourcery.com writes: +@findex simple_return +@item (simple_return) +Like @code{(return)}, but truly represents only a function return, while

Re: [libcpp,lto,fortran PATCH] Fix linemap_add use and remove unnecessary kludge

2011-08-27 Thread Dodji Seketeli
Hello Richard, Richard Guenther richard.guent...@gmail.com writes: In the LTO FE the two linemap_add calls were to advance the location counter to cover the builtin special locations. You exchange these with only one - that doesn't look correct without more explanation. It seems to me that