Revision 297d8e62
b/target-ppc/translate.c | ||
---|---|---|
1229 | 1229 |
if (nb == 0) |
1230 | 1230 |
nb = 32; |
1231 | 1231 |
nr = nb / 4; |
1232 |
if (((start + nr) > 32 && start <= ra && (start + nr - 32) >= ra) ||
|
|
1233 |
((start + nr) <= 32 && start <= ra && (start + nr) >= ra)) {
|
|
1232 |
if (((start + nr) > 32 && start <= ra && (start + nr - 32) > ra) || |
|
1233 |
((start + nr) <= 32 && start <= ra && (start + nr) > ra)) { |
|
1234 | 1234 |
RET_EXCP(EXCP_PROGRAM, EXCP_INVAL | EXCP_INVAL_LSWX); |
1235 |
}
|
|
1235 |
} |
|
1236 | 1236 |
if (ra == 0) { |
1237 | 1237 |
gen_op_set_T0(0); |
1238 | 1238 |
} else { |
Also available in: Unified diff