Jan Wassenberg

Results 405 comments of Jan Wassenberg

Thanks @malaterre for CCing me on the email, and thanks @jrtc27 for clearing up my misunderstanding. (The fact that Zicntr is an extension looks like a more theoretical problem, then.)...

@kfjahnke Nice, I agree this will be a helpful option or alternative for passing the intent to compilers, thanks for bringing it up. It seems useful to make this available...

Thanks Bulat, good point about the pragma. Looks the the following ones can be useful: omp simd aligned(ptr, bytes) clang loop vectorize(enable) (in case of -Os) #pragma clang fp contract(on)...

Good point about std::array possibly differing across platforms, I can see the utility of such a tiny wrapper struct; added. Also agree that the size should be configurable, 16 is...

A teammate suggested using the special built-in vector types instead of a struct/array: `using V = T __attribute__((__vector_size__(16), __aligned__(16)));` And this indeed generates the expected code (after pragma for FMA...

Two engineers with much more in-depth knowledge of compiler internals have had a look. The problem seems to be that SROA loads are only merged up to 64-bit. I'm told...

> To do so, I can use my simd_type as a base class and derive SIMD types I use in concrete code from this class. Another alternative is to go...

@Artoria2e5 yes, thanks, I've occasionally spoken to the author. It is a very impressive effort with N(=number of targets)^2 functions to implement :) @kfjahnke just a quick heads-up that we're...

> On other hand we also hate intrinsics because they are not standardized, and we have HW and marketing to blame, but C++ community can push it through std::simd, if...

Hi @pbrubaker, thanks for reaching out. Yes, we were aware of ISPC, I found Matt Pharr's blog series very interesting. In our context, it's helpful to avoid an external build...