use of org.graalvm.compiler.lir.sparc.SPARCBitManipulationOp in project graal by oracle.
the class SPARCArithmeticLIRGenerator method emitBitScanForward.
@Override
public Variable emitBitScanForward(Value operand) {
Variable result = getLIRGen().newVariable(LIRKind.combine(operand).changeType(SPARCKind.WORD));
getLIRGen().append(new SPARCBitManipulationOp(BSF, result, getLIRGen().asAllocatable(operand), getLIRGen()));
return result;
}
Aggregations