Commit 0d5fd49f authored by Vladimir's avatar Vladimir Committed by Serguei Katkov
Browse files

ART: Promoted register may be wrong after the load of zero fp constant



Because of Dalvik byte code's lack of immediate typing,
the same vreg may be used in core, ref and fp operations.
To properly support GC, we must ensure that if a constant zero is loaded
into a fp view of a vreg, it must also be loaded into the core/ref view.
The code that was responsible for ensuring this failed to handle the case
of a vreg having a non-promoted fp view and a promoted core/ref view.

Change-Id: If77295aa93317e749ceacc8c1dd9e582122c368f
Signed-off-by: default avatarVladimir <vladimir.a.ivanov@intel.com>
Signed-off-by: default avatarSerguei Katkov <serguei.i.katkov@intel.com>
parent 6e27f821
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment