Commit 36b36504 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

V4 runtime: tune Runtime::add/sub/mul a bit.


Tell the compiler to schedule the int32 case first, tune the double
conversion a bit (int64->double is quite expensive), and write the
function in such a way that it matches typical overflow idiom which
compilers recognize.

Change-Id: Ieae9a60275716002fbdbc54e1d7291c8aad8c927
Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
parent dac6bad5
Branches
Tags
No related merge requests found
Showing with 33 additions and 38 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment