use of org.graalvm.compiler.lir.sparc.SPARCMove.MoveFpGp in project graal by oracle.
the class SPARCArithmeticLIRGenerator method moveBetweenFpGp.
private void moveBetweenFpGp(AllocatableValue dst, AllocatableValue src) {
AllocatableValue tempSlot;
PlatformKind dstKind = dst.getPlatformKind();
PlatformKind srcKind = src.getPlatformKind();
if (getLIRGen().getArchitecture().getFeatures().contains(CPUFeature.VIS3) && !(srcKind == WORD && dstKind == SINGLE) && !(srcKind == SINGLE && dstKind == WORD)) {
tempSlot = AllocatableValue.ILLEGAL;
} else {
tempSlot = getTempSlot(LIRKind.value(XWORD));
}
getLIRGen().append(new MoveFpGp(dst, src, tempSlot));
}
Aggregations