Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Xbyak::inner Namespace Reference

Enumerations

enum  LabelMode { LasIs , Labs , LaddTop }
 

Functions

bool IsInDisp8 (uint32 x)
 
bool IsInInt32 (uint64 x)
 
uint32 VerifyInInt32 (uint64 x)
 

Enumeration Type Documentation

◆ LabelMode

Enumerator
LasIs 
Labs 
LaddTop 

Definition at line 298 of file xbyak.h.

298 {
299 LasIs, // as is
300 Labs, // absolute
301 LaddTop // (addr + top) for mov(reg, label) with AutoGrow
302};

Function Documentation

◆ IsInDisp8()

bool Xbyak::inner::IsInDisp8 ( uint32 x)
inline

Definition at line 287 of file xbyak.h.

287{ return 0xFFFFFF80 <= x || x <= 0x7F; }
Here is the caller graph for this function:

◆ IsInInt32()

bool Xbyak::inner::IsInInt32 ( uint64 x)
inline

Definition at line 288 of file xbyak.h.

288{ return ~uint64(0x7fffffffu) <= x || x <= 0x7FFFFFFFU; }
uint64_t uint64
Definition xbyak.h:117
Here is the caller graph for this function:

◆ VerifyInInt32()

uint32 Xbyak::inner::VerifyInInt32 ( uint64 x)
inline

Definition at line 290 of file xbyak.h.

291{
292#ifdef XBYAK64
293 if (!IsInInt32(x)) throw Error(ERR_OFFSET_IS_TOO_BIG);
294#endif
295 return static_cast<uint32>(x);
296}
Error
Definition calc.cpp:23
bool IsInInt32(uint64 x)
Definition xbyak.h:288
unsigned int uint32
Definition xbyak.h:120