Package jnr.x86asm
Class SerializerCore
- java.lang.Object
-
- jnr.x86asm.SerializerCore
-
- Direct Known Subclasses:
SerializerIntrinsics
public abstract class SerializerCore extends java.lang.Object
Assembler intrinsics seralizer. SerializerCore is abstract class that is used by @c Assembler and @a Compiler. You probably never use this class directly, instead you use it to serialize intrinsics to @c Assembler or @c Compiler. @c SerializerIntrinsics implements all intruction intrinsics thats used and @c Serializer is public serializer class that should be used (instead of @c SerializerCore or @c SerializerInstrinsics). Note: Use alwaysSerializer
class, this class is only designed to decrease code size when exporting AsmJit library symbols. Some compilers (for example MSVC) are exporting inline symbols when class is declared to export them andSerializer
class contains really huge count of symbols that will be never used (everything is inlined).
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static INST_CODE[]
_cmovcctable
Map used for cmovcc instructions.(package private) static INST_CODE[]
_jcctable
Map used for jcc instructions.(package private) static Operand
_none
(package private) static INST_CODE[]
_setcctable
-
Constructor Summary
Constructors Constructor Description SerializerCore()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) void
_emitJcc(INST_CODE code, Label label, int hint)
(package private) void
_emitJcc(INST_CODE code, Label label, HINT hint)
(package private) abstract void
_emitX86(INST_CODE code, Operand o1, Operand o2, Operand o3)
(package private) static INST_CODE
conditionToCMovCC(CONDITION cc)
(package private) static INST_CODE
conditionToJCC(CONDITION cc)
(package private) static INST_CODE
conditionToSetCC(CONDITION cc)
(package private) void
emitX86(INST_CODE code)
(package private) void
emitX86(INST_CODE code, Operand o1)
(package private) void
emitX86(INST_CODE code, Operand o1, Operand o2)
(package private) void
emitX86(INST_CODE code, Operand o1, Operand o2, Operand o3)
(package private) abstract boolean
is64()
-
-
-
Method Detail
-
emitX86
void emitX86(INST_CODE code)
-
is64
abstract boolean is64()
-
-