riscv-non-isa / rvv-intrinsic-doc

https://jira.riscv.org/browse/RVG-153
BSD 3-Clause "New" or "Revised" License
281 stars 89 forks source link

Examples use arithmetic on `void*`, which isn't allowed by the c standard #252

Closed camel-cdr closed 1 year ago

camel-cdr commented 1 year ago

Examples, specifically rvv_memcpy, use arithmetic on void*, which isn't allowed by the c standard, see: https://stackoverflow.com/questions/3523145/pointer-arithmetic-for-void-pointer-in-c#3524270

nick-knight commented 1 year ago

Feel free to submit a PR. These examples are not a normative part of the spec, so the task group is treating them as lower priority, to focus our limited (volunteer) resources on reaching API freeze/ratification.

camel-cdr commented 1 year ago

👍 I'll look into it when I've got the time