summaryrefslogtreecommitdiff
path: root/src/lem_interp/interp_lib.lem
AgeCommit message (Collapse)Author
2017-12-05Update license headers for Sail sourceAlasdair Armstrong
2017-07-06fix interpreter version of get_min/max_representable which similarly broken ↵Robert Norton
to ocaml version. TODO: also fix copies in sail_values.lem and sail_values_word.lem.
2017-07-06fix interpreter lteq/gteq for range/vec.Robert Norton
2017-07-06fix interpreter version of != which was broken for vector/range comparisons.Robert Norton
2017-06-22fix three different copies of the hardware_quot function to do proper ↵Robert Norton
trucation towards zero. Previous version was incorrect if result was exact and a<0 and b>0.
2017-06-22add a 'print' built-in function handy for writing sail tests.Robert Norton
2017-02-03fix headersPeter Sewell
2017-01-27fix right shiftKathy Gray
2017-01-25Make interpreter a little more flexible on the format of a register type to ↵Kathy Gray
match ASL; add missing functions/cases to library
2017-01-25Make vector equality remember about the possibility of unknown valuesKathy Gray
2017-01-23Extend lib with min and maxKathy Gray
2016-09-28Possible fix for equality and inequalityKathy Gray
2016-09-12add list append functionKathy Gray
2016-09-09minor fixesKathy Gray
2016-08-14Add missing case to replicateKathy Gray
2016-08-10Missing case in libKathy Gray
2016-08-06Add duplicate_bits to libKathy Gray
Pull Peter's changes to interp_interface back into the primary repo
2016-07-01Add missing case to arith_op_no0Kathy Gray
Add type refinement to arm spec
2016-06-02Fix most_significant case omissionKathy Gray
2016-04-27expand supported patterns for most_significantKathy Gray
2016-04-18More fixes to interp with regards to warnings and debugging infoKathy Gray
2016-04-12Reduce warnings for interpreter. Removed all pattern match warnings for ↵Kathy Gray
interp_lib, interp_inter_imp, and printing_functions.
2016-03-16Fix case of missing undef options in compareKathy Gray
2016-02-05fix typo in kathy's last commit.Robert Norton
2016-02-05change signed mod behaviour for numbers to match that of vectorsKathy Gray
2016-02-04Add mod_sKathy Gray
2016-02-04add forgotten lib bindingKathy Gray
2016-01-28Support exit and assert better in sequential interpreter and general ↵Kathy Gray
interpreter interface
2016-01-20Assorted bug fixes that gets one mips instruction running (then fails for ↵Kathy Gray
expected reasons) :)
2016-01-13Closes issue #28 and issue #27Kathy Gray
Note: also adds a most_significant function to the standard library, that returns the lowest indexed bit in a inc bit vector and the biggest indexed bit in a dec bit vector.
2015-10-23slight change to libraryKathy Gray
2015-10-05More library functionsKathy Gray
Tweak to rewriter to actually rewrite function patterns
2015-07-24Begin doing better analysis on case splits over unknownsKathy Gray
2015-06-29Fix pattern match errorKathy Gray
2015-06-29Return unknown for a == unknown or unknown == a. Fixes issue #15Kathy Gray
2015-06-05Manually turn negative nat values to 0 instead of letting Lem use an abs ↵Kathy Gray
call to turn them positive, in to_vec*
2015-06-02changes to compare and equality instances to make lem generate isabelle outputcp526
2015-06-02Fix errors around ARM not being able to decode due to instruction_extractor ↵Kathy Gray
being very power-specific. Note: slight interface change to instruction_extractor
2015-05-26small bug fixesKathy Gray
2015-05-19Add signed and unsigned functions, converting bit vectors to appropriate ↵Kathy Gray
numbers (explicit instead of implicit in operations)
2015-05-16extend a missing caseKathy Gray
2015-05-13Add dynamic footprint dependency check event/outcomeKathy Gray
Also fix type checker bug in not reporting modifications to parameter values
2015-05-05allow undefined in mask for sizeKathy Gray
2015-04-22Fix some interpreter bugs preventing ARM instructions from making progressKathy Gray
2015-04-14Fix bug showing up in power.sail's compilation to Lem causing unknown values ↵Kathy Gray
where they shouldn't be
2015-04-07Move interpreter to zarithKathy Gray
2015-03-17Correct directionality in interpreter. Now the interpreter shouldn't use inc ↵Kathy Gray
unless that's the current default or there's no default set in the spec
2015-03-15Many changes:Kathy Gray
Split out specification specific memory and external functions Reduce the presence of big_int Reduce the use of inc direction, instead using a default from the spec. Still a few places need to be parameterised over direction Also some bug fixes exposed by above and running ARM second instruction
2015-01-28take sign into account on whether a number fits into the number of available ↵Kathy Gray
bits or not
2015-01-17update divisionKathy Gray