Commit d8c3e360 authored by Alexei Zavjalov's avatar Alexei Zavjalov Committed by buzbee
Browse files

ART: X86: GenLongArith should handle overlapped VRs



In a case, when src and dest VRs are overlapped when we called
GenLongArith it may cause the incorrect use of regs.

The solution is to map src to an physical reg and work with this
reg instead of mem.

Renamed BadOverlap() to PartiallyIntersects() for consistency.

Change-Id: Ia3fc7f741f0a92556e1b2a1b084506662ef04c9d
Signed-off-by: default avatarKatkov, Serguei I <serguei.i.katkov@intel.com>
Signed-off-by: default avatarAlexei Zavjalov <alexei.zavjalov@intel.com>
parent 9e878d50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment