On Wed, Dec 17, 2008 at 01:33:38PM +0700, Ha Luong wrote: > Thanks for your guide. When I debugged the exe file or make it ran on > 8548 board, the vmhaddshs makes the exe file hang out. Could I compile > the source for 8540 (e500v1 instructions) only?
Sure. But evstdd{,x} are e500v1 instructions too, so you'll still see them in the generated exe file. My guess is that you're taking alignment traps on those instructions. You need to compile with -mabi=spe in addition to -mcpu=8540 to ensure that the stack and register save areas are properly aligned. -Nathan