Source file src/simd/simd_types.go

     1  // Code generated by 'go run -C $GOROOT/src/simd/archsimd/_gen/midway'; DO NOT EDIT.
     2  
     3  //go:build goexperiment.simd
     4  
     5  // Scalable vector types for rewriting and emulation
     6  
     7  package simd
     8  
     9  import "simd/internal/bridge"
    10  
    11  // internal SIMD marker, and hard dependence on simd/internal/bridge
    12  type _simd bridge.ZeroSized
    13  
    14  // Int8s represents a vector of 8-bit signed integers.
    15  type Int8s struct {
    16  	_    _simd
    17  	a, b uint64 // the actual vector size may be larger.
    18  }
    19  
    20  // Int16s represents a vector of 16-bit signed integers.
    21  type Int16s struct {
    22  	_    _simd
    23  	a, b uint64 // the actual vector size may be larger.
    24  }
    25  
    26  // Int32s represents a vector of 32-bit signed integers.
    27  type Int32s struct {
    28  	_    _simd
    29  	a, b uint64 // the actual vector size may be larger.
    30  }
    31  
    32  // Int64s represents a vector of 64-bit signed integers.
    33  type Int64s struct {
    34  	_    _simd
    35  	a, b uint64 // the actual vector size may be larger.
    36  }
    37  
    38  // Uint8s represents a vector of 8-bit unsigned integers.
    39  type Uint8s struct {
    40  	_    _simd
    41  	a, b uint64 // the actual vector size may be larger.
    42  }
    43  
    44  // Uint16s represents a vector of 16-bit unsigned integers.
    45  type Uint16s struct {
    46  	_    _simd
    47  	a, b uint64 // the actual vector size may be larger.
    48  }
    49  
    50  // Uint32s represents a vector of 32-bit unsigned integers.
    51  type Uint32s struct {
    52  	_    _simd
    53  	a, b uint64 // the actual vector size may be larger.
    54  }
    55  
    56  // Uint64s represents a vector of 64-bit unsigned integers.
    57  type Uint64s struct {
    58  	_    _simd
    59  	a, b uint64 // the actual vector size may be larger.
    60  }
    61  
    62  // Float32s represents a vector of 32-bit floating-point numbers.
    63  type Float32s struct {
    64  	_    _simd
    65  	a, b uint64 // the actual vector size may be larger.
    66  }
    67  
    68  // Float64s represents a vector of 64-bit floating-point numbers.
    69  type Float64s struct {
    70  	_    _simd
    71  	a, b uint64 // the actual vector size may be larger.
    72  }
    73  
    74  // Mask8s represents a boolean mask for Int8s/Uint8s vectors.
    75  type Mask8s struct {
    76  	_    _simd
    77  	a, b uint64 // the actual vector size may be larger.
    78  }
    79  
    80  // Mask16s represents a boolean mask for Int16s/Uint16s vectors.
    81  type Mask16s struct {
    82  	_    _simd
    83  	a, b uint64 // the actual vector size may be larger.
    84  }
    85  
    86  // Mask32s represents a boolean mask for Int32s/Uint32s vectors.
    87  type Mask32s struct {
    88  	_    _simd
    89  	a, b uint64 // the actual vector size may be larger.
    90  }
    91  
    92  // Mask64s represents a boolean mask for Int64s/Uint64s vectors.
    93  type Mask64s struct {
    94  	_    _simd
    95  	a, b uint64 // the actual vector size may be larger.
    96  }
    97  

View as plain text