Descriptions390x: Fix the logic to detect INT_MIN in simulator
Converting INT_MIN to positive should cause overflow,
which was not being captured. Fixed the logic to detect
if value is equal to INT_MIN and set the overflow code
accordingly.
R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
BUG=
LOG=N
Committed: https://crrev.com/4d6df11f2c8ed0968c0a34a480c5f4a3e1dc3cca
Cr-Commit-Position: refs/heads/master@{#40631}
Patch Set 1 #Patch Set 2 : minor fix #Messages
Total messages: 7 (2 generated)
|