While most 64-bit architectures have an assembly implementation of this
file, RISC-V does not. As we now store 8 bytes instead of 4 it should speed
up RISC-V.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 38680 Build 35569: arc lint + arc unit
Event Timeline
Comment Actions
Would (u)intptr_t make more sense so it's faster on CHERI? Doesn't make a difference upstream but does to us.
Comment Actions
I thought about that, but that would require additional changes to create an all-ones capability register.
lib/libc/string/memset.c | ||
---|---|---|
91 | Did you considered lowering 3 to e.g. 2? |
lib/libc/string/memset.c | ||
---|---|---|
91 | This might make sense but I feel uncomfortable making that change without benchmarks. |