summaryrefslogtreecommitdiff
path: root/src/gen_lib/sail_values.ml
AgeCommit message (Expand)Author
2018-03-02Use sail_lib.lem values in C backendAlasdair Armstrong
2017-10-24fix default cap value on cheri128 following previous changes -- E stored in r...Robert Norton
2017-07-06substitute all uses of mod_big_int and div_big_int for Z.rem and Z.div which ...Robert Norton
2017-07-06implement abs function correctly for ocaml shallow embedding.Robert Norton
2017-07-06fix dodgy get_min/max_representable functions. Looks like an attempt at optim...Robert Norton
2017-06-30add more tests for sail library. Can't compile entire file due to sail perfor...Robert Norton
2017-06-22add a 'print' built-in function handy for writing sail tests.Robert Norton
2017-05-24it turns out that Zarith has a divide function which does truncation towards ...Robert Norton
2017-05-08add some missing things in sail_values and make big_int version the default f...Robert Norton
2017-04-27add command line argument for setting undef values to all zero or all one. So...Robert Norton
2017-04-25optimise to_vec_int because it is used by MEMr to convert each byte to vector.Robert Norton
2017-04-25replace memory representation with map of 1MB pages rather than map of bytes....Robert Norton
2017-04-25remove unused function.Robert Norton
2017-04-21define some big_int literals in sail_values.ml to avoid lots of calls to bit_...Robert Norton
2017-04-21implement to_vec_big using zarith extract for some speedup.Robert Norton
2017-04-21suppress register field tracing if not enabled (missed in previous commit)Robert Norton
2017-04-20more library optimisation. Implement int_of_bit_array using shift, avoiding n...Robert Norton
2017-04-20implement vector subrange using Array.sub for approx 10% speedup.Robert Norton
2017-04-20attempt to optimise performance if not tracing writes.Robert Norton
2017-04-20add missing min and max functions, overriding built-in ocaml ones. Also neq_r...Robert Norton
2017-04-20add name to register representation and print it on write.Robert Norton
2017-04-18fix definition of mask -- Vregister and VvectorR were swapped.Robert Norton
2017-04-18Implement return using an exception caught in the function body. Polymorphic ...Robert Norton
2017-04-07fix error in generated ocaml where writing single bit of register was not tak...Robert Norton
2017-04-07implement quot and mod with truncation towards zero which is not the ocaml wa...Robert Norton
2017-04-07simplify xor using ocaml <> operator which also has the advantage of being mo...Robert Norton
2017-04-06minor changes in sail_values.ml to aid debuggingRobert Norton
2017-04-06fix incorrect use of == in eqRobert Norton
2017-04-06implement exts and extz as manipulations on bit vectors rather than convertin...Robert Norton
2017-04-06Implement exit by raising Sail_exit exceptionRobert Norton
2017-03-30Make length function return big_intRobert Norton
2017-03-28temporary fix for problem duplicate (lack of direction) -- assume decreasing ...Robert Norton
2017-03-28Fix erroneous bitwise xor.Robert Norton
2017-03-27fix bitshift operators. I think these should be independent of vector order...Robert Norton
2017-03-27Fix broken to_vec of negative values. Old code was a bit confused. Probably p...Robert Norton
2017-03-24Checkpoint work-in-progress mips sequential interpreter using ocaml shallow e...Robert Norton
2017-03-24changes to ocaml pp to allow mips->ocaml to compileRobert Norton
2016-01-28Support exit and assert better in sequential interpreter and general interpre...Kathy Gray
2015-11-03Support int and bigint library functionsKathy Gray
2015-10-29Ocaml generation now just needing big int/little int issues resolved (probabl...Kathy Gray
2015-10-23More of sail correctly generating ocaml; including using polymorphic variants...Kathy Gray
2015-10-20Fixing bugs in pretty printer to ocamlKathy Gray
2015-10-07start changing representation of registers for ocamlKathy Gray
2015-10-06better printing for register writing, whole register (maybe not "right" yet)Kathy Gray
2015-10-05More library functionsKathy Gray
2015-09-29Boiler plate to generate an ml file from a sail spec. Now debugging the outpu...Kathy Gray