https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387

--- Comment #6 from Sebastian Huber <sebastian.hu...@embedded-brains.de> ---
(In reply to Peter Bergner from comment #5)
> (In reply to Sebastian Huber from comment #4)
> > If I remove the -msoft-float, the two example source files compile
> > (-mno-altivec seems to cause no harm).
> 
> Well the first question, is do you really need to use -msoft-float?  Looking
> at the E6500 hardware doc seems to show that it has both hardware FP and
> Altivec units.

For some applications fast context switches are important and the FP/AltiVec
context is quite huge. It affects also the interrupt latency. I have to discuss
this with the application developers. We probably don't need it in a 64-bit
configuration.

> 
> 
> > How can I dump the instruction? I don't know Ada well enough to figure it
> > out from the source code.
> 
> I don't know Ada as well, but I mean what does the RTL insn look like? 
> You'll probably  need a debug build of your gcc for that so it isn't
> optimized away and then you can print it from gdb.

Ok, I will try to do this. I am not sure how it works with the cross compiler
build:

https://gcc.gnu.org/wiki/DebuggingGCC#gccbuilddebug

Reply via email to