Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/lib/partial_eval.ml
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ module AbsValue : SAIL_VALUE = struct
("abs_int", lift Z.abs (Int @-> Ret Int));
("div_int", lift Z.div (Int @-> Int @-> Ret Int));
("tdiv_int", lift Z.div (Int @-> Int @-> Ret Int));
("quotient", lift Z.div (Int @-> Int @-> Ret Int));
("modulus", lift Z.rem (Int @-> Int @-> Ret Int));
("quotient", lift Z.ediv (Int @-> Int @-> Ret Int));
("modulus", lift Z.erem (Int @-> Int @-> Ret Int));
("tmod_int", lift Z.rem (Int @-> Int @-> Ret Int));
("eq_int", lift Z.equal (Int @-> Int @-> Ret Bool));
("quot_round_zero", lift Z.div (Int @-> Int @-> Ret Int));
Expand Down Expand Up @@ -397,6 +397,8 @@ module AbsValue : SAIL_VALUE = struct
("uint", lift TransferBitvectorInterval.Ops.unsigned (AbsBV @-> Ret AbsInt));
("sint", lift TransferBitvectorInterval.Ops.signed (AbsBV @-> Ret AbsInt));
("pow2", lift Sail_lib.pow2 (Int @-> Ret Int));
("shl_int", lift (fun i n -> Sail_lib.shl_int (i, n)) (Int @-> Int @-> Ret Int));
("shr_int", lift (fun i n -> Sail_lib.shr_int (i, n)) (Int @-> Int @-> Ret Int));
("concat_str", lift ( ^ ) (String @-> String @-> Ret String));
("string_of_bits", lift Sail_lib.string_of_bits (BV @-> Ret String));
("eq_string", lift ( = ) (String @-> String @-> Ret Bool));
Expand Down
Loading