Skip to content

[R-pkg-devel] Fwd: using portable simd instructions

2 messages · jesse koops, Tomas Kalibera

#
Of course you are correct about the portability. But since at ;least
one other CRAN package by a renowned author does it succesfully, I
figured I'd experiment first on my machine and learn about portability
later. Thank you for the links and the warning about the bug. I was
aware of that, however I am careful to only use the "loadu" and
"storeu" variants, so I thought this would not bite me. Do you know if
my assumption is in error?

Op di 26 mrt 2024 om 15:51 schreef Tomas Kalibera <tomas.kalibera at gmail.com>:
#
On 3/27/24 08:39, jesse koops wrote:
My advice is please do not publish any packages doing this low level 
stuff unless you fully understand the details yourself. If you don't, 
please work at a higher level abstraction and use existing code for the 
low-level things, to avoid adding to the maintenance costs. These things 
can take very long to debug.

The GCC bug on Windows I've ran into only affects instructions that 
require aligned operands (on the stack), aligned at 32-byte boundary.

Tomas