MCPcopy Create free account
hub / github.com/ZDoom/Raze / x86EncodeMod

Function x86EncodeMod

libraries/asmjit/asmjit/base/codeholder.cpp:534–536  ·  view source on GitHub ↗

Encode MOD byte.

Source from the content-addressed store, hash-verified

532
533//! Encode MOD byte.
534static ASMJIT_INLINE uint32_t x86EncodeMod(uint32_t m, uint32_t o, uint32_t rm) noexcept {
535 return (m << 6) | (o << 3) | rm;
536}
537
538Error CodeHolder::newRelocEntry(RelocEntry** dst, uint32_t type, uint32_t size) noexcept {
539 ASMJIT_PROPAGATE(_relocations.willGrow(&_baseHeap));

Callers 1

relocateMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected