MCPcopy Create free account
hub / github.com/WebAssembly/wabt / call_cpuid

Function call_cpuid

wasm2c/wasm-rt-impl.c:244–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242
243#if WASM_RT_USE_SEGUE && defined(__FreeBSD__)
244static void call_cpuid(uint64_t* rax,
245 uint64_t* rbx,
246 uint64_t* rcx,
247 uint64_t* rdx) {
248 __asm__ volatile(
249 "cpuid"
250 : "=a"(*rax), "=b"(*rbx), "=c"(*rcx), "=d"(*rdx) // output operands
251 : "a"(*rax), "c"(*rcx) // input operands
252 );
253}
254#endif
255
256void wasm_rt_init(void) {

Callers 1

wasm_rt_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected