| # Common methods shared across various SIMD types |
| .common_methods: &common_methods |
| Len: "Len returns the number of elements in the vector." |
| String: "String returns a string representation of the vector." |
| |
| types: |
| _simd: "internal SIMD marker." |
| Int8s: "Int8s represents a vector of 8-bit signed integers." |
| Int16s: "Int16s represents a vector of 16-bit signed integers." |
| Int32s: "Int32s represents a vector of 32-bit signed integers." |
| Int64s: "Int64s represents a vector of 64-bit signed integers." |
| Uint8s: "Uint8s represents a vector of 8-bit unsigned integers." |
| Uint16s: "Uint16s represents a vector of 16-bit unsigned integers." |
| Uint32s: "Uint32s represents a vector of 32-bit unsigned integers." |
| Uint64s: "Uint64s represents a vector of 64-bit unsigned integers." |
| Float32s: "Float32s represents a vector of 32-bit floating-point numbers." |
| Float64s: "Float64s represents a vector of 64-bit floating-point numbers." |
| Mask8s: "Mask8s represents a boolean mask for Int8s/Uint8s vectors." |
| Mask16s: "Mask16s represents a boolean mask for Int16s/Uint16s vectors." |
| Mask32s: "Mask32s represents a boolean mask for Int32s/Uint32s vectors." |
| Mask64s: "Mask64s represents a boolean mask for Int64s/Uint64s vectors." |
| |
| functions: |
| VectorSize: "VectorSize returns the size of the largest SIMD vector supported by the current CPU." |
| |
| methods: |
| Int8s: |
| <<: *common_methods |
| Int16s: |
| <<: *common_methods |
| Int32s: |
| <<: *common_methods |
| Int64s: |
| <<: *common_methods |
| Uint8s: |
| <<: *common_methods |
| Uint16s: |
| <<: *common_methods |
| Uint32s: |
| <<: *common_methods |
| Uint64s: |
| <<: *common_methods |
| Float32s: |
| <<: *common_methods |
| Float64s: |
| <<: *common_methods |
| Mask8s: |
| <<: *common_methods |
| Mask16s: |
| <<: *common_methods |
| Mask32s: |
| <<: *common_methods |
| Mask64s: |
| <<: *common_methods |