According to the SPARCv8 and SPARCv9 manuals, the jmpl, rett and return
instructions should generate a mem_address_not_aligned trap if either
of the low-order two bits of the target address is nonzero.

This is true, but in that case alignment should be enforced for loads ands stores as well. The checks also incur a performance penalty for little advantage. Maybe the checks should be enabled only with a compile/run-time option.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



Reply via email to