|
Argon 0.1.0
|
Represents a single lane of a SIMD vector with the lane index known at compile time. More...
#include <lane.hpp>
Public Member Functions | |
| ace | ConstLane (VectorType &vec) |
| Construct a lane accessor bound to vec. | |
| ace | operator scalar_type () const |
| Read the lane value (implicit conversion to scalar). | |
| ace argon_type | operator= (const scalar_type b) |
| Write a scalar value into this lane and return the updated vector. | |
| ace argon_type | Load (const scalar_type *ptr) |
| Load a scalar from ptr into this lane. | |
| ace argon_type | Set (const scalar_type b) |
| Set this lane to b and return the updated vector. | |
| ace scalar_type | Get () const |
| Get the scalar value of this lane. | |
| ace neon::Vec64_t< scalar_type > | vec () |
| On ARM32, return the 64-bit half-register that contains this lane. | |
| ace int | lane () |
| On ARM32, return the local lane index within the 64-bit half-register returned by vec(). | |
Represents a single lane of a SIMD vector with the lane index known at compile time.
| LaneIndex | Compile-time lane index within the vector. |
| VectorType | The intrinsic SIMD vector type (e.g., int32x4_t). |
Provides type-safe read/write access to one element of a SIMD register. On ARM32 (__ARM_ARCH < 8) quadword vectors, vec() returns the 64-bit half-register that contains the lane, and lane() returns the local index within that half.