Re: targetm.vectorize.builtin_vec_perm

2009-11-16 Thread Joern Rennecke
Quoting Richard Henderson : Truly variable permutation is something that's only supported by ppc and spu. SH64 also has variable permutation. 16 bit elements within its 64 bit vector size can be permuted. HOWEVER! Most of the useful permutations that I can think of for the optimizers to ge

targetm.vectorize.builtin_vec_perm

2009-11-16 Thread Richard Henderson
What is this hook supposed to do? There is no description of its arguments. What is the theory of operation of permute within the vectorizer? Do you actually need variable permute, or would constants be ok? I'm contemplating adding a tree- and gimple-level VEC_PERMUTE_EXPR of the form:

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-16 Thread Ian Lance Taylor
Sebastian Pop writes: > I haven't looked at the gccgo branch yet, but have quickly browsed > over the material at golang.org, and I found no document describing, > at a high level, the design of the compiler(s) and the runtime of go. As far as I know there is no such document. First let me say

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-16 Thread Sebastian Pop
Hi Ian, On Tue, Nov 10, 2009 at 17:21, Ian Lance Taylor wrote: > For the last year and a half I've been working on a gcc frontend for > Go, a new experimental systems programming language designed by a > small group at Google.  We've just open sourced it.  You can read more > about it at http://g

Re: multi threading & load average

2009-11-16 Thread Jonathan Wakely
2009/11/16 Mohsen Pahlevanzadeh: > Dear all, > I wrote a program & when i monitor it with "top" command, i see an > incremental load average.When i see with a profiler program same oprof,i > saw function of my thread has 66%  activity. > I read many body of that function,but i have got 1 result: i

RE: Understanding IRA

2009-11-16 Thread Ian Bolton
Ian Bolton wrote: > Ian Bolton wrote: > > Vladimir Makarov wrote: > > > Ian Bolton wrote: > > > > Yesterday, I wrote: > > > > > > > >> BTW, today I have achieved some good results with existing IRA > by > > > doing > > > >> the following: > > > >> > > > >> 1) Changed the REG_ALLOC_ORDER so that TOP

multi threading & load average

2009-11-16 Thread Mohsen Pahlevanzadeh
Dear all, I wrote a program & when i monitor it with "top" command, i see an incremental load average.When i see with a profiler program same oprof,i saw function of my thread has 66% activity. I read many body of that function,but i have got 1 result: i didn't use thread as safely. Do you know on