MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / MapFloatToIntReg

Function MapFloatToIntReg

extensions/bintools/jit_call_x64.cpp:550–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548
549#ifdef PLATFORM_WINDOWS
550inline uint8_t MapFloatToIntReg(uint8_t floatReg)
551{
552 switch (floatReg)
553 {
554 case kREG_XMM0:
555 return kREG_RCX;
556 case kREG_XMM1:
557 return kREG_RDX;
558 case kREG_XMM2:
559 return kREG_R8;
560 case kREG_XMM3:
561 return kREG_R9;
562 default:
563 return INVALID_REG;
564 }
565}
566
567inline void Write_VarArgFloatCopy(JitWriter *jit, const SourceHook::PassInfo *info, uint8_t *floatRegs)
568{

Callers 1

Write_VarArgFloatCopyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected