Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Someone
on Dec 6, 2022
|
parent
|
context
|
favorite
| on:
Optimizing compilers reload vector constants needl...
I know both gcc (
https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html
) and clang (
https://clang.llvm.org/docs/LanguageExtensions.html#vectors-...
) have vector extensions that are intended to make it easier to write SIMD code (you can write
c = a + b;
instead of having to know the specific vector instruction needed to add two vectors, for example), but don’t know how well these reach that goal.
Are these helpful, or not good enough to write performant vector code?
an1sotropy
on Dec 7, 2022
[–]
I’ll try them!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Are these helpful, or not good enough to write performant vector code?