Source file src/simd/other_gen_amd64.go

     1  // Code generated by 'go run genfiles.go'; DO NOT EDIT.
     2  
     3  //go:build goexperiment.simd
     4  
     5  package simd
     6  
     7  // BroadcastInt8x16 returns a vector with the input
     8  // x assigned to all elements of the output.
     9  //
    10  // Emulated, CPU Feature AVX2
    11  func BroadcastInt8x16(x int8) Int8x16 {
    12  	var z Int8x16
    13  	return z.SetElem(0, x).Broadcast128()
    14  }
    15  
    16  // BroadcastInt16x8 returns a vector with the input
    17  // x assigned to all elements of the output.
    18  //
    19  // Emulated, CPU Feature AVX2
    20  func BroadcastInt16x8(x int16) Int16x8 {
    21  	var z Int16x8
    22  	return z.SetElem(0, x).Broadcast128()
    23  }
    24  
    25  // BroadcastInt32x4 returns a vector with the input
    26  // x assigned to all elements of the output.
    27  //
    28  // Emulated, CPU Feature AVX2
    29  func BroadcastInt32x4(x int32) Int32x4 {
    30  	var z Int32x4
    31  	return z.SetElem(0, x).Broadcast128()
    32  }
    33  
    34  // BroadcastInt64x2 returns a vector with the input
    35  // x assigned to all elements of the output.
    36  //
    37  // Emulated, CPU Feature AVX2
    38  func BroadcastInt64x2(x int64) Int64x2 {
    39  	var z Int64x2
    40  	return z.SetElem(0, x).Broadcast128()
    41  }
    42  
    43  // BroadcastUint8x16 returns a vector with the input
    44  // x assigned to all elements of the output.
    45  //
    46  // Emulated, CPU Feature AVX2
    47  func BroadcastUint8x16(x uint8) Uint8x16 {
    48  	var z Uint8x16
    49  	return z.SetElem(0, x).Broadcast128()
    50  }
    51  
    52  // BroadcastUint16x8 returns a vector with the input
    53  // x assigned to all elements of the output.
    54  //
    55  // Emulated, CPU Feature AVX2
    56  func BroadcastUint16x8(x uint16) Uint16x8 {
    57  	var z Uint16x8
    58  	return z.SetElem(0, x).Broadcast128()
    59  }
    60  
    61  // BroadcastUint32x4 returns a vector with the input
    62  // x assigned to all elements of the output.
    63  //
    64  // Emulated, CPU Feature AVX2
    65  func BroadcastUint32x4(x uint32) Uint32x4 {
    66  	var z Uint32x4
    67  	return z.SetElem(0, x).Broadcast128()
    68  }
    69  
    70  // BroadcastUint64x2 returns a vector with the input
    71  // x assigned to all elements of the output.
    72  //
    73  // Emulated, CPU Feature AVX2
    74  func BroadcastUint64x2(x uint64) Uint64x2 {
    75  	var z Uint64x2
    76  	return z.SetElem(0, x).Broadcast128()
    77  }
    78  
    79  // BroadcastFloat32x4 returns a vector with the input
    80  // x assigned to all elements of the output.
    81  //
    82  // Emulated, CPU Feature AVX2
    83  func BroadcastFloat32x4(x float32) Float32x4 {
    84  	var z Float32x4
    85  	return z.SetElem(0, x).Broadcast128()
    86  }
    87  
    88  // BroadcastFloat64x2 returns a vector with the input
    89  // x assigned to all elements of the output.
    90  //
    91  // Emulated, CPU Feature AVX2
    92  func BroadcastFloat64x2(x float64) Float64x2 {
    93  	var z Float64x2
    94  	return z.SetElem(0, x).Broadcast128()
    95  }
    96  
    97  // BroadcastInt8x32 returns a vector with the input
    98  // x assigned to all elements of the output.
    99  //
   100  // Emulated, CPU Feature AVX2
   101  func BroadcastInt8x32(x int8) Int8x32 {
   102  	var z Int8x16
   103  	return z.SetElem(0, x).Broadcast256()
   104  }
   105  
   106  // BroadcastInt16x16 returns a vector with the input
   107  // x assigned to all elements of the output.
   108  //
   109  // Emulated, CPU Feature AVX2
   110  func BroadcastInt16x16(x int16) Int16x16 {
   111  	var z Int16x8
   112  	return z.SetElem(0, x).Broadcast256()
   113  }
   114  
   115  // BroadcastInt32x8 returns a vector with the input
   116  // x assigned to all elements of the output.
   117  //
   118  // Emulated, CPU Feature AVX2
   119  func BroadcastInt32x8(x int32) Int32x8 {
   120  	var z Int32x4
   121  	return z.SetElem(0, x).Broadcast256()
   122  }
   123  
   124  // BroadcastInt64x4 returns a vector with the input
   125  // x assigned to all elements of the output.
   126  //
   127  // Emulated, CPU Feature AVX2
   128  func BroadcastInt64x4(x int64) Int64x4 {
   129  	var z Int64x2
   130  	return z.SetElem(0, x).Broadcast256()
   131  }
   132  
   133  // BroadcastUint8x32 returns a vector with the input
   134  // x assigned to all elements of the output.
   135  //
   136  // Emulated, CPU Feature AVX2
   137  func BroadcastUint8x32(x uint8) Uint8x32 {
   138  	var z Uint8x16
   139  	return z.SetElem(0, x).Broadcast256()
   140  }
   141  
   142  // BroadcastUint16x16 returns a vector with the input
   143  // x assigned to all elements of the output.
   144  //
   145  // Emulated, CPU Feature AVX2
   146  func BroadcastUint16x16(x uint16) Uint16x16 {
   147  	var z Uint16x8
   148  	return z.SetElem(0, x).Broadcast256()
   149  }
   150  
   151  // BroadcastUint32x8 returns a vector with the input
   152  // x assigned to all elements of the output.
   153  //
   154  // Emulated, CPU Feature AVX2
   155  func BroadcastUint32x8(x uint32) Uint32x8 {
   156  	var z Uint32x4
   157  	return z.SetElem(0, x).Broadcast256()
   158  }
   159  
   160  // BroadcastUint64x4 returns a vector with the input
   161  // x assigned to all elements of the output.
   162  //
   163  // Emulated, CPU Feature AVX2
   164  func BroadcastUint64x4(x uint64) Uint64x4 {
   165  	var z Uint64x2
   166  	return z.SetElem(0, x).Broadcast256()
   167  }
   168  
   169  // BroadcastFloat32x8 returns a vector with the input
   170  // x assigned to all elements of the output.
   171  //
   172  // Emulated, CPU Feature AVX2
   173  func BroadcastFloat32x8(x float32) Float32x8 {
   174  	var z Float32x4
   175  	return z.SetElem(0, x).Broadcast256()
   176  }
   177  
   178  // BroadcastFloat64x4 returns a vector with the input
   179  // x assigned to all elements of the output.
   180  //
   181  // Emulated, CPU Feature AVX2
   182  func BroadcastFloat64x4(x float64) Float64x4 {
   183  	var z Float64x2
   184  	return z.SetElem(0, x).Broadcast256()
   185  }
   186  
   187  // BroadcastInt8x64 returns a vector with the input
   188  // x assigned to all elements of the output.
   189  //
   190  // Emulated, CPU Feature AVX512BW
   191  func BroadcastInt8x64(x int8) Int8x64 {
   192  	var z Int8x16
   193  	return z.SetElem(0, x).Broadcast512()
   194  }
   195  
   196  // BroadcastInt16x32 returns a vector with the input
   197  // x assigned to all elements of the output.
   198  //
   199  // Emulated, CPU Feature AVX512BW
   200  func BroadcastInt16x32(x int16) Int16x32 {
   201  	var z Int16x8
   202  	return z.SetElem(0, x).Broadcast512()
   203  }
   204  
   205  // BroadcastInt32x16 returns a vector with the input
   206  // x assigned to all elements of the output.
   207  //
   208  // Emulated, CPU Feature AVX512F
   209  func BroadcastInt32x16(x int32) Int32x16 {
   210  	var z Int32x4
   211  	return z.SetElem(0, x).Broadcast512()
   212  }
   213  
   214  // BroadcastInt64x8 returns a vector with the input
   215  // x assigned to all elements of the output.
   216  //
   217  // Emulated, CPU Feature AVX512F
   218  func BroadcastInt64x8(x int64) Int64x8 {
   219  	var z Int64x2
   220  	return z.SetElem(0, x).Broadcast512()
   221  }
   222  
   223  // BroadcastUint8x64 returns a vector with the input
   224  // x assigned to all elements of the output.
   225  //
   226  // Emulated, CPU Feature AVX512BW
   227  func BroadcastUint8x64(x uint8) Uint8x64 {
   228  	var z Uint8x16
   229  	return z.SetElem(0, x).Broadcast512()
   230  }
   231  
   232  // BroadcastUint16x32 returns a vector with the input
   233  // x assigned to all elements of the output.
   234  //
   235  // Emulated, CPU Feature AVX512BW
   236  func BroadcastUint16x32(x uint16) Uint16x32 {
   237  	var z Uint16x8
   238  	return z.SetElem(0, x).Broadcast512()
   239  }
   240  
   241  // BroadcastUint32x16 returns a vector with the input
   242  // x assigned to all elements of the output.
   243  //
   244  // Emulated, CPU Feature AVX512F
   245  func BroadcastUint32x16(x uint32) Uint32x16 {
   246  	var z Uint32x4
   247  	return z.SetElem(0, x).Broadcast512()
   248  }
   249  
   250  // BroadcastUint64x8 returns a vector with the input
   251  // x assigned to all elements of the output.
   252  //
   253  // Emulated, CPU Feature AVX512F
   254  func BroadcastUint64x8(x uint64) Uint64x8 {
   255  	var z Uint64x2
   256  	return z.SetElem(0, x).Broadcast512()
   257  }
   258  
   259  // BroadcastFloat32x16 returns a vector with the input
   260  // x assigned to all elements of the output.
   261  //
   262  // Emulated, CPU Feature AVX512F
   263  func BroadcastFloat32x16(x float32) Float32x16 {
   264  	var z Float32x4
   265  	return z.SetElem(0, x).Broadcast512()
   266  }
   267  
   268  // BroadcastFloat64x8 returns a vector with the input
   269  // x assigned to all elements of the output.
   270  //
   271  // Emulated, CPU Feature AVX512F
   272  func BroadcastFloat64x8(x float64) Float64x8 {
   273  	var z Float64x2
   274  	return z.SetElem(0, x).Broadcast512()
   275  }
   276  
   277  // ToMask converts from Int8x16 to Mask8x16, mask element is set to true when the corresponding vector element is non-zero.
   278  func (from Int8x16) ToMask() (to Mask8x16) {
   279  	return from.NotEqual(Int8x16{})
   280  }
   281  
   282  // ToMask converts from Int16x8 to Mask16x8, mask element is set to true when the corresponding vector element is non-zero.
   283  func (from Int16x8) ToMask() (to Mask16x8) {
   284  	return from.NotEqual(Int16x8{})
   285  }
   286  
   287  // ToMask converts from Int32x4 to Mask32x4, mask element is set to true when the corresponding vector element is non-zero.
   288  func (from Int32x4) ToMask() (to Mask32x4) {
   289  	return from.NotEqual(Int32x4{})
   290  }
   291  
   292  // ToMask converts from Int64x2 to Mask64x2, mask element is set to true when the corresponding vector element is non-zero.
   293  func (from Int64x2) ToMask() (to Mask64x2) {
   294  	return from.NotEqual(Int64x2{})
   295  }
   296  
   297  // ToMask converts from Uint8x16 to Mask8x16, mask element is set to true when the corresponding vector element is non-zero.
   298  func (from Uint8x16) ToMask() (to Mask8x16) {
   299  	return from.NotEqual(Uint8x16{})
   300  }
   301  
   302  // ToMask converts from Uint16x8 to Mask16x8, mask element is set to true when the corresponding vector element is non-zero.
   303  func (from Uint16x8) ToMask() (to Mask16x8) {
   304  	return from.NotEqual(Uint16x8{})
   305  }
   306  
   307  // ToMask converts from Uint32x4 to Mask32x4, mask element is set to true when the corresponding vector element is non-zero.
   308  func (from Uint32x4) ToMask() (to Mask32x4) {
   309  	return from.NotEqual(Uint32x4{})
   310  }
   311  
   312  // ToMask converts from Uint64x2 to Mask64x2, mask element is set to true when the corresponding vector element is non-zero.
   313  func (from Uint64x2) ToMask() (to Mask64x2) {
   314  	return from.NotEqual(Uint64x2{})
   315  }
   316  
   317  // ToMask converts from Float32x4 to Mask32x4, mask element is set to true when the corresponding vector element is non-zero.
   318  func (from Float32x4) ToMask() (to Mask32x4) {
   319  	return from.NotEqual(Float32x4{})
   320  }
   321  
   322  // ToMask converts from Float64x2 to Mask64x2, mask element is set to true when the corresponding vector element is non-zero.
   323  func (from Float64x2) ToMask() (to Mask64x2) {
   324  	return from.NotEqual(Float64x2{})
   325  }
   326  
   327  // ToMask converts from Int8x32 to Mask8x32, mask element is set to true when the corresponding vector element is non-zero.
   328  func (from Int8x32) ToMask() (to Mask8x32) {
   329  	return from.NotEqual(Int8x32{})
   330  }
   331  
   332  // ToMask converts from Int16x16 to Mask16x16, mask element is set to true when the corresponding vector element is non-zero.
   333  func (from Int16x16) ToMask() (to Mask16x16) {
   334  	return from.NotEqual(Int16x16{})
   335  }
   336  
   337  // ToMask converts from Int32x8 to Mask32x8, mask element is set to true when the corresponding vector element is non-zero.
   338  func (from Int32x8) ToMask() (to Mask32x8) {
   339  	return from.NotEqual(Int32x8{})
   340  }
   341  
   342  // ToMask converts from Int64x4 to Mask64x4, mask element is set to true when the corresponding vector element is non-zero.
   343  func (from Int64x4) ToMask() (to Mask64x4) {
   344  	return from.NotEqual(Int64x4{})
   345  }
   346  
   347  // ToMask converts from Uint8x32 to Mask8x32, mask element is set to true when the corresponding vector element is non-zero.
   348  func (from Uint8x32) ToMask() (to Mask8x32) {
   349  	return from.NotEqual(Uint8x32{})
   350  }
   351  
   352  // ToMask converts from Uint16x16 to Mask16x16, mask element is set to true when the corresponding vector element is non-zero.
   353  func (from Uint16x16) ToMask() (to Mask16x16) {
   354  	return from.NotEqual(Uint16x16{})
   355  }
   356  
   357  // ToMask converts from Uint32x8 to Mask32x8, mask element is set to true when the corresponding vector element is non-zero.
   358  func (from Uint32x8) ToMask() (to Mask32x8) {
   359  	return from.NotEqual(Uint32x8{})
   360  }
   361  
   362  // ToMask converts from Uint64x4 to Mask64x4, mask element is set to true when the corresponding vector element is non-zero.
   363  func (from Uint64x4) ToMask() (to Mask64x4) {
   364  	return from.NotEqual(Uint64x4{})
   365  }
   366  
   367  // ToMask converts from Float32x8 to Mask32x8, mask element is set to true when the corresponding vector element is non-zero.
   368  func (from Float32x8) ToMask() (to Mask32x8) {
   369  	return from.NotEqual(Float32x8{})
   370  }
   371  
   372  // ToMask converts from Float64x4 to Mask64x4, mask element is set to true when the corresponding vector element is non-zero.
   373  func (from Float64x4) ToMask() (to Mask64x4) {
   374  	return from.NotEqual(Float64x4{})
   375  }
   376  
   377  // ToMask converts from Int8x64 to Mask8x64, mask element is set to true when the corresponding vector element is non-zero.
   378  func (from Int8x64) ToMask() (to Mask8x64) {
   379  	return from.NotEqual(Int8x64{})
   380  }
   381  
   382  // ToMask converts from Int16x32 to Mask16x32, mask element is set to true when the corresponding vector element is non-zero.
   383  func (from Int16x32) ToMask() (to Mask16x32) {
   384  	return from.NotEqual(Int16x32{})
   385  }
   386  
   387  // ToMask converts from Int32x16 to Mask32x16, mask element is set to true when the corresponding vector element is non-zero.
   388  func (from Int32x16) ToMask() (to Mask32x16) {
   389  	return from.NotEqual(Int32x16{})
   390  }
   391  
   392  // ToMask converts from Int64x8 to Mask64x8, mask element is set to true when the corresponding vector element is non-zero.
   393  func (from Int64x8) ToMask() (to Mask64x8) {
   394  	return from.NotEqual(Int64x8{})
   395  }
   396  
   397  // ToMask converts from Uint8x64 to Mask8x64, mask element is set to true when the corresponding vector element is non-zero.
   398  func (from Uint8x64) ToMask() (to Mask8x64) {
   399  	return from.NotEqual(Uint8x64{})
   400  }
   401  
   402  // ToMask converts from Uint16x32 to Mask16x32, mask element is set to true when the corresponding vector element is non-zero.
   403  func (from Uint16x32) ToMask() (to Mask16x32) {
   404  	return from.NotEqual(Uint16x32{})
   405  }
   406  
   407  // ToMask converts from Uint32x16 to Mask32x16, mask element is set to true when the corresponding vector element is non-zero.
   408  func (from Uint32x16) ToMask() (to Mask32x16) {
   409  	return from.NotEqual(Uint32x16{})
   410  }
   411  
   412  // ToMask converts from Uint64x8 to Mask64x8, mask element is set to true when the corresponding vector element is non-zero.
   413  func (from Uint64x8) ToMask() (to Mask64x8) {
   414  	return from.NotEqual(Uint64x8{})
   415  }
   416  
   417  // ToMask converts from Float32x16 to Mask32x16, mask element is set to true when the corresponding vector element is non-zero.
   418  func (from Float32x16) ToMask() (to Mask32x16) {
   419  	return from.NotEqual(Float32x16{})
   420  }
   421  
   422  // ToMask converts from Float64x8 to Mask64x8, mask element is set to true when the corresponding vector element is non-zero.
   423  func (from Float64x8) ToMask() (to Mask64x8) {
   424  	return from.NotEqual(Float64x8{})
   425  }
   426  
   427  // Not returns the bitwise complement of x
   428  //
   429  // Emulated, CPU Feature AVX
   430  func (x Int8x16) Not() Int8x16 {
   431  	return x.Xor(x.Equal(x).AsInt8x16())
   432  }
   433  
   434  // Not returns the bitwise complement of x
   435  //
   436  // Emulated, CPU Feature AVX
   437  func (x Int16x8) Not() Int16x8 {
   438  	return x.Xor(x.Equal(x).AsInt16x8())
   439  }
   440  
   441  // Not returns the bitwise complement of x
   442  //
   443  // Emulated, CPU Feature AVX
   444  func (x Int32x4) Not() Int32x4 {
   445  	return x.Xor(x.Equal(x).AsInt32x4())
   446  }
   447  
   448  // Not returns the bitwise complement of x
   449  //
   450  // Emulated, CPU Feature AVX
   451  func (x Int64x2) Not() Int64x2 {
   452  	return x.Xor(x.Equal(x).AsInt64x2())
   453  }
   454  
   455  // Not returns the bitwise complement of x
   456  //
   457  // Emulated, CPU Feature AVX2
   458  func (x Int8x32) Not() Int8x32 {
   459  	return x.Xor(x.Equal(x).AsInt8x32())
   460  }
   461  
   462  // Not returns the bitwise complement of x
   463  //
   464  // Emulated, CPU Feature AVX2
   465  func (x Int16x16) Not() Int16x16 {
   466  	return x.Xor(x.Equal(x).AsInt16x16())
   467  }
   468  
   469  // Not returns the bitwise complement of x
   470  //
   471  // Emulated, CPU Feature AVX2
   472  func (x Int32x8) Not() Int32x8 {
   473  	return x.Xor(x.Equal(x).AsInt32x8())
   474  }
   475  
   476  // Not returns the bitwise complement of x
   477  //
   478  // Emulated, CPU Feature AVX2
   479  func (x Int64x4) Not() Int64x4 {
   480  	return x.Xor(x.Equal(x).AsInt64x4())
   481  }
   482  
   483  // Not returns the bitwise complement of x
   484  //
   485  // Emulated, CPU Feature AVX512
   486  func (x Int8x64) Not() Int8x64 {
   487  	return x.Xor(x.Equal(x).AsInt8x64())
   488  }
   489  
   490  // Not returns the bitwise complement of x
   491  //
   492  // Emulated, CPU Feature AVX512
   493  func (x Int16x32) Not() Int16x32 {
   494  	return x.Xor(x.Equal(x).AsInt16x32())
   495  }
   496  
   497  // Not returns the bitwise complement of x
   498  //
   499  // Emulated, CPU Feature AVX512
   500  func (x Int32x16) Not() Int32x16 {
   501  	return x.Xor(x.Equal(x).AsInt32x16())
   502  }
   503  
   504  // Not returns the bitwise complement of x
   505  //
   506  // Emulated, CPU Feature AVX512
   507  func (x Int64x8) Not() Int64x8 {
   508  	return x.Xor(x.Equal(x).AsInt64x8())
   509  }
   510  
   511  // Not returns the bitwise complement of x
   512  //
   513  // Emulated, CPU Feature AVX
   514  func (x Uint8x16) Not() Uint8x16 {
   515  	return x.Xor(x.Equal(x).AsInt8x16().AsUint8x16())
   516  }
   517  
   518  // Not returns the bitwise complement of x
   519  //
   520  // Emulated, CPU Feature AVX
   521  func (x Uint16x8) Not() Uint16x8 {
   522  	return x.Xor(x.Equal(x).AsInt16x8().AsUint16x8())
   523  }
   524  
   525  // Not returns the bitwise complement of x
   526  //
   527  // Emulated, CPU Feature AVX
   528  func (x Uint32x4) Not() Uint32x4 {
   529  	return x.Xor(x.Equal(x).AsInt32x4().AsUint32x4())
   530  }
   531  
   532  // Not returns the bitwise complement of x
   533  //
   534  // Emulated, CPU Feature AVX
   535  func (x Uint64x2) Not() Uint64x2 {
   536  	return x.Xor(x.Equal(x).AsInt64x2().AsUint64x2())
   537  }
   538  
   539  // Not returns the bitwise complement of x
   540  //
   541  // Emulated, CPU Feature AVX2
   542  func (x Uint8x32) Not() Uint8x32 {
   543  	return x.Xor(x.Equal(x).AsInt8x32().AsUint8x32())
   544  }
   545  
   546  // Not returns the bitwise complement of x
   547  //
   548  // Emulated, CPU Feature AVX2
   549  func (x Uint16x16) Not() Uint16x16 {
   550  	return x.Xor(x.Equal(x).AsInt16x16().AsUint16x16())
   551  }
   552  
   553  // Not returns the bitwise complement of x
   554  //
   555  // Emulated, CPU Feature AVX2
   556  func (x Uint32x8) Not() Uint32x8 {
   557  	return x.Xor(x.Equal(x).AsInt32x8().AsUint32x8())
   558  }
   559  
   560  // Not returns the bitwise complement of x
   561  //
   562  // Emulated, CPU Feature AVX2
   563  func (x Uint64x4) Not() Uint64x4 {
   564  	return x.Xor(x.Equal(x).AsInt64x4().AsUint64x4())
   565  }
   566  
   567  // Not returns the bitwise complement of x
   568  //
   569  // Emulated, CPU Feature AVX512
   570  func (x Uint8x64) Not() Uint8x64 {
   571  	return x.Xor(x.Equal(x).AsInt8x64().AsUint8x64())
   572  }
   573  
   574  // Not returns the bitwise complement of x
   575  //
   576  // Emulated, CPU Feature AVX512
   577  func (x Uint16x32) Not() Uint16x32 {
   578  	return x.Xor(x.Equal(x).AsInt16x32().AsUint16x32())
   579  }
   580  
   581  // Not returns the bitwise complement of x
   582  //
   583  // Emulated, CPU Feature AVX512
   584  func (x Uint32x16) Not() Uint32x16 {
   585  	return x.Xor(x.Equal(x).AsInt32x16().AsUint32x16())
   586  }
   587  
   588  // Not returns the bitwise complement of x
   589  //
   590  // Emulated, CPU Feature AVX512
   591  func (x Uint64x8) Not() Uint64x8 {
   592  	return x.Xor(x.Equal(x).AsInt64x8().AsUint64x8())
   593  }
   594  
   595  // String returns a string representation of SIMD vector x
   596  func (x Int8x16) String() string {
   597  	var s [16]int8
   598  	x.Store(&s)
   599  	return sliceToString(s[:])
   600  }
   601  
   602  // String returns a string representation of SIMD vector x
   603  func (x Int16x8) String() string {
   604  	var s [8]int16
   605  	x.Store(&s)
   606  	return sliceToString(s[:])
   607  }
   608  
   609  // String returns a string representation of SIMD vector x
   610  func (x Int32x4) String() string {
   611  	var s [4]int32
   612  	x.Store(&s)
   613  	return sliceToString(s[:])
   614  }
   615  
   616  // String returns a string representation of SIMD vector x
   617  func (x Int64x2) String() string {
   618  	var s [2]int64
   619  	x.Store(&s)
   620  	return sliceToString(s[:])
   621  }
   622  
   623  // String returns a string representation of SIMD vector x
   624  func (x Uint8x16) String() string {
   625  	var s [16]uint8
   626  	x.Store(&s)
   627  	return sliceToString(s[:])
   628  }
   629  
   630  // String returns a string representation of SIMD vector x
   631  func (x Uint16x8) String() string {
   632  	var s [8]uint16
   633  	x.Store(&s)
   634  	return sliceToString(s[:])
   635  }
   636  
   637  // String returns a string representation of SIMD vector x
   638  func (x Uint32x4) String() string {
   639  	var s [4]uint32
   640  	x.Store(&s)
   641  	return sliceToString(s[:])
   642  }
   643  
   644  // String returns a string representation of SIMD vector x
   645  func (x Uint64x2) String() string {
   646  	var s [2]uint64
   647  	x.Store(&s)
   648  	return sliceToString(s[:])
   649  }
   650  
   651  // String returns a string representation of SIMD vector x
   652  func (x Float32x4) String() string {
   653  	var s [4]float32
   654  	x.Store(&s)
   655  	return sliceToString(s[:])
   656  }
   657  
   658  // String returns a string representation of SIMD vector x
   659  func (x Float64x2) String() string {
   660  	var s [2]float64
   661  	x.Store(&s)
   662  	return sliceToString(s[:])
   663  }
   664  
   665  // String returns a string representation of SIMD vector x
   666  func (x Int8x32) String() string {
   667  	var s [32]int8
   668  	x.Store(&s)
   669  	return sliceToString(s[:])
   670  }
   671  
   672  // String returns a string representation of SIMD vector x
   673  func (x Int16x16) String() string {
   674  	var s [16]int16
   675  	x.Store(&s)
   676  	return sliceToString(s[:])
   677  }
   678  
   679  // String returns a string representation of SIMD vector x
   680  func (x Int32x8) String() string {
   681  	var s [8]int32
   682  	x.Store(&s)
   683  	return sliceToString(s[:])
   684  }
   685  
   686  // String returns a string representation of SIMD vector x
   687  func (x Int64x4) String() string {
   688  	var s [4]int64
   689  	x.Store(&s)
   690  	return sliceToString(s[:])
   691  }
   692  
   693  // String returns a string representation of SIMD vector x
   694  func (x Uint8x32) String() string {
   695  	var s [32]uint8
   696  	x.Store(&s)
   697  	return sliceToString(s[:])
   698  }
   699  
   700  // String returns a string representation of SIMD vector x
   701  func (x Uint16x16) String() string {
   702  	var s [16]uint16
   703  	x.Store(&s)
   704  	return sliceToString(s[:])
   705  }
   706  
   707  // String returns a string representation of SIMD vector x
   708  func (x Uint32x8) String() string {
   709  	var s [8]uint32
   710  	x.Store(&s)
   711  	return sliceToString(s[:])
   712  }
   713  
   714  // String returns a string representation of SIMD vector x
   715  func (x Uint64x4) String() string {
   716  	var s [4]uint64
   717  	x.Store(&s)
   718  	return sliceToString(s[:])
   719  }
   720  
   721  // String returns a string representation of SIMD vector x
   722  func (x Float32x8) String() string {
   723  	var s [8]float32
   724  	x.Store(&s)
   725  	return sliceToString(s[:])
   726  }
   727  
   728  // String returns a string representation of SIMD vector x
   729  func (x Float64x4) String() string {
   730  	var s [4]float64
   731  	x.Store(&s)
   732  	return sliceToString(s[:])
   733  }
   734  
   735  // String returns a string representation of SIMD vector x
   736  func (x Int8x64) String() string {
   737  	var s [64]int8
   738  	x.Store(&s)
   739  	return sliceToString(s[:])
   740  }
   741  
   742  // String returns a string representation of SIMD vector x
   743  func (x Int16x32) String() string {
   744  	var s [32]int16
   745  	x.Store(&s)
   746  	return sliceToString(s[:])
   747  }
   748  
   749  // String returns a string representation of SIMD vector x
   750  func (x Int32x16) String() string {
   751  	var s [16]int32
   752  	x.Store(&s)
   753  	return sliceToString(s[:])
   754  }
   755  
   756  // String returns a string representation of SIMD vector x
   757  func (x Int64x8) String() string {
   758  	var s [8]int64
   759  	x.Store(&s)
   760  	return sliceToString(s[:])
   761  }
   762  
   763  // String returns a string representation of SIMD vector x
   764  func (x Uint8x64) String() string {
   765  	var s [64]uint8
   766  	x.Store(&s)
   767  	return sliceToString(s[:])
   768  }
   769  
   770  // String returns a string representation of SIMD vector x
   771  func (x Uint16x32) String() string {
   772  	var s [32]uint16
   773  	x.Store(&s)
   774  	return sliceToString(s[:])
   775  }
   776  
   777  // String returns a string representation of SIMD vector x
   778  func (x Uint32x16) String() string {
   779  	var s [16]uint32
   780  	x.Store(&s)
   781  	return sliceToString(s[:])
   782  }
   783  
   784  // String returns a string representation of SIMD vector x
   785  func (x Uint64x8) String() string {
   786  	var s [8]uint64
   787  	x.Store(&s)
   788  	return sliceToString(s[:])
   789  }
   790  
   791  // String returns a string representation of SIMD vector x
   792  func (x Float32x16) String() string {
   793  	var s [16]float32
   794  	x.Store(&s)
   795  	return sliceToString(s[:])
   796  }
   797  
   798  // String returns a string representation of SIMD vector x
   799  func (x Float64x8) String() string {
   800  	var s [8]float64
   801  	x.Store(&s)
   802  	return sliceToString(s[:])
   803  }
   804  

View as plain text