Commit 72a1fc0
Yanzhang Wang
Add misaligned memory access for spike.
The spec does not forbid the misaligned memory access. And the gcc
will generate vector load/store to access misaligned memory by
default.
Currently the QEMU supports this feature, so to support in spike
is also make sense.
Reference test case: gcc/gcc/testsuite/gcc.dg/vect/vect-align-1.c1 parent fcc49c7 commit 72a1fc0
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
0 commit comments