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

Method xpopcnt64

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

Source from the content-addressed store, hash-verified

2463 }
2464
2465 fn xpopcnt64(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2466 let a = self.state[src].get_u64();
2467 self.state[dst].set_u64(a.count_ones().into());
2468 ControlFlow::Continue(())
2469 }
2470
2471 fn xrotl32(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> {
2472 let a = self.state[operands.src1].get_u32();

Callers

nothing calls this directly

Calls 3

count_onesMethod · 0.80
get_u64Method · 0.45
set_u64Method · 0.45

Tested by

no test coverage detected