@@ -751,6 +751,76 @@ public enum Fuzzilli_Protobuf_WasmMemoryStoreType: SwiftProtobuf.Enum, Swift.Cas
751
751
752
752
}
753
753
754
+ public enum Fuzzilli_Protobuf_WasmSimdLoadKind : SwiftProtobuf . Enum , Swift . CaseIterable {
755
+ public typealias RawValue = Int
756
+ case loads128 // = 0
757
+ case load8X8S // = 1
758
+ case load8X8U // = 2
759
+ case load16X4S // = 3
760
+ case load16X4U // = 4
761
+ case load32X2S // = 5
762
+ case load32X2U // = 6
763
+ case load8Splat // = 7
764
+ case load16Splat // = 8
765
+ case load32Splat // = 9
766
+ case load64Splat // = 10
767
+ case UNRECOGNIZED( Int )
768
+
769
+ public init ( ) {
770
+ self = . loads128
771
+ }
772
+
773
+ public init ? ( rawValue: Int ) {
774
+ switch rawValue {
775
+ case 0 : self = . loads128
776
+ case 1 : self = . load8X8S
777
+ case 2 : self = . load8X8U
778
+ case 3 : self = . load16X4S
779
+ case 4 : self = . load16X4U
780
+ case 5 : self = . load32X2S
781
+ case 6 : self = . load32X2U
782
+ case 7 : self = . load8Splat
783
+ case 8 : self = . load16Splat
784
+ case 9 : self = . load32Splat
785
+ case 10 : self = . load64Splat
786
+ default : self = . UNRECOGNIZED( rawValue)
787
+ }
788
+ }
789
+
790
+ public var rawValue : Int {
791
+ switch self {
792
+ case . loads128: return 0
793
+ case . load8X8S: return 1
794
+ case . load8X8U: return 2
795
+ case . load16X4S: return 3
796
+ case . load16X4U: return 4
797
+ case . load32X2S: return 5
798
+ case . load32X2U: return 6
799
+ case . load8Splat: return 7
800
+ case . load16Splat: return 8
801
+ case . load32Splat: return 9
802
+ case . load64Splat: return 10
803
+ case . UNRECOGNIZED( let i) : return i
804
+ }
805
+ }
806
+
807
+ // The compiler won't synthesize support with the UNRECOGNIZED case.
808
+ public static let allCases : [ Fuzzilli_Protobuf_WasmSimdLoadKind ] = [
809
+ . loads128,
810
+ . load8X8S,
811
+ . load8X8U,
812
+ . load16X4S,
813
+ . load16X4U,
814
+ . load32X2S,
815
+ . load32X2U,
816
+ . load8Splat,
817
+ . load16Splat,
818
+ . load32Splat,
819
+ . load64Splat,
820
+ ]
821
+
822
+ }
823
+
754
824
/// Parameters used by function definitions, not an operation by itself.
755
825
public struct Fuzzilli_Protobuf_Parameters : Sendable {
756
826
// SwiftProtobuf.Message conformance is added in an extension below. See the
@@ -4309,11 +4379,13 @@ public struct Fuzzilli_Protobuf_WasmI64x2ExtractLane: Sendable {
4309
4379
public init ( ) { }
4310
4380
}
4311
4381
4312
- public struct Fuzzilli_Protobuf_WasmI64x2LoadSplat : Sendable {
4382
+ public struct Fuzzilli_Protobuf_WasmSimdLoad : Sendable {
4313
4383
// SwiftProtobuf.Message conformance is added in an extension below. See the
4314
4384
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
4315
4385
// methods supported on all messages.
4316
4386
4387
+ public var kind : Fuzzilli_Protobuf_WasmSimdLoadKind = . loads128
4388
+
4317
4389
public var staticOffset : Int64 = 0
4318
4390
4319
4391
public var isMemory64 : Bool = false
@@ -4488,6 +4560,22 @@ extension Fuzzilli_Protobuf_WasmMemoryStoreType: SwiftProtobuf._ProtoNameProvidi
4488
4560
]
4489
4561
}
4490
4562
4563
+ extension Fuzzilli_Protobuf_WasmSimdLoadKind : SwiftProtobuf . _ProtoNameProviding {
4564
+ public static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
4565
+ 0 : . same( proto: " LOADS128 " ) ,
4566
+ 1 : . same( proto: " LOAD8x8S " ) ,
4567
+ 2 : . same( proto: " LOAD8x8U " ) ,
4568
+ 3 : . same( proto: " LOAD16x4S " ) ,
4569
+ 4 : . same( proto: " LOAD16x4U " ) ,
4570
+ 5 : . same( proto: " LOAD32x2S " ) ,
4571
+ 6 : . same( proto: " LOAD32x2U " ) ,
4572
+ 7 : . same( proto: " LOAD8SPLAT " ) ,
4573
+ 8 : . same( proto: " LOAD16SPLAT " ) ,
4574
+ 9 : . same( proto: " LOAD32SPLAT " ) ,
4575
+ 10 : . same( proto: " LOAD64SPLAT " ) ,
4576
+ ]
4577
+ }
4578
+
4491
4579
extension Fuzzilli_Protobuf_Parameters : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
4492
4580
public static let protoMessageName : String = _protobuf_package + " .Parameters "
4493
4581
public static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
@@ -12597,11 +12685,12 @@ extension Fuzzilli_Protobuf_WasmI64x2ExtractLane: SwiftProtobuf.Message, SwiftPr
12597
12685
}
12598
12686
}
12599
12687
12600
- extension Fuzzilli_Protobuf_WasmI64x2LoadSplat : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
12601
- public static let protoMessageName : String = _protobuf_package + " .WasmI64x2LoadSplat "
12688
+ extension Fuzzilli_Protobuf_WasmSimdLoad : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
12689
+ public static let protoMessageName : String = _protobuf_package + " .WasmSimdLoad "
12602
12690
public static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
12603
- 1 : . same( proto: " staticOffset " ) ,
12604
- 2 : . same( proto: " isMemory64 " ) ,
12691
+ 1 : . same( proto: " kind " ) ,
12692
+ 2 : . same( proto: " staticOffset " ) ,
12693
+ 3 : . same( proto: " isMemory64 " ) ,
12605
12694
]
12606
12695
12607
12696
public mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
@@ -12610,24 +12699,29 @@ extension Fuzzilli_Protobuf_WasmI64x2LoadSplat: SwiftProtobuf.Message, SwiftProt
12610
12699
// allocates stack space for every case branch when no optimizations are
12611
12700
// enabled. https://github.com/apple/swift-protobuf/issues/1034
12612
12701
switch fieldNumber {
12613
- case 1 : try { try decoder. decodeSingularInt64Field ( value: & self . staticOffset) } ( )
12614
- case 2 : try { try decoder. decodeSingularBoolField ( value: & self . isMemory64) } ( )
12702
+ case 1 : try { try decoder. decodeSingularEnumField ( value: & self . kind) } ( )
12703
+ case 2 : try { try decoder. decodeSingularInt64Field ( value: & self . staticOffset) } ( )
12704
+ case 3 : try { try decoder. decodeSingularBoolField ( value: & self . isMemory64) } ( )
12615
12705
default : break
12616
12706
}
12617
12707
}
12618
12708
}
12619
12709
12620
12710
public func traverse< V: SwiftProtobuf . Visitor > ( visitor: inout V ) throws {
12711
+ if self . kind != . loads128 {
12712
+ try visitor. visitSingularEnumField ( value: self . kind, fieldNumber: 1 )
12713
+ }
12621
12714
if self . staticOffset != 0 {
12622
- try visitor. visitSingularInt64Field ( value: self . staticOffset, fieldNumber: 1 )
12715
+ try visitor. visitSingularInt64Field ( value: self . staticOffset, fieldNumber: 2 )
12623
12716
}
12624
12717
if self . isMemory64 != false {
12625
- try visitor. visitSingularBoolField ( value: self . isMemory64, fieldNumber: 2 )
12718
+ try visitor. visitSingularBoolField ( value: self . isMemory64, fieldNumber: 3 )
12626
12719
}
12627
12720
try unknownFields. traverse ( visitor: & visitor)
12628
12721
}
12629
12722
12630
- public static func == ( lhs: Fuzzilli_Protobuf_WasmI64x2LoadSplat , rhs: Fuzzilli_Protobuf_WasmI64x2LoadSplat ) -> Bool {
12723
+ public static func == ( lhs: Fuzzilli_Protobuf_WasmSimdLoad , rhs: Fuzzilli_Protobuf_WasmSimdLoad ) -> Bool {
12724
+ if lhs. kind != rhs. kind { return false }
12631
12725
if lhs. staticOffset != rhs. staticOffset { return false }
12632
12726
if lhs. isMemory64 != rhs. isMemory64 { return false }
12633
12727
if lhs. unknownFields != rhs. unknownFields { return false }
0 commit comments