Skip to content

Commit 2c72251

Browse files
committed
Updated comments about direct memory access in SIMD vectors after automatic renaming.
1 parent c6c74fb commit 2c72251

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Source/DFPSR/base/simd.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,8 @@
472472
* The "v" variable is the native backend, which is only defined when SIMD is supported by hardware.
473473
Only use when USE_BASIC_SIMD is defined.
474474
Will not work on scalar emulation.
475-
* The "scalars" array is only defined for targets with direct access to SIMD registers. (SSE)
476-
Only use when USE_DIRECT_SIMD_MEMORY_ACCESS is defined.
477-
Will not work on NEON or scalar emulation.
478-
* The "scalars" array is ony defined when SIMD is turned off.
479-
Cannot be used when USE_BASIC_SIMD is defined.
475+
* The "scalars" array is available when emulating a type that does not exist or the SIMD vector has direct access to the memory.
476+
Do not rely on these for accessing elements, because otherwise your code will not be able to compile for ARM NEON.
480477
*/
481478

482479
union F32x4 {

0 commit comments

Comments
 (0)