use of org.graalvm.compiler.asm.aarch64.AArch64Assembler.ExtendType in project graal by oracle.
the class AArch64AddressValue method toAddress.
public AArch64Address toAddress() {
Register baseReg = toRegister(base);
Register offsetReg = toRegister(offset);
AArch64Assembler.ExtendType extendType = addressingMode == AddressingMode.EXTENDED_REGISTER_OFFSET ? ExtendType.SXTW : null;
return AArch64Address.createAddress(addressingMode, baseReg, offsetReg, displacement / scaleFactor, isScaled(), extendType);
}
Aggregations