MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / xclz64

Method xclz64

pulley/src/interp.rs:2453–2457  ·  view source on GitHub ↗
(&mut self, dst: XReg, src: XReg)

Source from the content-addressed store, hash-verified

2451 }
2452
2453 fn xclz64(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2454 let a = self.state[src].get_u64();
2455 self.state[dst].set_u64(a.leading_zeros().into());
2456 ControlFlow::Continue(())
2457 }
2458
2459 fn xpopcnt32(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2460 let a = self.state[src].get_u32();

Callers

nothing calls this directly

Calls 3

leading_zerosMethod · 0.80
get_u64Method · 0.45
set_u64Method · 0.45

Tested by

no test coverage detected