Commit c17ebe86 authored by Alexei Zavjalov's avatar Alexei Zavjalov
Browse files

Incorrect result of the "mul-long by 1" operation



ART handles "mul-long by 1" as a special case and try to alloc a new pair
of regs through the EvalLocWide method and then put there the multiplicand
through the StoreValueWide method. But in case when both multiplicand and
multiplier are constants, it will not place correct values in a new reg pair
and result of calculations will be incorrect. The new solution uses the
only StoreValueWide method.

Change-Id: I3d6947737c92c5a12f2840003b17a427e31d288f
Signed-off-by: default avatarAlexei Zavjalov <alexei.zavjalov@intel.com>
parent ef2cc5a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment