Commit 5d75e51
Remove checks for 64-bit shift instructions
These aren't really needed; if it's for a 32-bit architecture that can't
handle 64-bit shifts, then the instruction won't be decoded in the first
place. Because the registerSize is derived from the address size, it may
interfere with 64-bit architectures that are using signed 32-bit
addresses.
There are a few other places that check registerSize (for example, the
32->64 bit sign extension idiom and MADD, MADDU) that are suspect, but
not included in this commit. The difference is that for 64-bit shifts,
checking at all for the register size is the problem; for those, the
check is still needed to figure out whether to sign extend or not, but
the value of registerSize is suspect.1 parent 9dcede6 commit 5d75e51
1 file changed
+0
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1493 | 1493 | | |
1494 | 1494 | | |
1495 | 1495 | | |
1496 | | - | |
1497 | | - | |
1498 | | - | |
1499 | | - | |
1500 | | - | |
1501 | 1496 | | |
1502 | 1497 | | |
1503 | 1498 | | |
1504 | | - | |
1505 | | - | |
1506 | | - | |
1507 | | - | |
1508 | | - | |
1509 | 1499 | | |
1510 | 1500 | | |
1511 | 1501 | | |
1512 | 1502 | | |
1513 | | - | |
1514 | | - | |
1515 | | - | |
1516 | | - | |
1517 | | - | |
1518 | 1503 | | |
1519 | 1504 | | |
1520 | 1505 | | |
1521 | | - | |
1522 | | - | |
1523 | | - | |
1524 | | - | |
1525 | | - | |
1526 | 1506 | | |
1527 | 1507 | | |
1528 | 1508 | | |
1529 | 1509 | | |
1530 | | - | |
1531 | | - | |
1532 | | - | |
1533 | | - | |
1534 | | - | |
1535 | 1510 | | |
1536 | 1511 | | |
1537 | 1512 | | |
1538 | | - | |
1539 | | - | |
1540 | | - | |
1541 | | - | |
1542 | | - | |
1543 | 1513 | | |
1544 | 1514 | | |
1545 | 1515 | | |
| |||
0 commit comments