summaryrefslogtreecommitdiff
path: root/riscv
AgeCommit message (Expand)Author
2018-04-20Fix a typo.Prashanth Mundkur
2018-04-20Add a riscv instruction printer for the execution log.Prashanth Mundkur
2018-04-20Some cleanup and comments.Prashanth Mundkur
2018-04-20Have sign_extend in common Sail Lem library, use it and zero_extend inBrian Campbell
2018-04-18Remove obsolete comment.Prashanth Mundkur
2018-04-18Add interrupt prioritization and delegation.Prashanth Mundkur
2018-04-18Fix mideleg semantics after spec clarification from Andrew Waterman.Prashanth Mundkur
2018-04-18Use the generated num_of_E function for enum E instead of defining one by hand.Prashanth Mundkur
2018-04-18Move a few printing functions to sail_values.lemThomas Bauereiss
2018-04-17Implement sret.Prashanth Mundkur
2018-04-17Hook in the delegated trap handler and remove the old one.Prashanth Mundkur
2018-04-17Add platform initialization for the new bits of machine state.Prashanth Mundkur
2018-04-17Separate out the trap handler, and make it use the delegatee privilege.Prashanth Mundkur
2018-04-17Define exception handler delegation.Prashanth Mundkur
2018-04-16Implement the s-mode views of mie/mip, and their legalizers.Prashanth Mundkur
2018-04-16Add the satp legalizer.Prashanth Mundkur
2018-04-13Add <=_u to riscv prelude.Prashanth Mundkur
2018-04-13Add some checks of current state, and use for the xepc write legalizer.Prashanth Mundkur
2018-04-13Some initial legalizers for writes to S-mode CSRs.Prashanth Mundkur
2018-04-13Define legalizers for writes to M-mode CSRs, and hook these writes to use them.Prashanth Mundkur
2018-04-13Move riscv memory definitions into a separate file.Prashanth Mundkur
2018-04-13Fix access checks to riscv CSRs.Prashanth Mundkur
2018-04-11Initial bits of supervisor state.Prashanth Mundkur
2018-04-11Add some misc informational m-mode registers that are used in a test.Prashanth Mundkur
2018-04-11More structured riscv trap vector handling.Prashanth Mundkur
2018-04-09Update riscv to use the new system definitions, remove duplicates.Prashanth Mundkur
2018-04-09Add some riscv arch definitions: privilege levels, exceptions, interrupts, ex...Prashanth Mundkur
2018-04-09Slightly re-org defs to move related things closer together.Prashanth Mundkur
2018-04-09Better separate riscv-independent and riscv-specific parts between prelude an...Prashanth Mundkur
2018-03-21Patch AST datatypes in generated Isabelle theoriesThomas Bauereiss
2018-03-19Fixes to C backend for RISCV-compilationAlasdair Armstrong
2018-03-14WIP Latex formattingAlasdair Armstrong
2018-03-14Fix toplevel pattern compilationAlasdair Armstrong
2018-03-14Make partiality more explicit in library functions of Lem shallow embeddingThomas Bauereiss
2018-03-09Specialise constructors for polymorphic unionsAlasdair Armstrong
2018-03-07Make union types consistent in the ASTAlasdair Armstrong
2018-02-15Rebase state monad onto prompt monadThomas Bauereiss
2018-02-15Re-engineer prompt monad of Lem shallow embeddingThomas Bauereiss
2018-02-07Add some printing functions to Lem shallow embeddingThomas Bauereiss
2018-02-06Fixed some bugs in the RVC spec; the rvc test now passes.Prashanth Mundkur
2018-02-06Add a system initialization function. For now, it merely initializes support...Prashanth Mundkur
2018-02-06some prettyfying of riscv: replace regbits/bits(64) with xlenbits and use ove...Robert Norton
2018-02-06Add remaining RVC instructions.Prashanth Mundkur
2018-02-06Make small change to improve readability of riscv duopodAlasdair Armstrong
2018-02-05riscv: slightly prettier register trace outputRobert Norton
2018-02-05squash a warning.Robert Norton
2018-02-02Added remaining compressed instructions in Quadrant 0 and 1, Quadrant 2 remains.Prashanth Mundkur
2018-02-02Add M extension to RISCV. Slightly inelegant implementation for now but passi...Robert Norton
2018-02-02Add some more compressed instruction specs, and slightly clean up previous ones.Prashanth Mundkur
2018-02-01Use the recursive execute for c.addi4spn.Prashanth Mundkur