target-tricore: fix RRPW_DEXTR using wrong reg
commit00e1754ff1f6294a29e08398a120663eac723216
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Tue, 10 Feb 2015 18:12:31 +0000 (10 18:12 +0000)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Tue, 24 Mar 2015 08:45:28 +0000 (24 09:45 +0100)
tree66d18c62fa4d0ea3b80be904a0df326145ba3824
parent2b9d09bb3c44de934de03864d56ddd8a38ed863a
target-tricore: fix RRPW_DEXTR using wrong reg

RRPW_DEXTR used r1 for the low part and r2 for the high part. It should be the
other way round. This also fixes that the result of the first shift was not
saved in a temp and could overwrite registers that were needed for the second
shift.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
target-tricore/translate.c