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

Function rxcr

freebsd/i386/include/cpufunc.h:498–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498static __inline uint64_t
499rxcr(u_int reg)
500{
501 u_int low, high;
502
503 __asm __volatile("xgetbv" : "=a" (low), "=d" (high) : "c" (reg));
504 return (low | ((uint64_t)high << 32));
505}
506
507static __inline void
508load_xcr(u_int reg, uint64_t val)

Callers 3

ossl_cpuidFunction · 0.50
machdep.cFile · 0.50
hw_mds_recalculateFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected