GNU MP - PPC 440 build observation

Torbjorn Granlund tg at gmplib.org
Sat Nov 26 14:25:49 CET 2011


I looked at your code, and I see nothing wrong with it.

I suggest that you try to find a small example in order to debug the
problem.

My guess is that this is a compiler alias analysis problem.  Your coding
style is unusual, forcing things into memory, which will pose many
aliasing question to the compiler...

(Custom compilers targeting embedded systems are very often scarely
poorly tested.  If you're not using gcc as released by the FSF, I
suggest that you switch over to such a gcc release.)

-- 
Torbjörn


More information about the gmp-discuss mailing list