> That only covers call-preserved registers.  Testing call-clobbered
> registers is harder (but normally unwind information won't be generated
> for them, so they matter less); for iWMMXt I tried testing using
> -fcall-saved-wr0 -fcall-saved-wr1 ... but found that
> CONDITIONAL_REGISTER_USAGE overrides -fcall-saved-* for the wr registers
> and there is no prologue/epilogue support for saving/restoring wcgr
> registers.  You may need to temporarily modify GCC to save and restore
> such registers in order to test the unwinding for them.

Or write testcases by hand in assembly.

Paul

Reply via email to