public class SPARCControlFlow extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SPARCControlFlow.BranchOp |
static class |
SPARCControlFlow.CompareBranchOp |
static class |
SPARCControlFlow.CondMoveOp |
static class |
SPARCControlFlow.ReturnOp |
static class |
SPARCControlFlow.StrategySwitchOp |
static class |
SPARCControlFlow.TableSwitchOp |
Modifier and Type | Field and Description |
---|---|
private static int |
maximumSelfOffsetInstructions |
Constructor and Description |
---|
SPARCControlFlow() |
Modifier and Type | Method and Description |
---|---|
private static void |
cmove(SPARCMacroAssembler masm,
SPARCAssembler.CC cc,
Value result,
SPARCAssembler.ConditionFlag cond,
Value other) |
private static boolean |
emitBranch(CompilationResultBuilder crb,
SPARCMacroAssembler masm,
Kind kind,
SPARCAssembler.ConditionFlag conditionFlag,
LabelRef trueDestination,
LabelRef falseDestination,
boolean withDelayedNop,
double trueDestinationProbability) |
static SPARCAssembler.ConditionFlag |
fromCondition(SPARCAssembler.CC conditionFlagsRegister,
Condition cond,
boolean unorderedIsTrue) |
private static boolean |
isShortBranch(SPARCAssembler asm,
int position,
Assembler.LabelHint hint,
Label label) |
private static final int maximumSelfOffsetInstructions
public SPARCControlFlow()
private static boolean isShortBranch(SPARCAssembler asm, int position, Assembler.LabelHint hint, Label label)
private static boolean emitBranch(CompilationResultBuilder crb, SPARCMacroAssembler masm, Kind kind, SPARCAssembler.ConditionFlag conditionFlag, LabelRef trueDestination, LabelRef falseDestination, boolean withDelayedNop, double trueDestinationProbability)
private static void cmove(SPARCMacroAssembler masm, SPARCAssembler.CC cc, Value result, SPARCAssembler.ConditionFlag cond, Value other)
public static SPARCAssembler.ConditionFlag fromCondition(SPARCAssembler.CC conditionFlagsRegister, Condition cond, boolean unorderedIsTrue)