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

Method any_fpr

winch/codegen/src/codegen/context.rs:190–192  ·  view source on GitHub ↗

Convenience wrapper around `CodeGenContext::reg_for_class`, to request the next available floating point register.

(&mut self, masm: &mut M)

Source from the content-addressed store, hash-verified

188 /// Convenience wrapper around `CodeGenContext::reg_for_class`, to
189 /// request the next available floating point register.
190 pub fn any_fpr<M: MacroAssembler>(&mut self, masm: &mut M) -> Result<Reg> {
191 self.reg_for_class(RegClass::Float, masm)
192 }
193
194 /// Executes the provided function, guaranteeing that the specified set of
195 /// registers, if any, remain unallocatable throughout the function's

Callers 4

visit_v128_bitselectMethod · 0.80
v128_mulMethod · 0.80
v128_shiftMethod · 0.80
emit_wasm_loadMethod · 0.80

Calls 1

reg_for_classMethod · 0.45

Tested by

no test coverage detected