summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-18Bit more monomorphisation testingBrian Campbell
2017-08-18Correct indexing and equality for bitvectorsBrian Campbell
2017-08-17Merge branch 'experiments' of bitbucket.org:Peter_Sewell/sail into ↵Brian Campbell
mono-experiments
2017-08-17Merge remote-tracking branch 'origin' into mono-experimentsBrian Campbell
# Conflicts: # src/type_internal.ml
2017-08-17fixed the RISC-V fences (3 types: "rw,rw"/"r,rw"/"rw,w")Shaked Flur
2017-08-16Added the feature to bind type variables in patterns.Alasdair Armstrong
The reason you want this is to do something like (note new parser only): ********* default Order dec type bits 'n:Int = vector('n - 1, 'n, dec, bit) val zeros : forall 'n. atom('n) -> bits('n) val decode : bool -> unit function decode b = { let 'datasize: {|32, 64|} = if b then 32 else 64; let imm: bits('datasize) = zeros(datasize); () } ********* for the ASL decode functions, where the typechecker now knows that the datasize variable and the length of imm are the same.
2017-08-16Very basic start to monomorphisation testingBrian Campbell
2017-08-16Eta-expansion in sail_values to make OCaml happyBrian Campbell
2017-08-16lem_interp: remove broken val_to_string_internal functions, replace with ↵Jon French
string_of_value as used everywhere else
2017-08-16riscv: fix back to front args in store pretty print.Robert Norton
2017-08-15Merge remote-tracking branch 'origin/mono-experiments' into experimentsAlasdair Armstrong
2017-08-15Emacs mode for syntax of new Menhir parserAlasdair Armstrong
2017-08-15Removed Typ_arg_effect - nobody used it and it isn't supported by the backends.Alasdair Armstrong
2017-08-15Export existential destructuring function in type_check.mli.Alasdair Armstrong
Also rename some functions for consistency.
2017-08-15Export utility functions from type_check.mlAlasdair Armstrong
2017-08-15Menhir parser support for try/catchAlasdair Armstrong
2017-08-15riscv: store the decoded branch immediate in the ast type -- this simplifies ↵Robert Norton
translation to and from herdtools ast.
2017-08-15remove unneeded regs_out_in.hgen files.Robert Norton
2017-08-15riscv: include pred and succ fields in translation of FENCE (currently hard ↵Robert Norton
coded to zero
2017-08-15Added exceptions and try/catch blocks to AST and typechecker in orderAlasdair Armstrong
to translate exceptions in ASL. See test/typecheck/pass/trycatch.sail.
2017-08-15better names for store parameters.Robert Norton
2017-08-15riscv: fix incorrect argument order for store parser.Robert Norton
2017-08-15fix incorrect mnemonic for luiRobert Norton
2017-08-15riscv: fix word/half backwards in load.Robert Norton
2017-08-15riscv: limit stores to only relevant bytes.Robert Norton
2017-08-14Existentials in free type var functionsBrian Campbell
2017-08-14Some overloaded equality support in monomorphisationBrian Campbell
2017-08-14Merge remote-tracking branch 'origin/master' into experimentsAlasdair Armstrong
2017-08-14Merge remote-tracking branch 'origin/sail_new_tc' into experimentsAlasdair Armstrong
2017-08-14Merge remote-tracking branch 'origin/mono-experiments' into experimentsAlasdair Armstrong
2017-08-14More constructs in menhir parser, plus support for both left and right infix ↵Alasdair Armstrong
operators.
2017-08-14Keep all asserts in the program during type checkingBrian Campbell
2017-08-14Don't reverse lexp tuple during type checkingBrian Campbell
2017-08-14add risc-v fence instruction as re-using MIPS sync for now. Also place ↵Robert Norton
holders for FENCE.I and ECALL.
2017-08-14Minor change to x86 specification.Anthony Fox
2017-08-12Resolve ambiguity between negation of integers and boolsThomas Bauereiss
2017-08-12Fix compilation issue for 32-bit systemsThomas Bauereiss
2017-08-11further riscv rmem integration.Robert Norton
2017-08-11Menhir for new parser, ocamlyacc for oldBrian Campbell
2017-08-11Merge branch 'experiments' into mono-experimentsBrian Campbell
2017-08-11Make type checking just clever enough to solve 8*n = constantBrian Campbell
2017-08-10Merge remote-tracking branch 'origin/sail_new_tc' into experimentsAlasdair Armstrong
Conflicts: src/pretty_print_common.ml
2017-08-10Fix bug with subtyping in let bindingsAlasdair Armstrong
2017-08-10Improved operator support for test menhir parserAlasdair Armstrong
2017-08-10Experimenting with alternate parserAlasdair Armstrong
2017-08-10Add support for early return to Lem backendThomas Bauereiss
Implemented using the exception monad, by throwing and catching the return value
2017-08-10Disable menhir on this branchBrian Campbell
(until location information is updated)
2017-08-10Merge branch 'experiments' into mono-experimentsBrian Campbell
2017-08-10Existentials in Lem AST outputBrian Campbell
2017-08-10Experimental removal of existentialsBrian Campbell