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

Method sshr

cranelift/interpreter/src/value.rs:748–751  ·  view source on GitHub ↗
(self, other: Self)

Source from the content-addressed store, hash-verified

746 }
747
748 fn sshr(self, other: Self) -> ValueResult<Self> {
749 let amt = other.convert(ValueConversionKind::Exact(types::I32))?;
750 binary_match!(wrapping_shr(&self, &amt); [I8, I16, I32, I64, I128]; [i8, i16, i32, i64, i128]; rhs: I32,u32)
751 }
752
753 fn rotl(self, other: Self) -> ValueResult<Self> {
754 let amt = other.convert(ValueConversionKind::Exact(types::I32))?;

Callers 1

translate_operatorFunction · 0.80

Calls 1

convertMethod · 0.45

Tested by

no test coverage detected