| 496 | } |
| 497 | |
| 498 | static __inline uint64_t |
| 499 | rxcr(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 | |
| 507 | static __inline void |
| 508 | load_xcr(u_int reg, uint64_t val) |
no outgoing calls
no test coverage detected