MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rxcr

Function rxcr

freebsd/amd64/include/cpufunc.h:463–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463static __inline u_long
464rxcr(u_int reg)
465{
466 u_int low, high;
467
468 __asm __volatile("xgetbv" : "=a" (low), "=d" (high) : "c" (reg));
469 return (low | ((uint64_t)high << 32));
470}
471
472static __inline void
473load_xcr(u_int reg, u_long val)

Callers 3

vmm_host_state_initFunction · 0.50
save_guest_fpustateFunction · 0.50
machdep.cFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected