Build Information
Successful build of swift-vectorization, reference main (ebb71f), with Swift 6.3 for Android on 21 Nov 2026 17:05:05 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
646 | SIMD(
647 | raw: unsafe cvectorization_ops_lookup8_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:669:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
667 | public static func lookup16(at indices: Indices, from span: Span<Lane>) -> SIMD {
668 | precondition(span.count >= 16, "Span has fewer elements than the table has lanes")
669 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
670 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
671 | UInt(bitPattern: $0.baseAddress) % UInt(16 * MemoryLayout<Lane>.stride) == 0
672 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:687:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
685 | public static func lookup16(at indices: Indices, fromUnchecked span: Span<Lane>) -> SIMD {
686 | assert(span.count >= 16, "Span has fewer elements than the table has lanes")
687 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
688 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
689 | UInt(bitPattern: $0.baseAddress) % UInt(16 * MemoryLayout<Lane>.stride) == 0
690 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:698:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
696 | )
697 | assert(canLookup16, "Vector has too few lanes for this lookup")
698 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
699 | SIMD(
700 | raw: unsafe cvectorization_ops_lookup16_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:755:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
753 | public static func loadIndices(from span: Span<Int32>) -> Indices {
754 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
755 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
756 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int32>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int32>'
757 | cvectorization_ops_indices_within_i32(
758 | unsafe cvectorization_ops_load_indices_f32($0.baseAddress.unsafelyUnwrapped),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:772:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
770 | public static func loadIndices(fromUnchecked span: Span<Int32>) -> Indices {
771 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
772 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
773 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int32>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int32>'
774 | cvectorization_ops_indices_within_i32(
775 | unsafe cvectorization_ops_load_indices_f32($0.baseAddress.unsafelyUnwrapped),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:782:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
780 | "Lane index is negative or at least twice as many as a vector has lanes"
781 | )
782 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int32>) -> SIMD<Float>.Indices' (aka '(UnsafeBufferPointer<Int32>) -> SIMD<Int32>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int32>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
783 | Indices(
784 | raw: unsafe cvectorization_ops_load_indices_f32($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1537:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1535 | "Index is negative or past the end of the span"
1536 | )
1537 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1538 | SIMD(raw: unsafe cvectorization_ops_gather_f32($0.baseAddress, indices.raw))
1539 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1572:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1570 | "Byte offset is negative or leaves no room for a lane in the span"
1571 | )
1572 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1573 | SIMD(
1574 | raw: unsafe cvectorization_ops_gather_byte_offsets_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1616:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1614 | "Index is negative or past the end of the span, for a lane in use"
1615 | )
1616 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1617 | SIMD(
1618 | raw: unsafe cvectorization_ops_gather_first_f32($0.baseAddress, indices.raw, count)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1680:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1678 | "Index is negative or past the end of the span, for a lane in use"
1679 | )
1680 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1681 | SIMD(
1682 | raw: unsafe cvectorization_ops_gather_first_otherwise_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1731:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1729 | "Index is negative or past the end of the span, for a lane in use"
1730 | )
1731 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1732 | SIMD(
1733 | raw: unsafe cvectorization_ops_gather_where_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1799:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1797 | "Index is negative or past the end of the span, for a lane in use"
1798 | )
1799 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1800 | SIMD(
1801 | raw: unsafe cvectorization_ops_gather_where_otherwise_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1845:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1843 | "Index is negative or past the end of the span"
1844 | )
1845 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1846 | unsafe cvectorization_ops_scatter_f32(a.raw, $0.baseAddress, indices.raw)
1847 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:45:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
43 | "Byte offset is negative or leaves no room for a lane in the span"
44 | )
45 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | unsafe cvectorization_ops_scatter_byte_offsets_f32(
47 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:99:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
97 | "Index is negative or past the end of the span, for a lane in use"
98 | )
99 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
100 | unsafe cvectorization_ops_scatter_first_f32(a.raw, $0.baseAddress, indices.raw, count)
101 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:149:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
147 | "Index is negative or past the end of the span, for a lane in use"
148 | )
149 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
150 | unsafe cvectorization_ops_scatter_where_f32(
151 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:168:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
166 | public static func storeStreaming(_ a: SIMD, to span: inout MutableSpan<Lane>) {
167 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
168 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
169 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
170 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
171 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:181:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | public static func storeStreaming(_ a: SIMD, toUnchecked span: inout MutableSpan<Lane>) {
180 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
181 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
182 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
183 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
184 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:187:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
185 | "Span does not start at an address aligned to the vector size"
186 | )
187 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | unsafe cvectorization_ops_store_streaming_f32(a.raw, $0.baseAddress.unsafelyUnwrapped)
189 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:235:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
233 | ) -> Int {
234 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
235 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
236 | Int(
237 | unsafe cvectorization_ops_store_compressed_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:274:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
272 | ) -> Int {
273 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
274 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
275 | Int(
276 | unsafe cvectorization_ops_store_compressed_blended_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:301:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
299 | public static func compressed(_ a: SIMD, bitsUnchecked span: Span<UInt8>) -> SIMD {
300 | assert(span.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
301 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
302 | SIMD(
303 | raw: unsafe cvectorization_ops_compressed_bits_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:341:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
339 | assert(bits.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
340 | assert(to.count >= laneCount, "Span has fewer elements than a vector has lanes")
341 | return bits.withUnsafeBufferPointer { bitsBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> Int'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
342 | to.withUnsafeMutableBufferPointer { toBuffer in
343 | Int(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:342:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
340 | assert(to.count >= laneCount, "Span has fewer elements than a vector has lanes")
341 | return bits.withUnsafeBufferPointer { bitsBuffer in
342 | to.withUnsafeMutableBufferPointer { toBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
343 | Int(
344 | unsafe cvectorization_ops_store_compressed_bits_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:375:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
373 | public static func loadExpanded(fromUnchecked span: Span<Lane>, where mask: Mask) -> SIMD {
374 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
375 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
376 | SIMD(
377 | raw: unsafe cvectorization_ops_load_expanded_where_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:419:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
417 | ) -> SIMD {
418 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
419 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
420 | SIMD(
421 | raw: unsafe cvectorization_ops_load_expanded_where_otherwise_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:561:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
559 | public static func loadMask(fromUnchecked span: Span<UInt8>) -> Mask {
560 | assert(span.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
561 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> SIMD<Float16>.Mask'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
562 | Mask(raw: unsafe cvectorization_ops_load_mask_f16($0.baseAddress.unsafelyUnwrapped))
563 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:590:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
588 | public static func storeMask(_ mask: Mask, toUnchecked span: inout MutableSpan<UInt8>) -> Int {
589 | assert(span.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
590 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
591 | Int(
592 | unsafe cvectorization_ops_store_mask_f16(mask.raw, $0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:908:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
906 | public static func load(fromUnchecked span: Span<Lane>) -> SIMD {
907 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
908 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
909 | SIMD(raw: unsafe cvectorization_ops_load_f16($0.baseAddress.unsafelyUnwrapped))
910 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:921:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
919 | public static func loadAligned(from span: Span<Lane>) -> SIMD {
920 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
921 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
922 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
923 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
924 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:933:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
931 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> SIMD {
932 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
933 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
934 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
935 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
936 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:939:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
937 | "Span does not start at an address aligned to the vector size"
938 | )
939 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
940 | SIMD(raw: unsafe cvectorization_ops_load_aligned_f16($0.baseAddress.unsafelyUnwrapped))
941 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:951:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
949 | @export(implementation) @inline(always)
950 | public static func loadFirst(from span: Span<Lane>) -> SIMD {
951 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
952 | SIMD(raw: unsafe cvectorization_ops_load_first_span_f16($0.baseAddress, $0.count))
953 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:976:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
974 | "Span has fewer elements than a block has lanes"
975 | )
976 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
977 | SIMD(
978 | raw: unsafe cvectorization_ops_load_repeating_block_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:999:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
997 | public static func load(fromUnchecked span: Span<Lane>, where mask: Mask) -> SIMD {
998 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
999 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1000 | SIMD(
1001 | raw: unsafe cvectorization_ops_load_where_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1027:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1025 | ) -> SIMD {
1026 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1027 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1028 | SIMD(
1029 | raw: unsafe cvectorization_ops_load_where_otherwise_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1045:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1043 | @export(implementation) @inline(always)
1044 | public static func loadFirst(from span: Span<Lane>, otherwise: SIMD) -> SIMD {
1045 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1046 | SIMD(
1047 | raw: unsafe cvectorization_ops_load_first_otherwise_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1073:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1071 | public static func loadingUpperHalf(_ a: SIMD, fromUnchecked span: Span<Lane>) -> SIMD {
1072 | assert(span.count >= laneCount / 2, "Span has fewer elements than half a vector has lanes")
1073 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1074 | SIMD(
1075 | raw: unsafe cvectorization_ops_loading_upper_half_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1100:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1098 | public static func loadHalf(fromUnchecked span: Span<Lane>) -> HalfVector {
1099 | assert(span.count >= laneCount / 2, "Span has fewer elements than half a vector has lanes")
1100 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>.HalfVector'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1101 | HalfVector(
1102 | raw: unsafe cvectorization_ops_load_half_f16($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1127:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1125 | "Span has fewer elements than a quarter of a vector has lanes"
1126 | )
1127 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>.QuarterVector'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1128 | QuarterVector(
1129 | raw: unsafe cvectorization_ops_load_quarter_f16($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1154:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1152 | "Span has fewer elements than a block has lanes"
1153 | )
1154 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>.BlockVector'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1155 | BlockVector(
1156 | raw: unsafe cvectorization_ops_load_block_f16($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1175:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1173 | public static func store(_ a: SIMD, toUnchecked span: inout MutableSpan<Lane>) {
1174 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1175 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1176 | unsafe cvectorization_ops_store_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1177 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1212:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1210 | public static func storeAligned(_ a: SIMD, to span: inout MutableSpan<Lane>) {
1211 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1212 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1213 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1214 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
1215 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1224:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1222 | public static func storeAligned(_ a: SIMD, toUnchecked span: inout MutableSpan<Lane>) {
1223 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1224 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1225 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1226 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
1227 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1230:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1228 | "Span does not start at an address aligned to the vector size"
1229 | )
1230 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1231 | unsafe cvectorization_ops_store_aligned_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1232 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1241:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1239 | "OutputSpan has less free capacity than a vector has lanes"
1240 | )
1241 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1242 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1243 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
1244 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1257:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1255 | "OutputSpan has less free capacity than a vector has lanes"
1256 | )
1257 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1258 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1259 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
1260 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1280:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1278 | @export(implementation) @inline(always)
1279 | public static func storeFirst(_ a: SIMD, to span: inout MutableSpan<Lane>) {
1280 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1281 | unsafe cvectorization_ops_store_first_f16(a.raw, $0.baseAddress, $0.count)
1282 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1331:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1329 | {
1330 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1331 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1332 | unsafe cvectorization_ops_store_where_f16(
1333 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1347:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1345 | @export(implementation) @inline(always)
1346 | public static func storeRepeating(_ value: Lane, to span: inout MutableSpan<Lane>) {
1347 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1348 | unsafe cvectorization_ops_store_repeating_f16(
1349 | Swift.min($0.count, laneCount),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1363:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1361 | @export(implementation) @inline(always)
1362 | public static func copy(from: Span<Lane>, to: inout MutableSpan<Lane>) {
1363 | from.withUnsafeBufferPointer { fromBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1364 | to.withUnsafeMutableBufferPointer { toBuffer in
1365 | unsafe cvectorization_ops_copy_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1364:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1362 | public static func copy(from: Span<Lane>, to: inout MutableSpan<Lane>) {
1363 | from.withUnsafeBufferPointer { fromBuffer in
1364 | to.withUnsafeMutableBufferPointer { toBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1365 | unsafe cvectorization_ops_copy_f16(
1366 | Swift.min(fromBuffer.count, toBuffer.count, laneCount),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1391:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1389 | public static func store(_ a: HalfVector, toUnchecked span: inout MutableSpan<Lane>) {
1390 | assert(span.count >= laneCount / 2, "Span has fewer elements than half a vector has lanes")
1391 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1392 | unsafe cvectorization_ops_store_half_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1393 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1440:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1438 | "Span has fewer elements than a quarter of a vector has lanes"
1439 | )
1440 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1441 | unsafe cvectorization_ops_store_quarter_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1442 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1489:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1487 | "Span has fewer elements than a block has lanes"
1488 | )
1489 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1490 | unsafe cvectorization_ops_store_block_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1491 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:33:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
31 | ) {
32 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
33 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
34 | unsafe cvectorization_ops_load_interleaved2_f16(
35 | $0.baseAddress.unsafelyUnwrapped,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:74:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | ) {
73 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
74 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
75 | unsafe cvectorization_ops_load_interleaved3_f16(
76 | $0.baseAddress.unsafelyUnwrapped,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:119:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
117 | ) {
118 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
119 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
120 | unsafe cvectorization_ops_load_interleaved4_f16(
121 | $0.baseAddress.unsafelyUnwrapped,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:151:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
149 | ) {
150 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
151 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
152 | unsafe cvectorization_ops_store_interleaved2_f16(
153 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:221:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
219 | ) {
220 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
221 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
222 | unsafe cvectorization_ops_store_interleaved3_f16(
223 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:302:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
300 | ) {
301 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
302 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
303 | unsafe cvectorization_ops_store_interleaved4_f16(
304 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:634:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
632 | public static func lookup8(at indices: Indices, from span: Span<Lane>) -> SIMD {
633 | precondition(span.count >= 8, "Span has fewer elements than the table has lanes")
634 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
635 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
636 | UInt(bitPattern: $0.baseAddress) % UInt(8 * MemoryLayout<Lane>.stride) == 0
637 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:651:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
649 | public static func lookup8(at indices: Indices, fromUnchecked span: Span<Lane>) -> SIMD {
650 | assert(span.count >= 8, "Span has fewer elements than the table has lanes")
651 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
652 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
653 | UInt(bitPattern: $0.baseAddress) % UInt(8 * MemoryLayout<Lane>.stride) == 0
654 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:662:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
660 | )
661 | assert(canLookup8, "Vector has too few lanes for this lookup")
662 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
663 | SIMD(
664 | raw: unsafe cvectorization_ops_lookup8_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:685:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
683 | public static func lookup16(at indices: Indices, from span: Span<Lane>) -> SIMD {
684 | precondition(span.count >= 16, "Span has fewer elements than the table has lanes")
685 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
686 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
687 | UInt(bitPattern: $0.baseAddress) % UInt(16 * MemoryLayout<Lane>.stride) == 0
688 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:702:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
700 | public static func lookup16(at indices: Indices, fromUnchecked span: Span<Lane>) -> SIMD {
701 | assert(span.count >= 16, "Span has fewer elements than the table has lanes")
702 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
703 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
704 | UInt(bitPattern: $0.baseAddress) % UInt(16 * MemoryLayout<Lane>.stride) == 0
705 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:713:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
711 | )
712 | assert(canLookup16, "Vector has too few lanes for this lookup")
713 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
714 | SIMD(
715 | raw: unsafe cvectorization_ops_lookup16_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:769:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
767 | public static func loadIndices(from span: Span<Int16>) -> Indices {
768 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
769 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
770 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int16>'
771 | cvectorization_ops_indices_within_i16(
772 | unsafe cvectorization_ops_load_indices_f16($0.baseAddress.unsafelyUnwrapped),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:785:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
783 | public static func loadIndices(fromUnchecked span: Span<Int16>) -> Indices {
784 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
785 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
786 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int16>'
787 | cvectorization_ops_indices_within_i16(
788 | unsafe cvectorization_ops_load_indices_f16($0.baseAddress.unsafelyUnwrapped),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:795:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
793 | "Lane index is negative or at least twice as many as a vector has lanes"
794 | )
795 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int16>) -> SIMD<Float16>.Indices' (aka '(UnsafeBufferPointer<Int16>) -> SIMD<Int16>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
796 | Indices(
797 | raw: unsafe cvectorization_ops_load_indices_f16($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1513:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1511 | public static func storeStreaming(_ a: SIMD, to span: inout MutableSpan<Lane>) {
1512 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1513 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1514 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1515 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
1516 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1525:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1523 | public static func storeStreaming(_ a: SIMD, toUnchecked span: inout MutableSpan<Lane>) {
1524 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1525 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1526 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1527 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
1528 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1531:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1529 | "Span does not start at an address aligned to the vector size"
1530 | )
1531 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1532 | unsafe cvectorization_ops_store_streaming_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1533 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1577:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1575 | ) -> Int {
1576 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1577 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1578 | Int(
1579 | unsafe cvectorization_ops_store_compressed_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1614:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1612 | ) -> Int {
1613 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1614 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1615 | Int(
1616 | unsafe cvectorization_ops_store_compressed_blended_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1639:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1637 | public static func compressed(_ a: SIMD, bitsUnchecked span: Span<UInt8>) -> SIMD {
1638 | assert(span.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
1639 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1640 | SIMD(
1641 | raw: unsafe cvectorization_ops_compressed_bits_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1677:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1675 | assert(bits.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
1676 | assert(to.count >= laneCount, "Span has fewer elements than a vector has lanes")
1677 | return bits.withUnsafeBufferPointer { bitsBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> Int'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1678 | to.withUnsafeMutableBufferPointer { toBuffer in
1679 | Int(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1678:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1676 | assert(to.count >= laneCount, "Span has fewer elements than a vector has lanes")
1677 | return bits.withUnsafeBufferPointer { bitsBuffer in
1678 | to.withUnsafeMutableBufferPointer { toBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1679 | Int(
1680 | unsafe cvectorization_ops_store_compressed_bits_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1709:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1707 | public static func loadExpanded(fromUnchecked span: Span<Lane>, where mask: Mask) -> SIMD {
1708 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1709 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1710 | SIMD(
1711 | raw: unsafe cvectorization_ops_load_expanded_where_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members3.swift:40:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
38 | ) -> SIMD {
39 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
40 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
41 | SIMD(
42 | raw: unsafe cvectorization_ops_load_expanded_where_otherwise_f16(
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[122/122] Compiling Vectorization Int16+SIMDElement+Members2.swift
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:599:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
597 | public static func loadMask(fromUnchecked span: Span<UInt8>) -> Mask {
598 | assert(span.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
599 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> SIMD<Float>.Mask'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
600 | Mask(raw: unsafe cvectorization_ops_load_mask_f32($0.baseAddress.unsafelyUnwrapped))
601 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:630:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
628 | public static func storeMask(_ mask: Mask, toUnchecked span: inout MutableSpan<UInt8>) -> Int {
629 | assert(span.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
630 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
631 | Int(
632 | unsafe cvectorization_ops_store_mask_f32(mask.raw, $0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:956:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
954 | public static func load(fromUnchecked span: Span<Lane>) -> SIMD {
955 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
956 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
957 | SIMD(raw: unsafe cvectorization_ops_load_f32($0.baseAddress.unsafelyUnwrapped))
958 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:970:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
968 | public static func loadAligned(from span: Span<Lane>) -> SIMD {
969 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
970 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
971 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
972 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
973 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:983:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
981 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> SIMD {
982 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
983 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
984 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
985 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
986 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:989:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
987 | "Span does not start at an address aligned to the vector size"
988 | )
989 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
990 | SIMD(raw: unsafe cvectorization_ops_load_aligned_f32($0.baseAddress.unsafelyUnwrapped))
991 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1002:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1000 | @export(implementation) @inline(always)
1001 | public static func loadFirst(from span: Span<Lane>) -> SIMD {
1002 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1003 | SIMD(raw: unsafe cvectorization_ops_load_first_span_f32($0.baseAddress, $0.count))
1004 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1029:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1027 | "Span has fewer elements than a block has lanes"
1028 | )
1029 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1030 | SIMD(
1031 | raw: unsafe cvectorization_ops_load_repeating_block_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1054:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1052 | public static func load(fromUnchecked span: Span<Lane>, where mask: Mask) -> SIMD {
1053 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1054 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1055 | SIMD(
1056 | raw: unsafe cvectorization_ops_load_where_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1084:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1082 | ) -> SIMD {
1083 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1084 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1085 | SIMD(
1086 | raw: unsafe cvectorization_ops_load_where_otherwise_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1103:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1101 | @export(implementation) @inline(always)
1102 | public static func loadFirst(from span: Span<Lane>, otherwise: SIMD) -> SIMD {
1103 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1104 | SIMD(
1105 | raw: unsafe cvectorization_ops_load_first_otherwise_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1133:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1131 | public static func loadingUpperHalf(_ a: SIMD, fromUnchecked span: Span<Lane>) -> SIMD {
1132 | assert(span.count >= laneCount / 2, "Span has fewer elements than half a vector has lanes")
1133 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1134 | SIMD(
1135 | raw: unsafe cvectorization_ops_loading_upper_half_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1162:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1160 | public static func loadHalf(fromUnchecked span: Span<Lane>) -> HalfVector {
1161 | assert(span.count >= laneCount / 2, "Span has fewer elements than half a vector has lanes")
1162 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>.HalfVector'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1163 | HalfVector(
1164 | raw: unsafe cvectorization_ops_load_half_f32($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1191:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1189 | "Span has fewer elements than a block has lanes"
1190 | )
1191 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>.BlockVector'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1192 | BlockVector(
1193 | raw: unsafe cvectorization_ops_load_block_f32($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1214:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1212 | public static func store(_ a: SIMD, toUnchecked span: inout MutableSpan<Lane>) {
1213 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1214 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1215 | unsafe cvectorization_ops_store_f32(a.raw, $0.baseAddress.unsafelyUnwrapped)
1216 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1254:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1252 | public static func storeAligned(_ a: SIMD, to span: inout MutableSpan<Lane>) {
1253 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1254 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1255 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
1256 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
1257 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1267:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1265 | public static func storeAligned(_ a: SIMD, toUnchecked span: inout MutableSpan<Lane>) {
1266 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1267 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1268 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
1269 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
1270 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1273:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1271 | "Span does not start at an address aligned to the vector size"
1272 | )
1273 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1274 | unsafe cvectorization_ops_store_aligned_f32(a.raw, $0.baseAddress.unsafelyUnwrapped)
1275 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1285:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1283 | "OutputSpan has less free capacity than a vector has lanes"
1284 | )
1285 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1286 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
1287 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
1288 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1302:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1300 | "OutputSpan has less free capacity than a vector has lanes"
1301 | )
1302 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1303 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
1304 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
1305 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1326:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1324 | @export(implementation) @inline(always)
1325 | public static func storeFirst(_ a: SIMD, to span: inout MutableSpan<Lane>) {
1326 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1327 | unsafe cvectorization_ops_store_first_f32(a.raw, $0.baseAddress, $0.count)
1328 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1381:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1379 | {
1380 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1381 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1382 | unsafe cvectorization_ops_store_where_f32(
1383 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1398:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1396 | @export(implementation) @inline(always)
1397 | public static func storeRepeating(_ value: Lane, to span: inout MutableSpan<Lane>) {
1398 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1399 | unsafe cvectorization_ops_store_repeating_f32(
1400 | Swift.min($0.count, laneCount),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1415:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1413 | @export(implementation) @inline(always)
1414 | public static func copy(from: Span<Lane>, to: inout MutableSpan<Lane>) {
1415 | from.withUnsafeBufferPointer { fromBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1416 | to.withUnsafeMutableBufferPointer { toBuffer in
1417 | unsafe cvectorization_ops_copy_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1416:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1414 | public static func copy(from: Span<Lane>, to: inout MutableSpan<Lane>) {
1415 | from.withUnsafeBufferPointer { fromBuffer in
1416 | to.withUnsafeMutableBufferPointer { toBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1417 | unsafe cvectorization_ops_copy_f32(
1418 | Swift.min(fromBuffer.count, toBuffer.count, laneCount),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1445:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1443 | public static func store(_ a: HalfVector, toUnchecked span: inout MutableSpan<Lane>) {
1444 | assert(span.count >= laneCount / 2, "Span has fewer elements than half a vector has lanes")
1445 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1446 | unsafe cvectorization_ops_store_half_f32(a.raw, $0.baseAddress.unsafelyUnwrapped)
1447 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1498:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1496 | "Span has fewer elements than a block has lanes"
1497 | )
1498 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1499 | unsafe cvectorization_ops_store_block_f32(a.raw, $0.baseAddress.unsafelyUnwrapped)
1500 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members1.swift:1556:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1554 | ) {
1555 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
1556 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1557 | unsafe cvectorization_ops_load_interleaved2_f32(
1558 | $0.baseAddress.unsafelyUnwrapped,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:40:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
38 | ) {
39 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
40 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
41 | unsafe cvectorization_ops_load_interleaved3_f32(
42 | $0.baseAddress.unsafelyUnwrapped,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:87:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
85 | ) {
86 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
87 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
88 | unsafe cvectorization_ops_load_interleaved4_f32(
89 | $0.baseAddress.unsafelyUnwrapped,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:121:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
119 | ) {
120 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
121 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
122 | unsafe cvectorization_ops_store_interleaved2_f32(
123 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:195:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
193 | ) {
194 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
195 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
196 | unsafe cvectorization_ops_store_interleaved3_f32(
197 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:280:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
278 | ) {
279 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
280 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
281 | unsafe cvectorization_ops_store_interleaved4_f32(
282 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:616:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
614 | public static func lookup8(at indices: Indices, from span: Span<Lane>) -> SIMD {
615 | precondition(span.count >= 8, "Span has fewer elements than the table has lanes")
616 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
617 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
618 | UInt(bitPattern: $0.baseAddress) % UInt(8 * MemoryLayout<Lane>.stride) == 0
619 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:634:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
632 | public static func lookup8(at indices: Indices, fromUnchecked span: Span<Lane>) -> SIMD {
633 | assert(span.count >= 8, "Span has fewer elements than the table has lanes")
634 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
635 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
636 | UInt(bitPattern: $0.baseAddress) % UInt(8 * MemoryLayout<Lane>.stride) == 0
637 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:645:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
643 | )
644 | assert(canLookup8, "Vector has too few lanes for this lookup")
645 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
646 | SIMD(
647 | raw: unsafe cvectorization_ops_lookup8_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:669:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
667 | public static func lookup16(at indices: Indices, from span: Span<Lane>) -> SIMD {
668 | precondition(span.count >= 16, "Span has fewer elements than the table has lanes")
669 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
670 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
671 | UInt(bitPattern: $0.baseAddress) % UInt(16 * MemoryLayout<Lane>.stride) == 0
672 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:687:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
685 | public static func lookup16(at indices: Indices, fromUnchecked span: Span<Lane>) -> SIMD {
686 | assert(span.count >= 16, "Span has fewer elements than the table has lanes")
687 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
688 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
689 | UInt(bitPattern: $0.baseAddress) % UInt(16 * MemoryLayout<Lane>.stride) == 0
690 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:698:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
696 | )
697 | assert(canLookup16, "Vector has too few lanes for this lookup")
698 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
699 | SIMD(
700 | raw: unsafe cvectorization_ops_lookup16_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:755:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
753 | public static func loadIndices(from span: Span<Int32>) -> Indices {
754 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
755 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
756 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int32>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int32>'
757 | cvectorization_ops_indices_within_i32(
758 | unsafe cvectorization_ops_load_indices_f32($0.baseAddress.unsafelyUnwrapped),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:772:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
770 | public static func loadIndices(fromUnchecked span: Span<Int32>) -> Indices {
771 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
772 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
773 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int32>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int32>'
774 | cvectorization_ops_indices_within_i32(
775 | unsafe cvectorization_ops_load_indices_f32($0.baseAddress.unsafelyUnwrapped),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:782:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
780 | "Lane index is negative or at least twice as many as a vector has lanes"
781 | )
782 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int32>) -> SIMD<Float>.Indices' (aka '(UnsafeBufferPointer<Int32>) -> SIMD<Int32>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int32>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
783 | Indices(
784 | raw: unsafe cvectorization_ops_load_indices_f32($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1537:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1535 | "Index is negative or past the end of the span"
1536 | )
1537 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1538 | SIMD(raw: unsafe cvectorization_ops_gather_f32($0.baseAddress, indices.raw))
1539 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1572:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1570 | "Byte offset is negative or leaves no room for a lane in the span"
1571 | )
1572 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1573 | SIMD(
1574 | raw: unsafe cvectorization_ops_gather_byte_offsets_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1616:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1614 | "Index is negative or past the end of the span, for a lane in use"
1615 | )
1616 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1617 | SIMD(
1618 | raw: unsafe cvectorization_ops_gather_first_f32($0.baseAddress, indices.raw, count)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1680:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1678 | "Index is negative or past the end of the span, for a lane in use"
1679 | )
1680 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1681 | SIMD(
1682 | raw: unsafe cvectorization_ops_gather_first_otherwise_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1731:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1729 | "Index is negative or past the end of the span, for a lane in use"
1730 | )
1731 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1732 | SIMD(
1733 | raw: unsafe cvectorization_ops_gather_where_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1799:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1797 | "Index is negative or past the end of the span, for a lane in use"
1798 | )
1799 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1800 | SIMD(
1801 | raw: unsafe cvectorization_ops_gather_where_otherwise_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members2.swift:1845:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1843 | "Index is negative or past the end of the span"
1844 | )
1845 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1846 | unsafe cvectorization_ops_scatter_f32(a.raw, $0.baseAddress, indices.raw)
1847 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:45:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
43 | "Byte offset is negative or leaves no room for a lane in the span"
44 | )
45 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | unsafe cvectorization_ops_scatter_byte_offsets_f32(
47 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:99:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
97 | "Index is negative or past the end of the span, for a lane in use"
98 | )
99 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
100 | unsafe cvectorization_ops_scatter_first_f32(a.raw, $0.baseAddress, indices.raw, count)
101 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:149:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
147 | "Index is negative or past the end of the span, for a lane in use"
148 | )
149 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
150 | unsafe cvectorization_ops_scatter_where_f32(
151 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:168:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
166 | public static func storeStreaming(_ a: SIMD, to span: inout MutableSpan<Lane>) {
167 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
168 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
169 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
170 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
171 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:181:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | public static func storeStreaming(_ a: SIMD, toUnchecked span: inout MutableSpan<Lane>) {
180 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
181 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
182 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
183 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
184 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:187:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
185 | "Span does not start at an address aligned to the vector size"
186 | )
187 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | unsafe cvectorization_ops_store_streaming_f32(a.raw, $0.baseAddress.unsafelyUnwrapped)
189 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:235:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
233 | ) -> Int {
234 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
235 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
236 | Int(
237 | unsafe cvectorization_ops_store_compressed_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:274:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
272 | ) -> Int {
273 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
274 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
275 | Int(
276 | unsafe cvectorization_ops_store_compressed_blended_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:301:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
299 | public static func compressed(_ a: SIMD, bitsUnchecked span: Span<UInt8>) -> SIMD {
300 | assert(span.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
301 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
302 | SIMD(
303 | raw: unsafe cvectorization_ops_compressed_bits_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:341:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
339 | assert(bits.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
340 | assert(to.count >= laneCount, "Span has fewer elements than a vector has lanes")
341 | return bits.withUnsafeBufferPointer { bitsBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> Int'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
342 | to.withUnsafeMutableBufferPointer { toBuffer in
343 | Int(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:342:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
340 | assert(to.count >= laneCount, "Span has fewer elements than a vector has lanes")
341 | return bits.withUnsafeBufferPointer { bitsBuffer in
342 | to.withUnsafeMutableBufferPointer { toBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
343 | Int(
344 | unsafe cvectorization_ops_store_compressed_bits_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:375:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
373 | public static func loadExpanded(fromUnchecked span: Span<Lane>, where mask: Mask) -> SIMD {
374 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
375 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
376 | SIMD(
377 | raw: unsafe cvectorization_ops_load_expanded_where_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float/SIMD+Float+Members3.swift:419:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
417 | ) -> SIMD {
418 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
419 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float>) -> SIMD<Float>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
420 | SIMD(
421 | raw: unsafe cvectorization_ops_load_expanded_where_otherwise_f32(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:561:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
559 | public static func loadMask(fromUnchecked span: Span<UInt8>) -> Mask {
560 | assert(span.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
561 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> SIMD<Float16>.Mask'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
562 | Mask(raw: unsafe cvectorization_ops_load_mask_f16($0.baseAddress.unsafelyUnwrapped))
563 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:590:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
588 | public static func storeMask(_ mask: Mask, toUnchecked span: inout MutableSpan<UInt8>) -> Int {
589 | assert(span.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
590 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<UInt8>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
591 | Int(
592 | unsafe cvectorization_ops_store_mask_f16(mask.raw, $0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:908:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
906 | public static func load(fromUnchecked span: Span<Lane>) -> SIMD {
907 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
908 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
909 | SIMD(raw: unsafe cvectorization_ops_load_f16($0.baseAddress.unsafelyUnwrapped))
910 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:921:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
919 | public static func loadAligned(from span: Span<Lane>) -> SIMD {
920 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
921 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
922 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
923 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
924 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:933:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
931 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> SIMD {
932 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
933 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
934 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
935 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
936 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:939:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
937 | "Span does not start at an address aligned to the vector size"
938 | )
939 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
940 | SIMD(raw: unsafe cvectorization_ops_load_aligned_f16($0.baseAddress.unsafelyUnwrapped))
941 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:951:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
949 | @export(implementation) @inline(always)
950 | public static func loadFirst(from span: Span<Lane>) -> SIMD {
951 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
952 | SIMD(raw: unsafe cvectorization_ops_load_first_span_f16($0.baseAddress, $0.count))
953 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:976:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
974 | "Span has fewer elements than a block has lanes"
975 | )
976 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
977 | SIMD(
978 | raw: unsafe cvectorization_ops_load_repeating_block_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:999:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
997 | public static func load(fromUnchecked span: Span<Lane>, where mask: Mask) -> SIMD {
998 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
999 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1000 | SIMD(
1001 | raw: unsafe cvectorization_ops_load_where_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1027:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1025 | ) -> SIMD {
1026 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1027 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1028 | SIMD(
1029 | raw: unsafe cvectorization_ops_load_where_otherwise_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1045:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1043 | @export(implementation) @inline(always)
1044 | public static func loadFirst(from span: Span<Lane>, otherwise: SIMD) -> SIMD {
1045 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1046 | SIMD(
1047 | raw: unsafe cvectorization_ops_load_first_otherwise_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1073:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1071 | public static func loadingUpperHalf(_ a: SIMD, fromUnchecked span: Span<Lane>) -> SIMD {
1072 | assert(span.count >= laneCount / 2, "Span has fewer elements than half a vector has lanes")
1073 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1074 | SIMD(
1075 | raw: unsafe cvectorization_ops_loading_upper_half_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1100:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1098 | public static func loadHalf(fromUnchecked span: Span<Lane>) -> HalfVector {
1099 | assert(span.count >= laneCount / 2, "Span has fewer elements than half a vector has lanes")
1100 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>.HalfVector'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1101 | HalfVector(
1102 | raw: unsafe cvectorization_ops_load_half_f16($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1127:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1125 | "Span has fewer elements than a quarter of a vector has lanes"
1126 | )
1127 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>.QuarterVector'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1128 | QuarterVector(
1129 | raw: unsafe cvectorization_ops_load_quarter_f16($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1154:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1152 | "Span has fewer elements than a block has lanes"
1153 | )
1154 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>.BlockVector'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1155 | BlockVector(
1156 | raw: unsafe cvectorization_ops_load_block_f16($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1175:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1173 | public static func store(_ a: SIMD, toUnchecked span: inout MutableSpan<Lane>) {
1174 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1175 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1176 | unsafe cvectorization_ops_store_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1177 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1212:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1210 | public static func storeAligned(_ a: SIMD, to span: inout MutableSpan<Lane>) {
1211 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1212 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1213 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1214 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
1215 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1224:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1222 | public static func storeAligned(_ a: SIMD, toUnchecked span: inout MutableSpan<Lane>) {
1223 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1224 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1225 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1226 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
1227 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1230:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1228 | "Span does not start at an address aligned to the vector size"
1229 | )
1230 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1231 | unsafe cvectorization_ops_store_aligned_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1232 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1241:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1239 | "OutputSpan has less free capacity than a vector has lanes"
1240 | )
1241 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1242 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1243 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
1244 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1257:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1255 | "OutputSpan has less free capacity than a vector has lanes"
1256 | )
1257 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1258 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1259 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
1260 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1280:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1278 | @export(implementation) @inline(always)
1279 | public static func storeFirst(_ a: SIMD, to span: inout MutableSpan<Lane>) {
1280 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1281 | unsafe cvectorization_ops_store_first_f16(a.raw, $0.baseAddress, $0.count)
1282 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1331:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1329 | {
1330 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1331 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1332 | unsafe cvectorization_ops_store_where_f16(
1333 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1347:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1345 | @export(implementation) @inline(always)
1346 | public static func storeRepeating(_ value: Lane, to span: inout MutableSpan<Lane>) {
1347 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1348 | unsafe cvectorization_ops_store_repeating_f16(
1349 | Swift.min($0.count, laneCount),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1363:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1361 | @export(implementation) @inline(always)
1362 | public static func copy(from: Span<Lane>, to: inout MutableSpan<Lane>) {
1363 | from.withUnsafeBufferPointer { fromBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1364 | to.withUnsafeMutableBufferPointer { toBuffer in
1365 | unsafe cvectorization_ops_copy_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1364:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1362 | public static func copy(from: Span<Lane>, to: inout MutableSpan<Lane>) {
1363 | from.withUnsafeBufferPointer { fromBuffer in
1364 | to.withUnsafeMutableBufferPointer { toBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1365 | unsafe cvectorization_ops_copy_f16(
1366 | Swift.min(fromBuffer.count, toBuffer.count, laneCount),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1391:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1389 | public static func store(_ a: HalfVector, toUnchecked span: inout MutableSpan<Lane>) {
1390 | assert(span.count >= laneCount / 2, "Span has fewer elements than half a vector has lanes")
1391 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1392 | unsafe cvectorization_ops_store_half_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1393 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1440:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1438 | "Span has fewer elements than a quarter of a vector has lanes"
1439 | )
1440 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1441 | unsafe cvectorization_ops_store_quarter_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1442 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members1.swift:1489:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1487 | "Span has fewer elements than a block has lanes"
1488 | )
1489 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1490 | unsafe cvectorization_ops_store_block_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1491 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:33:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
31 | ) {
32 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
33 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
34 | unsafe cvectorization_ops_load_interleaved2_f16(
35 | $0.baseAddress.unsafelyUnwrapped,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:74:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | ) {
73 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
74 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
75 | unsafe cvectorization_ops_load_interleaved3_f16(
76 | $0.baseAddress.unsafelyUnwrapped,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:119:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
117 | ) {
118 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
119 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
120 | unsafe cvectorization_ops_load_interleaved4_f16(
121 | $0.baseAddress.unsafelyUnwrapped,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:151:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
149 | ) {
150 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
151 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
152 | unsafe cvectorization_ops_store_interleaved2_f16(
153 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:221:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
219 | ) {
220 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
221 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
222 | unsafe cvectorization_ops_store_interleaved3_f16(
223 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:302:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
300 | ) {
301 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
302 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
303 | unsafe cvectorization_ops_store_interleaved4_f16(
304 | a.raw,
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:634:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
632 | public static func lookup8(at indices: Indices, from span: Span<Lane>) -> SIMD {
633 | precondition(span.count >= 8, "Span has fewer elements than the table has lanes")
634 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
635 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
636 | UInt(bitPattern: $0.baseAddress) % UInt(8 * MemoryLayout<Lane>.stride) == 0
637 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:651:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
649 | public static func lookup8(at indices: Indices, fromUnchecked span: Span<Lane>) -> SIMD {
650 | assert(span.count >= 8, "Span has fewer elements than the table has lanes")
651 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
652 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
653 | UInt(bitPattern: $0.baseAddress) % UInt(8 * MemoryLayout<Lane>.stride) == 0
654 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:662:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
660 | )
661 | assert(canLookup8, "Vector has too few lanes for this lookup")
662 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
663 | SIMD(
664 | raw: unsafe cvectorization_ops_lookup8_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:685:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
683 | public static func lookup16(at indices: Indices, from span: Span<Lane>) -> SIMD {
684 | precondition(span.count >= 16, "Span has fewer elements than the table has lanes")
685 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
686 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
687 | UInt(bitPattern: $0.baseAddress) % UInt(16 * MemoryLayout<Lane>.stride) == 0
688 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:702:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
700 | public static func lookup16(at indices: Indices, fromUnchecked span: Span<Lane>) -> SIMD {
701 | assert(span.count >= 16, "Span has fewer elements than the table has lanes")
702 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
703 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
704 | UInt(bitPattern: $0.baseAddress) % UInt(16 * MemoryLayout<Lane>.stride) == 0
705 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:713:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
711 | )
712 | assert(canLookup16, "Vector has too few lanes for this lookup")
713 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
714 | SIMD(
715 | raw: unsafe cvectorization_ops_lookup16_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:769:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
767 | public static func loadIndices(from span: Span<Int16>) -> Indices {
768 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
769 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
770 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int16>'
771 | cvectorization_ops_indices_within_i16(
772 | unsafe cvectorization_ops_load_indices_f16($0.baseAddress.unsafelyUnwrapped),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:785:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
783 | public static func loadIndices(fromUnchecked span: Span<Int16>) -> Indices {
784 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
785 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
786 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int16>'
787 | cvectorization_ops_indices_within_i16(
788 | unsafe cvectorization_ops_load_indices_f16($0.baseAddress.unsafelyUnwrapped),
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:795:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
793 | "Lane index is negative or at least twice as many as a vector has lanes"
794 | )
795 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int16>) -> SIMD<Float16>.Indices' (aka '(UnsafeBufferPointer<Int16>) -> SIMD<Int16>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
796 | Indices(
797 | raw: unsafe cvectorization_ops_load_indices_f16($0.baseAddress.unsafelyUnwrapped)
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1513:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1511 | public static func storeStreaming(_ a: SIMD, to span: inout MutableSpan<Lane>) {
1512 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1513 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1514 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1515 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
1516 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1525:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1523 | public static func storeStreaming(_ a: SIMD, toUnchecked span: inout MutableSpan<Lane>) {
1524 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1525 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1526 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> Bool'
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
1527 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
1528 | },
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1531:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1529 | "Span does not start at an address aligned to the vector size"
1530 | )
1531 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Void'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1532 | unsafe cvectorization_ops_store_streaming_f16(a.raw, $0.baseAddress.unsafelyUnwrapped)
1533 | }
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1577:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1575 | ) -> Int {
1576 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1577 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1578 | Int(
1579 | unsafe cvectorization_ops_store_compressed_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1614:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1612 | ) -> Int {
1613 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1614 | return span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1615 | Int(
1616 | unsafe cvectorization_ops_store_compressed_blended_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1639:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1637 | public static func compressed(_ a: SIMD, bitsUnchecked span: Span<UInt8>) -> SIMD {
1638 | assert(span.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
1639 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1640 | SIMD(
1641 | raw: unsafe cvectorization_ops_compressed_bits_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1677:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1675 | assert(bits.count >= (laneCount + 7) / 8, "Span has fewer bytes than a mask has bits")
1676 | assert(to.count >= laneCount, "Span has fewer elements than a vector has lanes")
1677 | return bits.withUnsafeBufferPointer { bitsBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> Int'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1678 | to.withUnsafeMutableBufferPointer { toBuffer in
1679 | Int(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1678:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1676 | assert(to.count >= laneCount, "Span has fewer elements than a vector has lanes")
1677 | return bits.withUnsafeBufferPointer { bitsBuffer in
1678 | to.withUnsafeMutableBufferPointer { toBuffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Float16>) -> Int'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1679 | Int(
1680 | unsafe cvectorization_ops_store_compressed_bits_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members2.swift:1709:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1707 | public static func loadExpanded(fromUnchecked span: Span<Lane>, where mask: Mask) -> SIMD {
1708 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
1709 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1710 | SIMD(
1711 | raw: unsafe cvectorization_ops_load_expanded_where_f16(
/host/spi-builder-workspace/Sources/Vectorization/Generated/Float16/SIMD+Float16+Members3.swift:40:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
38 | ) -> SIMD {
39 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
40 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Float16>) -> SIMD<Float16>'
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Float16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
41 | SIMD(
42 | raw: unsafe cvectorization_ops_load_expanded_where_otherwise_f16(
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
Build complete! (41.07s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-vectorization",
"name" : "swift-vectorization",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Vectorization",
"targets" : [
"Vectorization"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VectorizationTests",
"module_type" : "SwiftTarget",
"name" : "VectorizationTests",
"path" : "Tests/VectorizationTests",
"sources" : [
"CarrylessMultiplyTests.swift",
"DemotionTests.swift",
"Float16ElementTests.swift",
"Float16FusedTests.swift",
"GenericOpsTests.swift",
"KernelTests.swift",
"LaneOrderTests.swift",
"MemoryOpsTests.swift",
"NarrowMaskTests.swift",
"NarrowVectorTests.swift",
"OpsTests.swift",
"ResizeTests.swift",
"TargetTests.swift",
"TypeCheckingTests.swift"
],
"target_dependencies" : [
"Vectorization"
],
"type" : "test"
},
{
"c99name" : "Vectorization",
"module_type" : "SwiftTarget",
"name" : "Vectorization",
"path" : "Sources/Vectorization",
"product_memberships" : [
"Vectorization"
],
"sources" : [
"BFloat16.swift",
"Generated/BFloat16/BFloat16+SIMDElement+Members1.swift",
"Generated/BFloat16/BFloat16+SIMDElement+Members2.swift",
"Generated/BFloat16/BFloat16+SIMDElement.swift",
"Generated/BFloat16/SIMD+BFloat16+Members1.swift",
"Generated/BFloat16/SIMD+BFloat16+Members2.swift",
"Generated/BFloat16/SIMD+BFloat16.swift",
"Generated/Double/Double+SIMDElement+Members1.swift",
"Generated/Double/Double+SIMDElement+Members2.swift",
"Generated/Double/Double+SIMDElement.swift",
"Generated/Double/SIMD+Double+Members1.swift",
"Generated/Double/SIMD+Double+Members2.swift",
"Generated/Double/SIMD+Double+Members3.swift",
"Generated/Double/SIMD+Double.swift",
"Generated/Float/Float+SIMDElement+Members1.swift",
"Generated/Float/Float+SIMDElement+Members2.swift",
"Generated/Float/Float+SIMDElement.swift",
"Generated/Float/SIMD+Float+Members1.swift",
"Generated/Float/SIMD+Float+Members2.swift",
"Generated/Float/SIMD+Float+Members3.swift",
"Generated/Float/SIMD+Float.swift",
"Generated/Float16/Float16+SIMDElement+Members1.swift",
"Generated/Float16/Float16+SIMDElement+Members2.swift",
"Generated/Float16/Float16+SIMDElement.swift",
"Generated/Float16/SIMD+Float16+Members1.swift",
"Generated/Float16/SIMD+Float16+Members2.swift",
"Generated/Float16/SIMD+Float16+Members3.swift",
"Generated/Float16/SIMD+Float16.swift",
"Generated/Int16/Int16+SIMDElement+Members1.swift",
"Generated/Int16/Int16+SIMDElement+Members2.swift",
"Generated/Int16/Int16+SIMDElement.swift",
"Generated/Int16/SIMD+Int16+Members1.swift",
"Generated/Int16/SIMD+Int16+Members2.swift",
"Generated/Int16/SIMD+Int16+Members3.swift",
"Generated/Int16/SIMD+Int16.swift",
"Generated/Int32/Int32+SIMDElement+Members1.swift",
"Generated/Int32/Int32+SIMDElement+Members2.swift",
"Generated/Int32/Int32+SIMDElement.swift",
"Generated/Int32/SIMD+Int32+Members1.swift",
"Generated/Int32/SIMD+Int32+Members2.swift",
"Generated/Int32/SIMD+Int32+Members3.swift",
"Generated/Int32/SIMD+Int32.swift",
"Generated/Int64/Int64+SIMDElement+Members1.swift",
"Generated/Int64/Int64+SIMDElement+Members2.swift",
"Generated/Int64/Int64+SIMDElement.swift",
"Generated/Int64/SIMD+Int64+Members1.swift",
"Generated/Int64/SIMD+Int64+Members2.swift",
"Generated/Int64/SIMD+Int64+Members3.swift",
"Generated/Int64/SIMD+Int64.swift",
"Generated/Int8/Int8+SIMDElement+Members1.swift",
"Generated/Int8/Int8+SIMDElement+Members2.swift",
"Generated/Int8/Int8+SIMDElement.swift",
"Generated/Int8/SIMD+Int8+Members1.swift",
"Generated/Int8/SIMD+Int8+Members2.swift",
"Generated/Int8/SIMD+Int8+Members3.swift",
"Generated/Int8/SIMD+Int8.swift",
"Generated/SIMD+GenericAnySource+Members1.swift",
"Generated/SIMD+GenericAnySourceEighth+Members1.swift",
"Generated/SIMD+GenericAnySourceQuarter+Members1.swift",
"Generated/SIMD+GenericBiasedExponent+Members1.swift",
"Generated/SIMD+GenericClampingToSigned+Members1.swift",
"Generated/SIMD+GenericClampingToUnsigned+Members1.swift",
"Generated/SIMD+GenericConvertingFromFloat+Members1.swift",
"Generated/SIMD+GenericConvertingToFloat+Members1.swift",
"Generated/SIMD+GenericEighthVectorElement+Members1.swift",
"Generated/SIMD+GenericElement+Members1.swift",
"Generated/SIMD+GenericExponents+Members1.swift",
"Generated/SIMD+GenericFloatElement+Members1.swift",
"Generated/SIMD+GenericGather+Members1.swift",
"Generated/SIMD+GenericIntegerElement+Members1.swift",
"Generated/SIMD+GenericMaskNarrowing+Members1.swift",
"Generated/SIMD+GenericMaskWidening+Members1.swift",
"Generated/SIMD+GenericNarrowOperands+Members1.swift",
"Generated/SIMD+GenericNumericElement+Members1.swift",
"Generated/SIMD+GenericQuarterVectorElement+Members1.swift",
"Generated/SIMD+GenericRounding+Members1.swift",
"Generated/SIMD+GenericSameWidth+Members1.swift",
"Generated/SIMD+GenericSignedElement+Members1.swift",
"Generated/SIMD+GenericSignedIntegerElement+Members1.swift",
"Generated/SIMD+GenericTruncating+Members1.swift",
"Generated/SIMD+GenericUnsignedIntegerElement+Members1.swift",
"Generated/SIMD+GenericWidening+Members1.swift",
"Generated/SIMD.swift",
"Generated/SIMDElement.swift",
"Generated/SIMDTarget+CacheControl.swift",
"Generated/SIMDTarget+Capabilities.swift",
"Generated/SIMDTarget+SupportedTargets.swift",
"Generated/SIMDTargetSet.swift",
"Generated/UInt16/SIMD+UInt16+Members1.swift",
"Generated/UInt16/SIMD+UInt16+Members2.swift",
"Generated/UInt16/SIMD+UInt16+Members3.swift",
"Generated/UInt16/SIMD+UInt16.swift",
"Generated/UInt16/UInt16+SIMDElement+Members1.swift",
"Generated/UInt16/UInt16+SIMDElement+Members2.swift",
"Generated/UInt16/UInt16+SIMDElement.swift",
"Generated/UInt32/SIMD+UInt32+Members1.swift",
"Generated/UInt32/SIMD+UInt32+Members2.swift",
"Generated/UInt32/SIMD+UInt32+Members3.swift",
"Generated/UInt32/SIMD+UInt32.swift",
"Generated/UInt32/UInt32+SIMDElement+Members1.swift",
"Generated/UInt32/UInt32+SIMDElement+Members2.swift",
"Generated/UInt32/UInt32+SIMDElement.swift",
"Generated/UInt64/SIMD+UInt64+Members1.swift",
"Generated/UInt64/SIMD+UInt64+Members2.swift",
"Generated/UInt64/SIMD+UInt64+Members3.swift",
"Generated/UInt64/SIMD+UInt64.swift",
"Generated/UInt64/UInt64+SIMDElement+Members1.swift",
"Generated/UInt64/UInt64+SIMDElement+Members2.swift",
"Generated/UInt64/UInt64+SIMDElement.swift",
"Generated/UInt8/SIMD+UInt8+Members1.swift",
"Generated/UInt8/SIMD+UInt8+Members2.swift",
"Generated/UInt8/SIMD+UInt8+Members3.swift",
"Generated/UInt8/SIMD+UInt8.swift",
"Generated/UInt8/UInt8+SIMDElement+Members1.swift",
"Generated/UInt8/UInt8+SIMDElement+Members2.swift",
"Generated/UInt8/UInt8+SIMDElement.swift",
"SIMDTarget.swift"
],
"target_dependencies" : [
"CVectorizationOps"
],
"type" : "library"
},
{
"c99name" : "CVectorizationOps",
"module_type" : "ClangTarget",
"name" : "CVectorizationOps",
"path" : "Sources/CVectorizationOps",
"product_memberships" : [
"Vectorization"
],
"sources" : [
"CVectorizationOps.c",
"SupportedTargets.c"
],
"type" : "library"
}
],
"tools_version" : "6.3"
}
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:41afcdb97864bf5406d0ae8aa5bcfcef33b811a9f32d0153a8ac0739abb37de2
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Done.