aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64si/csr.S
AgeCommit message (Collapse)AuthorFilesLines
2020-02-20Fix rv64mi-p-csr on systems with FPUsAndrew Waterman1-2/+3
3a98ec2e306938cce07ab15e3678d670611aa66d introduced a subtle bug because of the value of TESTNUM at the point an expected exception was taken. Fix by moving the new tests earlier in the program.
2020-01-31Added CSR test cases on whether writing 0 to CSR works, as that might get ↵Torbjørn Viem Ness1-0/+2
overlooked by implementors because some CSR operations should ignore writes if source is x0 (#236)
2017-11-09Use mstatus.MPP to check existence of U-modeAndrew Waterman1-5/+6
misa is allowed to be hardwired to 0, so checking its U bit could incorrectly suggest that U-mode is not supported.
2017-10-30Declare trap handlers as global symbols. (#87)Richard Xia1-0/+1
This allows them to be referenced by other files, such as a test environment that lives in a separate compilation unit.
2017-10-26Fix rv64mi-csr for the case where U-mode is not available. (#86)Richard Xia1-0/+16
2017-08-07rv64[ms]i-csr: Only emit F instructions when compiled for F.Richard Xia1-1/+6
2017-05-05Check UXL in sstatusAndrew Waterman1-0/+5
2016-11-01Make sure FP stores don't write memory if mstatus.FS=0.Andrew Waterman1-8/+22
2016-08-26Update to new breakpoint & counter specAndrew Waterman1-6/+6
2016-07-22skip user-mode trap tests in rv32mi/rv64mi-p-csr if no user modeHoward Mao1-0/+9
2016-07-11Remove instruction width assumptions to support RVCAndrew Waterman1-0/+1
2016-04-30ERET -> xRET; new memory mapAndrew Waterman1-16/+8
For now, we no longer build hex files, because the programs don't start at address 0. This decision will likely be revisited.
2016-03-03Some S-mode tests really only belong in M-modeAndrew Waterman1-1/+9
2016-03-03WIP on priv spec v1.9Andrew Waterman1-11/+6
2015-05-09Update to privileged architecture version 1.7Andrew Waterman1-2/+2
2015-03-25split out S-mode tests and M-mode testsYunsup Lee1-7/+14
2015-03-17Merge [shm]call into ecall, [shm]ret into eretAndrew Waterman1-1/+1
2015-03-12Update to new privileged specAndrew Waterman1-23/+30
2015-01-09Add LICENSEAndrew Waterman1-0/+2
2014-01-31Add rv32si tests, including illegality of shamt[5]Andrew Waterman1-1/+1
2014-01-31Make CSR test much more robustAndrew Waterman1-0/+52
2014-01-21Add CSRRx/CSRRxI testAndrew Waterman1-0/+33