This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Valgrind on ppc750 (was: Re: no-altivec assembler option)


Rohan Chitradurga wrote:
...  the hardware
doesnt have an altivec unit. I am facing this problem when I am trying to
cross compile valgrind for ppc750. There is an experimental valgrind by Paul
Mackerras available on http://valgrind.kde.org/related.html. ...

It fails when it tries to compile an assembly file...

[ I get errors "invalid opcode stvx, mtvrsave, mfvrsave etc". ]


I suspect vg_ppc_helpers.S needs to somehow not use altivec if not present.
Maybe you could surround the innards of the load_vec_state etc. functions with #if HAVE_ALTIVEC,
and add a check for altivec assembler support into the configure script ?
Good luck!
- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]