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

Method xctz64

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

Source from the content-addressed store, hash-verified

2439 }
2440
2441 fn xctz64(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2442 let a = self.state[src].get_u64();
2443 self.state[dst].set_u64(a.trailing_zeros().into());
2444 ControlFlow::Continue(())
2445 }
2446
2447 fn xclz32(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2448 let a = self.state[src].get_u32();

Callers

nothing calls this directly

Calls 3

trailing_zerosMethod · 0.80
get_u64Method · 0.45
set_u64Method · 0.45

Tested by

no test coverage detected