
AsmJit
Low-Latency Machine Code Generation
General purpose register (X86|X86_64).
To get a specific register you can use:
x86::eax
or x86::rbx
, etc...x86::gp8(id)
, x86::gp64(id)
, etc...Gp::make_r[8|8lo|8hi|16|32|64](id)
API for convenienceTo cast a register to a specific type, use Gp::r8(), Gp::r8Lo(), Gp::r8Hi(), Gp::r16(), Gp::r32(), and Gp::r64() member functions. Each cast first clones the register and then changes its signature to match the register it has been casted to.
Physical id (X86|X86_64).
Default constructor that only setups basics.
Makes a copy of the other
register having id set to id
Creates a register based on signature
and id
.
Creates a completely uninitialized Gp register operand (garbage).
Creates a new register from register type and id.
Creates a new 8-bit low general purpose register (GPB) having the given register id regId
.
Creates a new 8-bit low general purpose register (GPB) having the given register id regId
.
Creates a new 8-bit high general purpose register (GPB) having the given register id regId
.
Creates a new 16-bit low general purpose register (GPB) having the given register id regId
.
Creates a new 32-bit low general purpose register (GPB) having the given register id regId
.