Re: Why high vsr registers [vsr32 - vsr63] are not used when -mvsx is specified on powerpc?

2013-07-17 Thread David Edelsohn
On Wed, Jul 17, 2013 at 7:27 PM, Carrot Wei wrote: > Hi > > When I tried to build 444.namd with options "-O2 -m64 -mvsx > -mcpu=power7", I can see vsx instructions are actually used, there are > many xs- started instructions, but none of them use high registers > [vsr32 -vsr63], does anybody know

Why high vsr registers [vsr32 - vsr63] are not used when -mvsx is specified on powerpc?

2013-07-17 Thread Carrot Wei
Hi When I tried to build 444.namd with options "-O2 -m64 -mvsx -mcpu=power7", I can see vsx instructions are actually used, there are many xs- started instructions, but none of them use high registers [vsr32 -vsr63], does anybody know the reason? One example is function calc_pair_energy_fullelect

Help forging a function_decl

2013-07-17 Thread Rodolfo Guilherme Wottrich
Hello there, Please disregard this message in case it doesn't fit here. During compilation of a C file, I need to be able to create a global function definition, with whatever a body I may have forged. I mean, the function is not going to be present in the source file and I got to create the resp