Source file src/simd/archsimd/ops_sve.go
1 // Code generated by 'simdgen -o godefs -goroot $GOROOT -arch sve -arm64Path $ARM64_ISA_PATH go_sve.yaml types.yaml categories.yaml'; DO NOT EDIT. 2 3 //go:build goexperiment.simd && arm64 4 5 package archsimd 6 7 /* Add */ 8 9 // Add adds corresponding elements of two vectors. 10 // 11 // Asm: ZFADD, CPU Feature: SVE 12 func (x Float32s) Add(y Float32s) Float32s 13 14 // Add adds corresponding elements of two vectors. 15 // 16 // Asm: ZFADD, CPU Feature: SVE 17 func (x Float64s) Add(y Float64s) Float64s 18 19 // Add adds corresponding elements of two vectors. 20 // 21 // Asm: ZADD, CPU Feature: SVE 22 func (x Int8s) Add(y Int8s) Int8s 23 24 // Add adds corresponding elements of two vectors. 25 // 26 // Asm: ZADD, CPU Feature: SVE 27 func (x Int16s) Add(y Int16s) Int16s 28 29 // Add adds corresponding elements of two vectors. 30 // 31 // Asm: ZADD, CPU Feature: SVE 32 func (x Int32s) Add(y Int32s) Int32s 33 34 // Add adds corresponding elements of two vectors. 35 // 36 // Asm: ZADD, CPU Feature: SVE 37 func (x Int64s) Add(y Int64s) Int64s 38 39 // Add adds corresponding elements of two vectors. 40 // 41 // Asm: ZADD, CPU Feature: SVE 42 func (x Uint8s) Add(y Uint8s) Uint8s 43 44 // Add adds corresponding elements of two vectors. 45 // 46 // Asm: ZADD, CPU Feature: SVE 47 func (x Uint16s) Add(y Uint16s) Uint16s 48 49 // Add adds corresponding elements of two vectors. 50 // 51 // Asm: ZADD, CPU Feature: SVE 52 func (x Uint32s) Add(y Uint32s) Uint32s 53 54 // Add adds corresponding elements of two vectors. 55 // 56 // Asm: ZADD, CPU Feature: SVE 57 func (x Uint64s) Add(y Uint64s) Uint64s 58 59 /* AddSaturated */ 60 61 // AddSaturated adds corresponding elements of two vectors with saturation. 62 // 63 // Asm: ZSQADD, CPU Feature: SVE 64 func (x Int8s) AddSaturated(y Int8s) Int8s 65 66 // AddSaturated adds corresponding elements of two vectors with saturation. 67 // 68 // Asm: ZSQADD, CPU Feature: SVE 69 func (x Int16s) AddSaturated(y Int16s) Int16s 70 71 // AddSaturated adds corresponding elements of two vectors with saturation. 72 // 73 // Asm: ZSQADD, CPU Feature: SVE 74 func (x Int32s) AddSaturated(y Int32s) Int32s 75 76 // AddSaturated adds corresponding elements of two vectors with saturation. 77 // 78 // Asm: ZSQADD, CPU Feature: SVE 79 func (x Int64s) AddSaturated(y Int64s) Int64s 80 81 // AddSaturated adds corresponding elements of two vectors with saturation. 82 // 83 // Asm: ZUQADD, CPU Feature: SVE 84 func (x Uint8s) AddSaturated(y Uint8s) Uint8s 85 86 // AddSaturated adds corresponding elements of two vectors with saturation. 87 // 88 // Asm: ZUQADD, CPU Feature: SVE 89 func (x Uint16s) AddSaturated(y Uint16s) Uint16s 90 91 // AddSaturated adds corresponding elements of two vectors with saturation. 92 // 93 // Asm: ZUQADD, CPU Feature: SVE 94 func (x Uint32s) AddSaturated(y Uint32s) Uint32s 95 96 // AddSaturated adds corresponding elements of two vectors with saturation. 97 // 98 // Asm: ZUQADD, CPU Feature: SVE 99 func (x Uint64s) AddSaturated(y Uint64s) Uint64s 100 101 /* Greater */ 102 103 // Greater returns a mask whose elements indicate whether x > y. 104 // 105 // Asm: ZCMPGT, CPU Feature: SVE 106 func (x Int8s) Greater(y Int8s) Mask8s 107 108 // Greater returns a mask whose elements indicate whether x > y. 109 // 110 // Asm: ZCMPGT, CPU Feature: SVE 111 func (x Int16s) Greater(y Int16s) Mask16s 112 113 // Greater returns a mask whose elements indicate whether x > y. 114 // 115 // Asm: ZCMPGT, CPU Feature: SVE 116 func (x Int32s) Greater(y Int32s) Mask32s 117 118 // Greater returns a mask whose elements indicate whether x > y. 119 // 120 // Asm: ZCMPGT, CPU Feature: SVE 121 func (x Int64s) Greater(y Int64s) Mask64s 122 123 // BitsToInt8 reinterprets the bits of a Uint8s vector as a Int8s vector 124 func (x Uint8s) BitsToInt8() Int8s 125 126 // ConvertToInt8 converts a Uint8s vector to a Int8s vector 127 func (x Uint8s) ConvertToInt8() Int8s 128 129 // ConvertToUint8 converts a Int8s vector to a Uint8s vector 130 func (x Int8s) ConvertToUint8() Uint8s 131 132 // ToBits reinterprets the bits of a Int8s vector as a Uint8s vector 133 func (x Int8s) ToBits() Uint8s 134 135 // ReshapeToUint16s reinterprets the bits of a Uint8s vector as a Uint16s vector 136 func (x Uint8s) ReshapeToUint16s() Uint16s 137 138 // ReshapeToUint32s reinterprets the bits of a Uint8s vector as a Uint32s vector 139 func (x Uint8s) ReshapeToUint32s() Uint32s 140 141 // ReshapeToUint64s reinterprets the bits of a Uint8s vector as a Uint64s vector 142 func (x Uint8s) ReshapeToUint64s() Uint64s 143 144 // BitsToInt16 reinterprets the bits of a Uint16s vector as a Int16s vector 145 func (x Uint16s) BitsToInt16() Int16s 146 147 // ConvertToInt16 converts a Uint16s vector to a Int16s vector 148 func (x Uint16s) ConvertToInt16() Int16s 149 150 // ConvertToUint16 converts a Int16s vector to a Uint16s vector 151 func (x Int16s) ConvertToUint16() Uint16s 152 153 // ToBits reinterprets the bits of a Int16s vector as a Uint16s vector 154 func (x Int16s) ToBits() Uint16s 155 156 // ReshapeToUint8s reinterprets the bits of a Uint16s vector as a Uint8s vector 157 func (x Uint16s) ReshapeToUint8s() Uint8s 158 159 // ReshapeToUint32s reinterprets the bits of a Uint16s vector as a Uint32s vector 160 func (x Uint16s) ReshapeToUint32s() Uint32s 161 162 // ReshapeToUint64s reinterprets the bits of a Uint16s vector as a Uint64s vector 163 func (x Uint16s) ReshapeToUint64s() Uint64s 164 165 // BitsToFloat32 reinterprets the bits of a Uint32s vector as a Float32s vector 166 func (x Uint32s) BitsToFloat32() Float32s 167 168 // ToBits reinterprets the bits of a Float32s vector as a Uint32s vector 169 func (x Float32s) ToBits() Uint32s 170 171 // BitsToInt32 reinterprets the bits of a Uint32s vector as a Int32s vector 172 func (x Uint32s) BitsToInt32() Int32s 173 174 // ConvertToInt32 converts a Uint32s vector to a Int32s vector 175 func (x Uint32s) ConvertToInt32() Int32s 176 177 // ConvertToUint32 converts a Int32s vector to a Uint32s vector 178 func (x Int32s) ConvertToUint32() Uint32s 179 180 // ToBits reinterprets the bits of a Int32s vector as a Uint32s vector 181 func (x Int32s) ToBits() Uint32s 182 183 // ReshapeToUint8s reinterprets the bits of a Uint32s vector as a Uint8s vector 184 func (x Uint32s) ReshapeToUint8s() Uint8s 185 186 // ReshapeToUint16s reinterprets the bits of a Uint32s vector as a Uint16s vector 187 func (x Uint32s) ReshapeToUint16s() Uint16s 188 189 // ReshapeToUint64s reinterprets the bits of a Uint32s vector as a Uint64s vector 190 func (x Uint32s) ReshapeToUint64s() Uint64s 191 192 // BitsToFloat64 reinterprets the bits of a Uint64s vector as a Float64s vector 193 func (x Uint64s) BitsToFloat64() Float64s 194 195 // ToBits reinterprets the bits of a Float64s vector as a Uint64s vector 196 func (x Float64s) ToBits() Uint64s 197 198 // BitsToInt64 reinterprets the bits of a Uint64s vector as a Int64s vector 199 func (x Uint64s) BitsToInt64() Int64s 200 201 // ConvertToInt64 converts a Uint64s vector to a Int64s vector 202 func (x Uint64s) ConvertToInt64() Int64s 203 204 // ConvertToUint64 converts a Int64s vector to a Uint64s vector 205 func (x Int64s) ConvertToUint64() Uint64s 206 207 // ToBits reinterprets the bits of a Int64s vector as a Uint64s vector 208 func (x Int64s) ToBits() Uint64s 209 210 // ReshapeToUint8s reinterprets the bits of a Uint64s vector as a Uint8s vector 211 func (x Uint64s) ReshapeToUint8s() Uint8s 212 213 // ReshapeToUint16s reinterprets the bits of a Uint64s vector as a Uint16s vector 214 func (x Uint64s) ReshapeToUint16s() Uint16s 215 216 // ReshapeToUint32s reinterprets the bits of a Uint64s vector as a Uint32s vector 217 func (x Uint64s) ReshapeToUint32s() Uint32s 218