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

Method rotl

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

Source from the content-addressed store, hash-verified

751 }
752
753 fn rotl(self, other: Self) -> ValueResult<Self> {
754 let amt = other.convert(ValueConversionKind::Exact(types::I32))?;
755 binary_match!(rotate_left(&self, &amt); [I8, I16, I32, I64, I128]; [i8, i16, i32, i64, i128]; rhs: I32,u32)
756 }
757
758 fn rotr(self, other: Self) -> ValueResult<Self> {
759 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