"Parallel" mode iterators

2014-08-21 Thread Dominik Vogt
Maybe some can help me a little bit with machine descriptions. Assuming there is a define_insn pattern "foo", and that pattern takes two arguments. The first argument sould be of the types DI, SI or HI, and the second argument is always half the size of the first argument. One can define mode ite

Re: "Parallel" mode iterators

2014-08-21 Thread Ilya Verbin
2014-08-21 11:39 GMT+04:00 Dominik Vogt : > One can define mode iterators for > > (define_mode_iterator ITER1 [DI SI HI]) > (define_mode_iterator ITER2 [SI HI QI]) > > Is it possible to write something like this: > > (define_insn "foo" > [(set (match_operand:ITER1 0 ...) > ... >

Re: LTO bootstrap compare errors for ARM64

2014-08-21 Thread Richard Biener
On Wed, Aug 20, 2014 at 6:12 PM, Jan Hubicka wrote: >> On Wed, Aug 20, 2014 at 9:28 AM, Venkataramanan Kumar >> wrote: >> > Hi Honza, >> > >> > After discussing with Richard Beiner via >> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077, it look like it is >> > an existing problem in trunk an

Re: [match-and-simplify] express conversions in transform ?

2014-08-21 Thread Prathamesh Kulkarni
On Tue, Aug 19, 2014 at 4:35 PM, Richard Biener wrote: > On Tue, Aug 19, 2014 at 12:18 PM, Prathamesh Kulkarni > wrote: >> I was wondering how to write transform that involves conversions >> (without using c_expr) ? >> for eg: >> (T1)(~(T2) X) -> ~(T1) X >> // T1, T2 has same precision and X is

Re: LTO inhibiting dwarf lexical blocks output

2014-08-21 Thread Richard Biener
On Wed, Aug 20, 2014 at 6:18 PM, Jan Hubicka wrote: >> On August 18, 2014 8:46:00 PM CEST, Jan Hubicka wrote: >> >> >> >> The following seems to fix it. In testing now. >> > >> >Will streaming as non-reference prevent DECL from being merged and >> >tails of BLOCK_VAR chains >> >to be corrupted?

Re: Frame pointer optimization issues

2014-08-21 Thread Richard Earnshaw
On 21/08/14 00:24, Richard Henderson wrote: > On 08/20/2014 08:22 AM, Wilco Dijkstra wrote: >> 2. Change the mid-end to call _frame_pointer_required even when >> !flag_omit_frame_pointer. > > Um, it does that already. At least as far as I can see from > ira_setup_eliminable_regset and update_elim

Re: [match-and-simplify] express conversions in transform ?

2014-08-21 Thread Richard Biener
On Thu, Aug 21, 2014 at 10:42 AM, Prathamesh Kulkarni wrote: > On Tue, Aug 19, 2014 at 4:35 PM, Richard Biener > wrote: >> On Tue, Aug 19, 2014 at 12:18 PM, Prathamesh Kulkarni >> wrote: >>> I was wondering how to write transform that involves conversions >>> (without using c_expr) ? >>> for eg:

RE: Frame pointer optimization issues

2014-08-21 Thread Thomas Preud'homme
> From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of > Wilco Dijkstra > > One could hack this a bit further and set flag_omit_frame_pointer = 2 to > differentiate between a > user setting and the override hack, but that's just making things even worse. > So I see 3 possible >

Re: [match-and-simplify] express conversions in transform ?

2014-08-21 Thread Richard Biener
On Thu, Aug 21, 2014 at 11:57 AM, Richard Biener wrote: > On Thu, Aug 21, 2014 at 10:42 AM, Prathamesh Kulkarni > wrote: >> On Tue, Aug 19, 2014 at 4:35 PM, Richard Biener >> wrote: >>> On Tue, Aug 19, 2014 at 12:18 PM, Prathamesh Kulkarni >>> wrote: I was wondering how to write transform

Possible "C++ for embedded systems" WG21 working group

2014-08-21 Thread Daniel Gutson
Hi falks, since the last WG21 meeting held at Rapperswil, where I gave a presentation of issues and opportunities to improve in the C++ language regarding embedded systems development, I'm pursuing the creation of a Committee's Working Group. There was agreement that the issues were relevant a

RE: Frame pointer optimization issues

2014-08-21 Thread Wilco Dijkstra
> Richard Henderson wrote: > On 08/20/2014 08:22 AM, Wilco Dijkstra wrote: > > 2. Change the mid-end to call _frame_pointer_required even when > > !flag_omit_frame_pointer. > > Um, it does that already. At least as far as I can see from > ira_setup_eliminable_regset and update_eliminables. No, i

[NEW PLATFORM] [HELP] GCC on the Broadcom VideoCore IV VPU

2014-08-21 Thread Mohamed MEDIOUNI
The BCM2835 (the RPi chip) does have a custom ISA general-purpose CPU with SIMD extensions ( which does not have a MMU). As I develop a FOSS blob for the Pi(github.com/freeblobĀ , I need something less crappy than the ACK (it can only create 5 vars per function). The GCC port for VC4 has mangled

gcc-4.8-20140821 is now available

2014-08-21 Thread gccadmin
Snapshot gcc-4.8-20140821 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.8-20140821/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Is that a problem?

2014-08-21 Thread lin zuojian
Hi, After applied a patch to GCC to make it warn about strict aliasing violating, like this: diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index b6ecaa4..95e745c 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -2913,6 +2913,10 @@ setup_one_parameter (copy_body_data *id, tree

Re: Is that a problem?

2014-08-21 Thread lin zuojian
Hi, I knew what is going on now. strict_aliasing_warning has not considered tbaa. We might want to fix it. -- Lin Zuojian