SuperH: correct rotr instruction

This commit is contained in:
Octocontrabass 2020-07-23 16:05:36 -07:00 committed by GitHub
parent ac0a4c9246
commit c9fcb5efe7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1544,7 +1544,7 @@ MovMUReg2: MovMUReg2_15 is MovMUReg2_15 {
{
$(T_FLAG) = ((rn_08_11 & 0x1) != 0);
rn_08_11 = (rn_08_11 >> 1) | sext($(T_FLAG));
rn_08_11 = (rn_08_11 >> 1) | (rn_08_11 << 31);
}
@if SH_VERSION == "2A"