Source file src/simd/archsimd/ops_exp_gen_wasm.go

     1  // Code generated by 'wasmgen'; DO NOT EDIT.
     2  
     3  //go:build goexperiment.simd && wasm
     4  
     5  package archsimd
     6  
     7  // BitSelect returns the bitwise selection of x and y controlled by cond,
     8  // choosing each bit from x where the corresponding bit of cond is 1 and from y
     9  // where it is 0.
    10  //
    11  //	z[i] = (x[i] & cond[i]) | (y[i] &^ cond[i])
    12  //
    13  // Asm: V128Bitselect
    14  func (x Int8x16) BitSelect(y Int8x16, cond Uint8x16) (z Int8x16)
    15  
    16  // BitSelect returns the bitwise selection of x and y controlled by cond,
    17  // choosing each bit from x where the corresponding bit of cond is 1 and from y
    18  // where it is 0.
    19  //
    20  //	z[i] = (x[i] & cond[i]) | (y[i] &^ cond[i])
    21  //
    22  // Asm: V128Bitselect
    23  func (x Uint8x16) BitSelect(y Uint8x16, cond Uint8x16) (z Uint8x16)
    24  
    25  // BitSelect returns the bitwise selection of x and y controlled by cond,
    26  // choosing each bit from x where the corresponding bit of cond is 1 and from y
    27  // where it is 0.
    28  //
    29  //	z[i] = (x[i] & cond[i]) | (y[i] &^ cond[i])
    30  //
    31  // Asm: V128Bitselect
    32  func (x Int16x8) BitSelect(y Int16x8, cond Uint16x8) (z Int16x8)
    33  
    34  // BitSelect returns the bitwise selection of x and y controlled by cond,
    35  // choosing each bit from x where the corresponding bit of cond is 1 and from y
    36  // where it is 0.
    37  //
    38  //	z[i] = (x[i] & cond[i]) | (y[i] &^ cond[i])
    39  //
    40  // Asm: V128Bitselect
    41  func (x Uint16x8) BitSelect(y Uint16x8, cond Uint16x8) (z Uint16x8)
    42  
    43  // BitSelect returns the bitwise selection of x and y controlled by cond,
    44  // choosing each bit from x where the corresponding bit of cond is 1 and from y
    45  // where it is 0.
    46  //
    47  //	z[i] = (x[i] & cond[i]) | (y[i] &^ cond[i])
    48  //
    49  // Asm: V128Bitselect
    50  func (x Int32x4) BitSelect(y Int32x4, cond Uint32x4) (z Int32x4)
    51  
    52  // BitSelect returns the bitwise selection of x and y controlled by cond,
    53  // choosing each bit from x where the corresponding bit of cond is 1 and from y
    54  // where it is 0.
    55  //
    56  //	z[i] = (x[i] & cond[i]) | (y[i] &^ cond[i])
    57  //
    58  // Asm: V128Bitselect
    59  func (x Uint32x4) BitSelect(y Uint32x4, cond Uint32x4) (z Uint32x4)
    60  
    61  // BitSelect returns the bitwise selection of x and y controlled by cond,
    62  // choosing each bit from x where the corresponding bit of cond is 1 and from y
    63  // where it is 0.
    64  //
    65  //	z[i] = (x[i] & cond[i]) | (y[i] &^ cond[i])
    66  //
    67  // Asm: V128Bitselect
    68  func (x Int64x2) BitSelect(y Int64x2, cond Uint64x2) (z Int64x2)
    69  
    70  // BitSelect returns the bitwise selection of x and y controlled by cond,
    71  // choosing each bit from x where the corresponding bit of cond is 1 and from y
    72  // where it is 0.
    73  //
    74  //	z[i] = (x[i] & cond[i]) | (y[i] &^ cond[i])
    75  //
    76  // Asm: V128Bitselect
    77  func (x Uint64x2) BitSelect(y Uint64x2, cond Uint64x2) (z Uint64x2)
    78  

View as plain text