hg: jdk/sandbox: 8210413: AArch64: Optimize div/rem by constant in C1

chris.hegarty at oracle.com chris.hegarty at oracle.com
Tue Sep 25 22:30:20 UTC 2018


Changeset: e1368526699d
Author:    fyang
Date:      2018-09-26 06:26 +0800
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/e1368526699d

8210413: AArch64: Optimize div/rem by constant in C1
Summary: Remove div-by-zero check for non-zero divisor and generate cheap instructions if divisor is power-of-2
Reviewed-by: aph
Contributed-by: pengfei.li at arm.com

! src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp
! src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.hpp
! src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp



More information about the jdk-sandbox-changes mailing list