summaryrefslogtreecommitdiff
path: root/basicblock.cpp
diff options
context:
space:
mode:
authornoone <you@example.com>2024-07-31 19:01:36 -0500
committerAlexander Taylor <alex@vector35.com>2024-08-12 15:50:54 -0400
commit5d75e51b89e4ea10ca21e50bfda1a433c3cbe861 (patch)
treebad6f5cf0e69b78769c196089a370cf7b18dd72c /basicblock.cpp
parent9dcede6e98ead20ebeca926027abf09ad8450584 (diff)
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.
Diffstat (limited to 'basicblock.cpp')
0 files changed, 0 insertions, 0 deletions