aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-11-06CSRRx is called ZicsrvAndrew Waterman1-1/+1
2018-11-06Split V table from rest of tableAndrew Waterman1-1/+4
Generate it with the command cat opcodes-v | ./parse-opcodes -vtex
2018-11-06Updates from most recent meetingAndrew Waterman2-7/+12
2018-11-06V extension WIPAndrew Waterman4-10/+217
2018-11-06Separate FENCE.I and CSRRx from RV32I tableAndrew Waterman1-9/+15
2018-09-20Add header following Go convention for generated code (#21)Tobias Klauser1-1/+1
Go has a convention for generated code comments (https://golang.org/s/generatedcode), i.e. they must match the regex ^// Code generated .* DO NOT EDIT\.$ Adjust the generated header to follow this convention.
2018-09-10Include RVC pseudos in chisel decoderAndrew Waterman1-1/+1
2018-08-25Improve TeX output for FENCE instructionsAndrew Waterman2-3/+3
2018-08-06FENCE has a field called FM in bits 31:28Andrew Waterman2-2/+3
2018-07-17Make the hashbang portable (#20)Edward Tomasz NapieraƂa1-1/+1
Not all systems put Python binary in /usr/bin; fix it as usual by using env(1)
2018-04-25Add proposed FENCE.TSO encodingAndrew Waterman1-0/+3
2017-12-27Use old C style comments. (#18)Tim Newsome1-11/+11
This improves the chance we can use this file with older, pickier compilers. Also it makes the OpenOCD patch check script happier.
2017-11-27Rename sptbr to satp and sbadaddr to stvalAndrew Waterman2-18/+18
Closes #17
2017-11-27Don't copy encoding.h to binutils anymoreAndrew Waterman1-4/+0
Now that binutils is upstream, we maintain that file manually.
2017-11-27Generate encoding.h for OpenOCD as well. (#16)Tim Newsome1-2/+3
2017-05-17Merge remote-tracking branch 'origin/priv-1.10'Palmer Dabbelt5-48/+87
2017-05-07SB->B; UJ->JAndrew Waterman1-2/+2
2017-05-07Add UXl/SXLAndrew Waterman1-0/+3
2017-04-25Add ECALL/EBREAK to privileged instruction tableAndrew Waterman1-0/+2
2017-04-25FMV.X.S/FMV.S.X -> FMV.X.W/FMV.W.XAndrew Waterman3-4/+8
2017-04-25Remove hret instructionAndrew Waterman2-2/+1
2017-03-31Add LICENSEAndrew Waterman1-0/+24
2017-03-31Support generating Go code (#3)Benjamin Barenblat3-0/+45
* Support generating Go code Generate Go code for the RISC-V Go port <https://github.com/riscv/riscv-go>. * Clarify use of yank in Go backend * Go: Also generate funct3, csr, and funct7 encodings * Go: Emit all instructions Changes to the RISC-V Go implementation obviate the need for GO_UNUSED_INSTRUCTIONS. * Go: Print CSRs as signed values * Go: Update parse-opcodes to use obj.As See https://github.com/golang/go/commit/0d9258a830c585. * Go: Return errors out of band * Go: Return 'ok' status instead of 'err' status Also clean up imports. * Go: Make gofmt-clean * Go: Return rs2 value for each instructions Some binary floating-point instructions (ab)use the rs2 value to hold additional instruction data, so we need that data in the Go assembler.
2017-03-30New PMP encodingAndrew Waterman1-5/+6
2017-03-27Separate page faults from physical memory access exceptionsAndrew Waterman2-6/+8
2017-03-23Add PMPAndrew Waterman2-1/+32
2017-03-23Add TW/TVM/TSR fields to mstatusAndrew Waterman1-1/+4
2017-03-09New counter-enable mechanismAndrew Waterman1-2/+2
2017-03-09Update SPTBR fieldsAndrew Waterman1-14/+9
2017-02-20Use gcc csr register constraintAndrew Waterman1-16/+4
2017-02-20Remove sfence.vm and add sfence.vmaAndrew Waterman2-6/+4
2017-02-20Drop mstatus.VM fieldAndrew Waterman1-1/+0
2017-02-14Don't update binutils' riscv-opc.h automatically anymoreAndrew Waterman1-1/+1
It's upstreamed, so avoid the false impression it can easily change.
2017-02-08Encode VM type in sptbr, not mstatusAndrew Waterman1-0/+14
https://github.com/riscv/riscv-isa-manual/issues/4
2016-12-21Add Q extensionKito Cheng1-0/+39
2016-12-21Fix first line of riscv-opc.h, gnu coding style need end with 1 dot and 2 spaceKito Cheng1-1/+1
2016-12-06avoid non-standard predefined macrosAndrew Waterman1-1/+1
2016-08-26Renumber misa; add performance counter CSRsAndrew Waterman1-33/+154
2016-08-26Add mcontrol type constants. (#11)Tim Newsome1-0/+3
2016-08-25Re-rename trigger registers to be 1-basedAndrew Waterman1-3/+3
2016-08-25Make hardware triggers match latest spec.Tim Newsome2-22/+34
2016-07-06Update to new PTE formatAndrew Waterman1-33/+10
2016-06-30Remove instructions from privilege spec that are already in user specAndrew Waterman1-5/+2
2016-06-18Add READMEAndrew Waterman1-0/+10
Closes #6
2016-06-17Remove sasid (it's merged into sptbr now)Andrew Waterman1-1/+0
2016-06-09Update breakpoint specAndrew Waterman1-8/+15
2016-06-08Add breakpoint CSRsAndrew Waterman2-0/+14
2016-06-03Keep DCSR_XDEBUGVER unsigned.Tim Newsome1-1/+1
2016-06-01Update path to binutilsAndrew Waterman1-1/+1
2016-06-01Add dret instruction and debug CSRs. (#5)Tim Newsome3-0/+27