Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FEX-Emu/FEX
/ GetFPCR
Function
GetFPCR
Source/Common/HostFeatures.cpp:364–368 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
362
}
363
364
static uint32_t GetFPCR() {
365
uint64_t Result {};
366
__asm(
"mrs %[Res], FPCR"
: [Res]
"=r"
(Result));
367
return Result;
368
}
369
370
static void SetFPCR(uint64_t Value) {
371
__asm(
"msr FPCR, %[Value]"
::[Value]
"r"
(Value));
Callers
1
FetchHostFeatures
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected