aboutsummaryrefslogtreecommitdiff
path: root/machine/misaligned_ldst.c
AgeCommit message (Collapse)AuthorFilesLines
2024-04-30support emulation of misaligned vector loads/storesAndrew Waterman1-0/+14
2024-04-30Support emulation of misaligned FLH/FSHAndrew Waterman1-1/+8
2024-04-25Fix emulation of misaligned c.swsp/c.sdsp with rd=x0Andrew Waterman1-2/+2
2021-05-05machine: replace `mbadaddr` with `mtval` (#242)Saleem Abdulrasool1-2/+2
The LLVM IAS does not support the older name for the `mtval` CSR. This updates the name to the current spelling, which is required to build with the LLVM IAS. This remains compatible with binutils as well.
2020-11-23Fix emulation of misaligned access on big endian target (#224)Marcus Comstedt1-2/+12
2018-12-02Delegate misaligned AMOs as access exceptions, not misalignedAndrew Waterman1-2/+8
This indicates the access is actually invalid, i.e., should not be emulated.
2018-07-09Properly license all nontrivial filesAndrew Waterman1-0/+2
2017-07-17Fix emulation of misaligned RVC loads/storesAndrew Waterman1-2/+5
We were accidentally advancing the PC by 4, not 2.
2017-02-15Emulate RVFC instructionsAndrew Waterman1-0/+49
2016-12-06avoid non-standard predefined macrosAndrew Waterman1-2/+2
2016-07-19Handle misaligned loads in ascending order of byte addressAndrew Waterman1-1/+1
2016-04-29Use mbadaddr to speed up misaligned ld/st emulationAndrew Waterman1-2/+2
2016-03-09Factor emulation routines into multiple filesAndrew Waterman1-0/+85