Source file src/simd/tofrom_emulated.go

     1  // Code generated by 'go run -C $GOROOT/src/simd/archsimd/_gen/midway'; DO NOT EDIT.
     2  
     3  //go:build goexperiment.simdstable && !(amd64 || wasm || arm64)
     4  
     5  package simd
     6  
     7  // ToArch returns x as the [simd/archsimd] type backing Int8s in this process
     8  // (for vector width [VectorBits]), or nil if [Emulated] is true.
     9  //
    10  // Because the dynamic type of the result depends on CPU features and
    11  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
    12  // (such as scalable types on arm64), callers should use a type switch with a
    13  // default case.
    14  func (x Int8s) ToArch() any {
    15  	return nil
    16  }
    17  
    18  // ToArch returns x as the [simd/archsimd] type backing Int16s in this process
    19  // (for vector width [VectorBits]), or nil if [Emulated] is true.
    20  //
    21  // Because the dynamic type of the result depends on CPU features and
    22  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
    23  // (such as scalable types on arm64), callers should use a type switch with a
    24  // default case.
    25  func (x Int16s) ToArch() any {
    26  	return nil
    27  }
    28  
    29  // ToArch returns x as the [simd/archsimd] type backing Int32s in this process
    30  // (for vector width [VectorBits]), or nil if [Emulated] is true.
    31  //
    32  // Because the dynamic type of the result depends on CPU features and
    33  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
    34  // (such as scalable types on arm64), callers should use a type switch with a
    35  // default case.
    36  func (x Int32s) ToArch() any {
    37  	return nil
    38  }
    39  
    40  // ToArch returns x as the [simd/archsimd] type backing Int64s in this process
    41  // (for vector width [VectorBits]), or nil if [Emulated] is true.
    42  //
    43  // Because the dynamic type of the result depends on CPU features and
    44  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
    45  // (such as scalable types on arm64), callers should use a type switch with a
    46  // default case.
    47  func (x Int64s) ToArch() any {
    48  	return nil
    49  }
    50  
    51  // ToArch returns x as the [simd/archsimd] type backing Uint8s in this process
    52  // (for vector width [VectorBits]), or nil if [Emulated] is true.
    53  //
    54  // Because the dynamic type of the result depends on CPU features and
    55  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
    56  // (such as scalable types on arm64), callers should use a type switch with a
    57  // default case.
    58  func (x Uint8s) ToArch() any {
    59  	return nil
    60  }
    61  
    62  // ToArch returns x as the [simd/archsimd] type backing Uint16s in this process
    63  // (for vector width [VectorBits]), or nil if [Emulated] is true.
    64  //
    65  // Because the dynamic type of the result depends on CPU features and
    66  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
    67  // (such as scalable types on arm64), callers should use a type switch with a
    68  // default case.
    69  func (x Uint16s) ToArch() any {
    70  	return nil
    71  }
    72  
    73  // ToArch returns x as the [simd/archsimd] type backing Uint32s in this process
    74  // (for vector width [VectorBits]), or nil if [Emulated] is true.
    75  //
    76  // Because the dynamic type of the result depends on CPU features and
    77  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
    78  // (such as scalable types on arm64), callers should use a type switch with a
    79  // default case.
    80  func (x Uint32s) ToArch() any {
    81  	return nil
    82  }
    83  
    84  // ToArch returns x as the [simd/archsimd] type backing Uint64s in this process
    85  // (for vector width [VectorBits]), or nil if [Emulated] is true.
    86  //
    87  // Because the dynamic type of the result depends on CPU features and
    88  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
    89  // (such as scalable types on arm64), callers should use a type switch with a
    90  // default case.
    91  func (x Uint64s) ToArch() any {
    92  	return nil
    93  }
    94  
    95  // ToArch returns x as the [simd/archsimd] type backing Float32s in this process
    96  // (for vector width [VectorBits]), or nil if [Emulated] is true.
    97  //
    98  // Because the dynamic type of the result depends on CPU features and
    99  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
   100  // (such as scalable types on arm64), callers should use a type switch with a
   101  // default case.
   102  func (x Float32s) ToArch() any {
   103  	return nil
   104  }
   105  
   106  // ToArch returns x as the [simd/archsimd] type backing Float64s in this process
   107  // (for vector width [VectorBits]), or nil if [Emulated] is true.
   108  //
   109  // Because the dynamic type of the result depends on CPU features and
   110  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
   111  // (such as scalable types on arm64), callers should use a type switch with a
   112  // default case.
   113  func (x Float64s) ToArch() any {
   114  	return nil
   115  }
   116  
   117  // ToArch returns x as the [simd/archsimd] type backing Mask8s in this process
   118  // (for vector width [VectorBits]), or nil if [Emulated] is true.
   119  //
   120  // Because the dynamic type of the result depends on CPU features and
   121  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
   122  // (such as scalable types on arm64), callers should use a type switch with a
   123  // default case.
   124  func (x Mask8s) ToArch() any {
   125  	return nil
   126  }
   127  
   128  // ToArch returns x as the [simd/archsimd] type backing Mask16s in this process
   129  // (for vector width [VectorBits]), or nil if [Emulated] is true.
   130  //
   131  // Because the dynamic type of the result depends on CPU features and
   132  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
   133  // (such as scalable types on arm64), callers should use a type switch with a
   134  // default case.
   135  func (x Mask16s) ToArch() any {
   136  	return nil
   137  }
   138  
   139  // ToArch returns x as the [simd/archsimd] type backing Mask32s in this process
   140  // (for vector width [VectorBits]), or nil if [Emulated] is true.
   141  //
   142  // Because the dynamic type of the result depends on CPU features and
   143  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
   144  // (such as scalable types on arm64), callers should use a type switch with a
   145  // default case.
   146  func (x Mask32s) ToArch() any {
   147  	return nil
   148  }
   149  
   150  // ToArch returns x as the [simd/archsimd] type backing Mask64s in this process
   151  // (for vector width [VectorBits]), or nil if [Emulated] is true.
   152  //
   153  // Because the dynamic type of the result depends on CPU features and
   154  // GODEBUG=simd, and future Go releases may return other [simd/archsimd] types
   155  // (such as scalable types on arm64), callers should use a type switch with a
   156  // default case.
   157  func (x Mask64s) ToArch() any {
   158  	return nil
   159  }
   160  

View as plain text