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

Method rotr

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

Source from the content-addressed store, hash-verified

756 }
757
758 fn rotr(self, other: Self) -> ValueResult<Self> {
759 let amt = other.convert(ValueConversionKind::Exact(types::I32))?;
760 binary_match!(rotate_right(&self, &amt); [I8, I16, I32, I64, I128]; [i8, i16, i32, i64, i128]; rhs: I32,u32)
761 }
762
763 fn and(self, other: Self) -> ValueResult<Self> {
764 bitop!(&(self, other))

Callers 1

translate_operatorFunction · 0.80

Calls 1

convertMethod · 0.45

Tested by

no test coverage detected