| 461 | } |
| 462 | |
| 463 | static __inline u_long |
| 464 | rxcr(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 | |
| 472 | static __inline void |
| 473 | load_xcr(u_int reg, u_long val) |
no outgoing calls
no test coverage detected