MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / _allocIfUsedGPRtoXMM

Function _allocIfUsedGPRtoXMM

pcsx2/x86/iCore.cpp:878–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

876}
877
878int _allocIfUsedGPRtoXMM(int gprreg, int mode)
879{
880 const int mmreg = _checkXMMreg(XMMTYPE_GPRREG, gprreg, mode);
881 if (mmreg >= 0)
882 return mmreg;
883
884 return EEINST_XMMUSEDTEST(gprreg) ? _allocGPRtoXMMreg(gprreg, mode) : -1;
885}
886
887int _allocIfUsedFPUtoXMM(int fpureg, int mode)
888{

Callers 1

recMFC1Function · 0.85

Calls 3

_checkXMMregFunction · 0.85
EEINST_XMMUSEDTESTFunction · 0.85
_allocGPRtoXMMregFunction · 0.85

Tested by

no test coverage detected