Skip to content

Commit af64621

Browse files
author
Stephen Gutekanst
committed
cleanup RISC-V notes section
Signed-off-by: Stephen Gutekanst <[email protected]>
1 parent 92e7f35 commit af64621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/2022/debugging-undefined-behavior.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ Many times, UBSan will catch undefined behavior that in practice isn't really ha
109109
110110
Which is a quite compelling argument for this just being noise for our purposes. :)
111111

112-
# RISC-V: a notable exception
112+
### RISC-V: a notable exception
113113

114-
It was pointed out to me by someone more knowledgable that RISC-V cores lack hardware support for unaligned accesses[0][1] ('if sifive doesn't do this in hardware (unalignment) there's no way any other risc-v cores do [...due to sifive's sheer popularity in the space]'), unalignment is done by trap handlers instead:
114+
It's worth noting (as was pointed out to me by someone much more knowledgable) that RISC-V cores lack hardware support for unaligned accesses[0][1] ('if sifive doesn't do this in hardware (unalignment) there's no way any other risc-v cores do [...due to sifive's sheer popularity in the space]'), unalignment is done by trap handlers instead:
115115

116116
![image](https://user-images.githubusercontent.com/3173176/201804903-5584f318-5832-4c76-9f1a-45a32ce10348.png)
117117

0 commit comments

Comments
 (0)