aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-06-05 13:06:54 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-06-21 15:05:57 +0000
commit75306a2f438e1d2b3969a7a3b7ffd8e39b84cd11 (patch)
tree30e5f2e2ea27c0e7bc6bb22f385b7bca7ba8f9ef /tests
parentcb9537d83046dfbfdbe4977999b606fed879d2d7 (diff)
Fix truncating of doubles to integers
When analyzing the data flow and determining that a double is or'ed with 0, we correctly assume a cast to an integer and insert a convert instruction in the IR instead of the actual bitwise or.. The JIT implements that, but the interpreter doesn't, resulting in incorrect values. This problem is specific to the SSA optimizer and the underlying isel requirements in 5.9 and does not apply to the design of the code generator in 5.11 and onwards. Task-number: QTBUG-68640 Change-Id: I954086b118b022bc6a8e00f17517c2d378825613 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions