Package ghidra.pcode.emu.jit.gen.op
Enum Class FloatMultOpGen
- All Implemented Interfaces:
BinOpGen<JitFloatMultOp>,FloatOpBinOpGen<JitFloatMultOp>,OpGen<JitFloatMultOp>,Serializable,Comparable<FloatMultOpGen>,Constable
The generator for a
float_mult.
This uses the binary operator generator and simply emits fmul or
dmul depending on the type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface ghidra.pcode.emu.jit.gen.op.BinOpGen
BinOpGen.TakeOutNested classes/interfaces inherited from interface ghidra.pcode.emu.jit.gen.op.OpGen
OpGen.DeadOpResult, OpGen.LiveOpResult, OpGen.OpResult -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescription<N2 extends Emitter.Next,N1 extends Emitter.Ent<N2, Types.TDouble>, N0 extends Emitter.Ent<N1, Types.TDouble>>
Emitter<Emitter.Ent<N2, Types.TDouble>> opForDouble(Emitter<N0> em) Emit the JVM bytecode to perform the operator with double operands on the stack.<N2 extends Emitter.Next,N1 extends Emitter.Ent<N2, Types.TFloat>, N0 extends Emitter.Ent<N1, Types.TFloat>>
Emitter<Emitter.Ent<N2, Types.TFloat>> opForFloat(Emitter<N0> em) Emit the JVM bytecode to perform the operator with float operands on the stack.static FloatMultOpGenReturns the enum constant of this class with the specified name.static FloatMultOpGen[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ghidra.pcode.emu.jit.gen.op.BinOpGen
ext, genMpDelegationToStaticMethod, rExtMethods inherited from interface ghidra.pcode.emu.jit.gen.op.FloatOpBinOpGen
genRun, isSigned
-
Enum Constant Details
-
GEN
The generator singleton
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
opForFloat
public <N2 extends Emitter.Next,N1 extends Emitter.Ent<N2, Emitter<Emitter.Ent<N2,Types.TFloat>, N0 extends Emitter.Ent<N1, Types.TFloat>> Types.TFloat>> opForFloat(Emitter<N0> em) Description copied from interface:FloatOpBinOpGenEmit the JVM bytecode to perform the operator with float operands on the stack.- Specified by:
opForFloatin interfaceFloatOpBinOpGen<JitFloatMultOp>- Type Parameters:
N2- the tail of the incoming stackN1- the tail of the incoming stack including the right operandN0- the incoming stack with the right and left operands on top- Parameters:
em- the emitter typed with the incoming stack- Returns:
- the emitter typed with the resulting stack, i.e., the tail with the result pushed
-
opForDouble
public <N2 extends Emitter.Next,N1 extends Emitter.Ent<N2, Emitter<Emitter.Ent<N2,Types.TDouble>, N0 extends Emitter.Ent<N1, Types.TDouble>> Types.TDouble>> opForDouble(Emitter<N0> em) Description copied from interface:FloatOpBinOpGenEmit the JVM bytecode to perform the operator with double operands on the stack.- Specified by:
opForDoublein interfaceFloatOpBinOpGen<JitFloatMultOp>- Type Parameters:
N2- the tail of the incoming stackN1- the tail of the incoming stack including the right operandN0- the incoming stack with the right and left operands on top- Parameters:
em- the emitter typed with the incoming stack- Returns:
- the emitter typed with the resulting stack, i.e., the tail with the result pushed
-