Closed goldsteinn closed 8 months ago
Tests?
Tests?
Do you want aarch64 + x86_64, or is just x86_64 enough.
Tests?
Do you want aarch64 + x86_64, or is just x86_64 enough.
I don't really know what kind of input variable type this targets so i can't tell what exactly should be tested. Can this be generically reached via clang vector types e.g.?
Tests?
Do you want aarch64 + x86_64, or is just x86_64 enough.
I don't really know what kind of input variable type this targets so i can't tell what exactly should be tested. Can this be generically reached via clang vector types e.g.?
Done, tests only compiled for gcc/clang.
Some generic questions:
r,v,m
(i.e. mem being last)?Some generic questions:
- Has that asm constraint always been supported in every compiler version ever released?
- What happens when it's used on other compilers? (MSVC?)
- Does the order matter? Should it be
r,v,m
(i.e. mem being last)?
Yeah, this patch is a bad idea. Its not super portable AFAICT (across compilers or arch within).
Aha, so clang 3.9 didn't know that: https://godbolt.org/z/eP9zbjb4P And even then, it's support is target dependent: https://godbolt.org/z/v58edcaYT This, indeed, makes me uneasy about this feature, unfortunately...
Just a QOL change to make benchmarks vector code easier.