How do I teach GCC about automatic vec_concat and vec_select?

2006-08-18 Thread Erich Plondke
I'm doing some research on a pretty plain 32-bit RISC architecture that has some extra facilities for doing vector operations. Not exactly new, I know. The difference with this one is that the vectors are pairs of normal registers. This isn't all that new; lots of architectures have normal regi

Re: unwind, x86, DW_CFA_GNU_args_size

2006-08-18 Thread Ian Lance Taylor
Geoffrey Keating <[EMAIL PROTECTED]> writes: > On 18/08/2006, at 5:42 PM, Ian Lance Taylor wrote: > > ... > > We could change CSA so that when it combines a prologue instruction > > with a non-prologue instruction it sets a new flag on the instruction, > > and uses a table on the side to record t

Re: unwind, x86, DW_CFA_GNU_args_size

2006-08-18 Thread Geoffrey Keating
On 18/08/2006, at 5:42 PM, Ian Lance Taylor wrote: ... We could change CSA so that when it combines a prologue instruction with a non-prologue instruction it sets a new flag on the instruction, and uses a table on the side to record the original values in the instruction. I guess that would w

Re: unwind, x86, DW_CFA_GNU_args_size

2006-08-18 Thread Ian Lance Taylor
Geoffrey Keating <[EMAIL PROTECTED]> writes: > The problem is that the code ignores all instructions in the > prologue. It happens, in eh1.C, that a stack adjustment (to enforce > stack alignment) for the call is combined with a different stack > adjustment (to allocate a local variable) in the p

unwind, x86, DW_CFA_GNU_args_size

2006-08-18 Thread Geoffrey Keating
Hi Alexandre, your patch, r112170 | aoliva | 2006-03-16 22:08:49 -0800 (Thu, 16 Mar 2006) | 4 lines * dwarf2out.c (dwarf2out_stack_adjust): Always track the stack pointer, instead of assuming it is possible to derive th

gcc-4.1-20060818 is now available

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

ANNOUNCE: Gelato GCC Improvement on Itanium Workshop Summary, 7-8 August, Moscow Russia

2006-08-18 Thread Mark K. Smith
A meeting of the Gelato GCC Improvement on Itanium Workgroup took place August 7 & 8, 2006 in Moscow, Russia. The workshop was hosted by the Institute for System Programming at the Russian Academy of Sciences and was sponsored by Intel and HP. http://gcc.gelato.org/MoscowMeeting Compiler experts f

Re: strict aliasing issue

2006-08-18 Thread Andrew Pinski
> I'm not a language lawyer; is this a legal program? (If the program > is legal, should I file a PR?) Mike Stump already filed a PR about this, PR 28778 and I gave a full testcase which shows that this is legal code and the compiler should not be removing the store. Oh and I marked it as a

Re: strict aliasing issue

2006-08-18 Thread Andrew Pinski
> > Here's my reduced testcase: > > typedef long GLint; > extern void aglChoosePixelFormat(const GLint *); > void find(const int *alistp) { >const int *blist; >int list[32]; >if (alistp) > blist = alistp; >else { > list[3] = 42; /* this store disappears with -O1 -f

Re: PowerPC FPU support

2006-08-18 Thread Ian Lance Taylor
Michael Eager <[EMAIL PROTECTED]> writes: > David Edelsohn wrote: > >> Michael Eager writes: > > Michael> I'm adding support to GCC for a different PPC floating > > point unit. > > Michael> It's similar to the standard PPC FPU in that it supports most of > > Michael> the same instructions and

strict aliasing issue

2006-08-18 Thread Stuart Hastings
Here's my reduced testcase: typedef long GLint; extern void aglChoosePixelFormat(const GLint *); void find(const int *alistp) { const int *blist; int list[32]; if (alistp) blist = alistp; else { list[3] = 42; /* this store disappears with -O1 -fstrict- aliasing */ blis

Re: PowerPC FPU support

2006-08-18 Thread Michael Eager
David Edelsohn wrote: Michael Eager writes: Michael> I'm adding support to GCC for a different PPC floating point unit. Michael> It's similar to the standard PPC FPU in that it supports most of Michael> the same instructions and all operation are in FP registers. Michael> The FPU comes in a sin

Re: PowerPC FPU support

2006-08-18 Thread David Edelsohn
> Michael Eager writes: Michael> I'm adding support to GCC for a different PPC floating point unit. Michael> It's similar to the standard PPC FPU in that it supports most of Michael> the same instructions and all operation are in FP registers. Michael> The FPU comes in a single-precision and d

PowerPC FPU support

2006-08-18 Thread Michael Eager
I'm adding support to GCC for a different PPC floating point unit. It's similar to the standard PPC FPU in that it supports most of the same instructions and all operation are in FP registers. The FPU comes in a single-precision and double-precision variant. There's also an option of having no FPU

Re: Use gcc front-end for metrics

2006-08-18 Thread Steven Bosscher
On 8/18/06, Roel Meeuws <[EMAIL PROTECTED]> wrote: In order to build a metrication tool I need a frontend that can provide me with an abstract syntax tree containing information on all actual language constructs in the code and also a CFG representation. I reckon GCC has these capabilities and I

Re: Fwd: Hi Friends...

2006-08-18 Thread Paolo Bonzini
Hi Friends, I was skimming through the code after downloading gcc-core-4.1.1.tar.bz2, its really great to see!!! well i was on a lookout for an option in gcc (basically a feature) since i couldn't find, i thought i would "see" how gcc handles that, i have done the code change in a very c

Re: Use gcc front-end for metrics

2006-08-18 Thread Roel Meeuws
Hi, I'm Roel Meeuws a dutch MSc. student that is working on a project involving software metrics. I need a program that can determine a wide variety of code metrics based on control flow graphs and abstract syntax trees. While browsing the internet I found that there are no good GPL'ed metricatio

Fwd: Hi Friends...

2006-08-18 Thread Raghu :-)
Hi Friends, I was skimming through the code after downloading gcc-core-4.1.1.tar.bz2, its really great to see!!! well i was on a lookout for an option in gcc (basically a feature) since i couldn't find, i thought i would "see" how gcc handles that, i have done the code change in a very c