https://bugs.kde.org/show_bug.cgi?id=384442

--- Comment #1 from John Reiser <jrei...@bitwagon.com> ---
Both problems can be solved by a special case for 'ldmdb' (LoaD Multiple
registers, Decrementing the address Before each fetch).  If either r15(==pc) or
r13(==sp) is to be loaded, then assign the new value to a temporary, and
perform the final assign-from-temporary-to-pc-or-sp only after all other
registers have been fetched and assigned.  This analysis can be done at
translation time.  The same analysis works for any 'ldm', although ldmdb has
the most exposure because r15 and r13 appear before most other registers in the
serial processing.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to