openvm_bigint_guest/
lib.rs#![cfg_attr(not(feature = "std"), no_std)]
mod i256;
mod u256;
pub use i256::*;
use strum_macros::FromRepr;
pub use u256::*;
mod utils;
#[allow(unused)]
pub use utils::*;
pub const OPCODE: u8 = 0x0b;
pub const INT256_FUNCT3: u8 = 0b101;
pub const BEQ256_FUNCT3: u8 = 0b110;
#[derive(Debug, Copy, Clone, PartialEq, Eq, FromRepr)]
#[repr(u8)]
pub enum Int256Funct7 {
Add = 0,
Sub,
Xor,
Or,
And,
Sll,
Srl,
Sra,
Slt,
Sltu,
Mul,
}
#[cfg(all(feature = "export-intrinsics", target_os = "zkvm"))]
pub mod externs;