diff options
| author | Markus Wick <markus@selfnet.de> | 2017-08-11 16:41:23 +0200 |
|---|---|---|
| committer | Markus Wick <markus@selfnet.de> | 2017-08-11 17:35:22 +0200 |
| commit | b89e4b52581df8785d593e15c7ad6ee6d0eaebed (patch) | |
| tree | c73aea6fbac40016acd81eb6802322b5c2d183fe /Source/UnitTests/Common/BitUtilsTest.cpp | |
| parent | 57673096703261bbca63719eb205988daa21d0b8 (diff) | |
Interpreter: Fix cmpi.
cmpi shall compare two signed 32 bit values. The used difference a-b
may overflow and so the resulting 32 bit value can't represent it.
A correct way would be cr = s64(a) - s64(b) and it should be done in
this way in the JITs, but the Interpreter shall implement the most
readable way.
Also drops the now unused helper function.
Diffstat (limited to 'Source/UnitTests/Common/BitUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions
