Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.xcuserstate
/.swiftpm/xcode/package.xcworkspace/xcuserdata/plx.xcuserdatad/UserInterfaceState.xcuserstate
/Sources/HDXLSIMDSupport/Matrices/.DS_Store
.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,20 @@
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "HDXLSIMDSupportMacros"
BuildableName = "HDXLSIMDSupportMacros"
BlueprintName = "HDXLSIMDSupportMacros"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand Down Expand Up @@ -90,6 +104,26 @@
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "HDXLSIMDSupportMacrosTests"
BuildableName = "HDXLSIMDSupportMacrosTests"
BlueprintName = "HDXLSIMDSupportMacrosTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "HDXLSIMDSupportProtocolsTests"
BuildableName = "HDXLSIMDSupportProtocolsTests"
BlueprintName = "HDXLSIMDSupportProtocolsTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,19 @@
<integer>1</integer>
</dict>
<key>HDXLSIMDSupport.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>3</integer>
</dict>
<key>HDXLSIMDSupportMacros.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>2</integer>
</dict>
<key>HDXLSIMDSupportSwiftUI.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>3</integer>
<integer>4</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
Expand All @@ -32,6 +37,11 @@
<key>primary</key>
<true/>
</dict>
<key>HDXLSIMDSupportMacros</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>HDXLSIMDSupportSwiftUI</key>
<dict>
<key>primary</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "59AA891F-81A0-42E8-98A1-2379D94FE4B7"
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "DA0A190D-3C30-41BA-92D6-7C86238311E2"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Sources/HDXLSIMDSupport/ExtendedSIMDScalar/Double+ExtendedSIMDScalar.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "2"
endingLineNumber = "2"
landmarkName = "unknown"
landmarkType = "0">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>HDXLSIMDSupport-Package.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
<key>HDXLSIMDSupport.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>HDXLSIMDSupportMacros.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>2</integer>
</dict>
<key>HDXLSIMDSupportSwiftUI.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>3</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>HDXLSIMDSupportMacros</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
//
// Double+ExtendedSIMDScalar.swift
//

import Foundation
import simd
import HDXLSIMDSupportProtocols

extension Double : ExtendedSIMDScalar {
extension Double : @retroactive ExtendedSIMDScalar {

public typealias QuaternionStorage = DoubleQuaternionStorage

Expand Down
21 changes: 21 additions & 0 deletions Holding/ExtendedSIMDScalar/Float+ExtendedSIMDScalar.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Foundation
import simd
import HDXLSIMDSupportMacros


//
//extension Float : ExtendedSIMDScalar {
//
// public typealias QuaternionStorage = FloatQuaternionStorage
//
// public typealias Matrix2x2Storage = FloatMatrix2x2Storage
// public typealias Matrix2x3Storage = FloatMatrix2x3Storage
// public typealias Matrix2x4Storage = FloatMatrix2x4Storage
// public typealias Matrix3x2Storage = FloatMatrix3x2Storage
// public typealias Matrix3x3Storage = FloatMatrix3x3Storage
// public typealias Matrix3x4Storage = FloatMatrix3x4Storage
// public typealias Matrix4x2Storage = FloatMatrix4x2Storage
// public typealias Matrix4x3Storage = FloatMatrix4x3Storage
// public typealias Matrix4x4Storage = FloatMatrix4x4Storage
//
//}
Loading