Commit e5beb18c authored by Razvan A Lupusoru's avatar Razvan A Lupusoru
Browse files

ART: Address issues with kIntrinsicMinMaxDouble for x86



This patch fixes the following issues:
- Makes sure that invoke-static/range is considered for analysis
path that decides whether base of code register is needed.
- Invalidates the code pointer register in intrinsic implementations
of min/max for FP since generated code has diamond shape and Quick
does not correctly handle control flow merges.
- Reverts the clobbering of base of code register from constant
loading path since it reduces performance in linear code that
needs the register.
- Ensures that no assumption is made on whether base of code register
exists in cases like 64-bit where rip register may be used.

Change-Id: I96463ae1197e5cfa2a8bd3571163b38fb338a340
Signed-off-by: default avatarRazvan A Lupusoru <razvan.a.lupusoru@intel.com>
Signed-off-by: default avatarAlexei Zavjalov <alexei.zavjalov@intel.com>
Signed-off-by: default avatarHaitao Feng <haitao.feng@intel.com>
Signed-off-by: default avatarSerguei Katkov <serguei.i.katkov@intel.com>
parent c84b7c54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment