Source file src/simd/archsimd/compare_gen_arm64.go

     1  // Code generated by 'tmplgen'; DO NOT EDIT.
     2  
     3  //go:build goexperiment.simd
     4  
     5  package archsimd
     6  
     7  // Less returns a mask whose elements indicate whether x < y.
     8  func (x Int8x16) Less(y Int8x16) Mask8x16 {
     9  	return y.Greater(x)
    10  }
    11  
    12  // Less returns a mask whose elements indicate whether x < y.
    13  func (x Int16x8) Less(y Int16x8) Mask16x8 {
    14  	return y.Greater(x)
    15  }
    16  
    17  // Less returns a mask whose elements indicate whether x < y.
    18  func (x Int32x4) Less(y Int32x4) Mask32x4 {
    19  	return y.Greater(x)
    20  }
    21  
    22  // Less returns a mask whose elements indicate whether x < y.
    23  func (x Int64x2) Less(y Int64x2) Mask64x2 {
    24  	return y.Greater(x)
    25  }
    26  
    27  // Less returns a mask whose elements indicate whether x < y.
    28  func (x Uint8x16) Less(y Uint8x16) Mask8x16 {
    29  	return y.Greater(x)
    30  }
    31  
    32  // Less returns a mask whose elements indicate whether x < y.
    33  func (x Uint16x8) Less(y Uint16x8) Mask16x8 {
    34  	return y.Greater(x)
    35  }
    36  
    37  // Less returns a mask whose elements indicate whether x < y.
    38  func (x Uint32x4) Less(y Uint32x4) Mask32x4 {
    39  	return y.Greater(x)
    40  }
    41  
    42  // Less returns a mask whose elements indicate whether x < y.
    43  func (x Uint64x2) Less(y Uint64x2) Mask64x2 {
    44  	return y.Greater(x)
    45  }
    46  
    47  // Less returns a mask whose elements indicate whether x < y.
    48  func (x Float32x4) Less(y Float32x4) Mask32x4 {
    49  	return y.Greater(x)
    50  }
    51  
    52  // Less returns a mask whose elements indicate whether x < y.
    53  func (x Float64x2) Less(y Float64x2) Mask64x2 {
    54  	return y.Greater(x)
    55  }
    56  
    57  // LessEqual returns a mask whose elements indicate whether x <= y.
    58  func (x Int8x16) LessEqual(y Int8x16) Mask8x16 {
    59  	return y.GreaterEqual(x)
    60  }
    61  
    62  // LessEqual returns a mask whose elements indicate whether x <= y.
    63  func (x Int16x8) LessEqual(y Int16x8) Mask16x8 {
    64  	return y.GreaterEqual(x)
    65  }
    66  
    67  // LessEqual returns a mask whose elements indicate whether x <= y.
    68  func (x Int32x4) LessEqual(y Int32x4) Mask32x4 {
    69  	return y.GreaterEqual(x)
    70  }
    71  
    72  // LessEqual returns a mask whose elements indicate whether x <= y.
    73  func (x Int64x2) LessEqual(y Int64x2) Mask64x2 {
    74  	return y.GreaterEqual(x)
    75  }
    76  
    77  // LessEqual returns a mask whose elements indicate whether x <= y.
    78  func (x Uint8x16) LessEqual(y Uint8x16) Mask8x16 {
    79  	return y.GreaterEqual(x)
    80  }
    81  
    82  // LessEqual returns a mask whose elements indicate whether x <= y.
    83  func (x Uint16x8) LessEqual(y Uint16x8) Mask16x8 {
    84  	return y.GreaterEqual(x)
    85  }
    86  
    87  // LessEqual returns a mask whose elements indicate whether x <= y.
    88  func (x Uint32x4) LessEqual(y Uint32x4) Mask32x4 {
    89  	return y.GreaterEqual(x)
    90  }
    91  
    92  // LessEqual returns a mask whose elements indicate whether x <= y.
    93  func (x Uint64x2) LessEqual(y Uint64x2) Mask64x2 {
    94  	return y.GreaterEqual(x)
    95  }
    96  
    97  // LessEqual returns a mask whose elements indicate whether x <= y.
    98  func (x Float32x4) LessEqual(y Float32x4) Mask32x4 {
    99  	return y.GreaterEqual(x)
   100  }
   101  
   102  // LessEqual returns a mask whose elements indicate whether x <= y.
   103  func (x Float64x2) LessEqual(y Float64x2) Mask64x2 {
   104  	return y.GreaterEqual(x)
   105  }
   106  
   107  // NotEqual returns a mask whose elements indicate whether x != y.
   108  func (x Int8x16) NotEqual(y Int8x16) Mask8x16 {
   109  	return x.Equal(y).Not()
   110  }
   111  
   112  // NotEqual returns a mask whose elements indicate whether x != y.
   113  func (x Int16x8) NotEqual(y Int16x8) Mask16x8 {
   114  	return x.Equal(y).Not()
   115  }
   116  
   117  // NotEqual returns a mask whose elements indicate whether x != y.
   118  func (x Int32x4) NotEqual(y Int32x4) Mask32x4 {
   119  	return x.Equal(y).Not()
   120  }
   121  
   122  // NotEqual returns a mask whose elements indicate whether x != y.
   123  func (x Int64x2) NotEqual(y Int64x2) Mask64x2 {
   124  	return x.Equal(y).Not()
   125  }
   126  
   127  // NotEqual returns a mask whose elements indicate whether x != y.
   128  func (x Uint8x16) NotEqual(y Uint8x16) Mask8x16 {
   129  	return x.Equal(y).Not()
   130  }
   131  
   132  // NotEqual returns a mask whose elements indicate whether x != y.
   133  func (x Uint16x8) NotEqual(y Uint16x8) Mask16x8 {
   134  	return x.Equal(y).Not()
   135  }
   136  
   137  // NotEqual returns a mask whose elements indicate whether x != y.
   138  func (x Uint32x4) NotEqual(y Uint32x4) Mask32x4 {
   139  	return x.Equal(y).Not()
   140  }
   141  
   142  // NotEqual returns a mask whose elements indicate whether x != y.
   143  func (x Uint64x2) NotEqual(y Uint64x2) Mask64x2 {
   144  	return x.Equal(y).Not()
   145  }
   146  
   147  // NotEqual returns a mask whose elements indicate whether x != y.
   148  func (x Float32x4) NotEqual(y Float32x4) Mask32x4 {
   149  	return x.Equal(y).Not()
   150  }
   151  
   152  // NotEqual returns a mask whose elements indicate whether x != y.
   153  func (x Float64x2) NotEqual(y Float64x2) Mask64x2 {
   154  	return x.Equal(y).Not()
   155  }
   156  

View as plain text