Text file src/simd/archsimd/_gen/simdgen/ops/Converts/categories.yaml

     1  !sum
     2  # Float <-> Int conversions
     3  - go: "ConvertToInt32"
     4    commutative: false
     5    regexpTag: "convert"
     6    documentation: !string |-
     7      // NAME converts element values to int32.
     8      // When a conversion is inexact, a truncated (round toward zero) value is returned.
     9      // If a converted result cannot be represented in int32, an implementation-defined
    10      // architecture-specific value is returned.
    11  - go: "ConvertToUint32"
    12    commutative: false
    13    regexpTag: "convert"
    14    documentation: !string |-
    15      // NAME converts element values to uint32.
    16      // When a conversion is inexact, a truncated (round toward zero) value is returned.
    17      // If a converted result cannot be represented in uint32, an implementation-defined
    18      // architecture-specific value is returned.
    19  - go: "ConvertToInt64"
    20    commutative: false
    21    regexpTag: "convert"
    22    documentation: !string |-
    23      // NAME converts element values to int64.
    24      // When a conversion is inexact, a truncated (round toward zero) value is returned.
    25      // If a converted result cannot be represented in int64, an implementation-defined
    26      // architecture-specific value is returned.
    27  - go: "ConvertToUint64"
    28    commutative: false
    29    regexpTag: "convert"
    30    documentation: !string |-
    31      // NAME converts element values to uint64.
    32      // When a conversion is inexact, a truncated (round toward zero) value is returned.
    33      // If a converted result cannot be represented in uint64, an implementation-defined
    34      // architecture-specific value is returned.
    35  - go: "ConvertToFloat32" # Also float64 -> float32
    36    commutative: false
    37    regexpTag: "convert"
    38    documentation: !string |-
    39      // NAME converts element values to float32.
    40  - go: "ConvertToFloat64" # Also float32 -> float64
    41    commutative: false
    42    regexpTag: "convert"
    43    documentation: !string |-
    44      // NAME converts element values to float64.
    45  
    46  # Int <-> Int conversions
    47  - go: "(Extend|Saturate|Truncate)?ToInt8"
    48    commutative: false
    49    regexpTag: "convert"
    50    documentation: !string |-
    51      // NAME converts element values to int8.
    52  - go: "(Extend|Saturate|Truncate)?ToInt16(Concat)?"
    53    commutative: false
    54    regexpTag: "convert"
    55    documentation: !string |-
    56      // NAME converts element values to int16.
    57  - go: "(Extend|Saturate|Truncate)?ToInt32"
    58    commutative: false
    59    regexpTag: "convert"
    60    documentation: !string |-
    61      // NAME converts element values to int32.
    62  - go: "(Extend|Saturate|Truncate)?ToInt64"
    63    commutative: false
    64    regexpTag: "convert"
    65    documentation: !string |-
    66      // NAME converts element values to int64.
    67  - go: "(Extend|Saturate|Truncate)?ToUint8"
    68    commutative: false
    69    regexpTag: "convert"
    70    documentation: !string |-
    71      // NAME converts element values to uint8.
    72  - go: "(Extend|Saturate|Truncate)?ToUint16(Concat)?"
    73    commutative: false
    74    regexpTag: "convert"
    75    documentation: !string |-
    76      // NAME converts element values to uint16.
    77  - go: "(Extend|Saturate|Truncate)?ToUint32"
    78    regexpTag: "convert"
    79    commutative: false
    80    documentation: !string |-
    81      // NAME converts element values to uint32.
    82  - go: "(Extend|Saturate|Truncate)?ToUint64"
    83    regexpTag: "convert"
    84    commutative: false
    85    documentation: !string |-
    86      // NAME converts element values to uint64.
    87  # low-part only Int <-> Int conversions
    88  - go: ExtendLo8ToUint16x8
    89    commutative: false
    90    documentation: !string |-
    91      // NAME converts 8 lowest vector element values to uint16.
    92  - go: ExtendLo8ToInt16x8
    93    commutative: false
    94    documentation: !string |-
    95      // NAME converts 8 lowest vector element values to int16.
    96  - go: ExtendLo4ToUint32x4
    97    commutative: false
    98    documentation: !string |-
    99      // NAME converts 4 lowest vector element values to uint32.
   100  - go: ExtendLo4ToInt32x4
   101    commutative: false
   102    documentation: !string |-
   103      // NAME converts 4 lowest vector element values to int32.
   104  - go: ExtendLo2ToUint64x2
   105    commutative: false
   106    documentation: !string |-
   107      // NAME converts 2 lowest vector element values to uint64.
   108  - go: ExtendLo2ToInt64x2
   109    commutative: false
   110    documentation: !string |-
   111      // NAME converts 2 lowest vector element values to int64.
   112  - go: ExtendLo2ToUint64x2
   113    commutative: false
   114    documentation: !string |-
   115      // NAME converts 2 lowest vector element values to uint64.
   116  - go: ExtendLo4ToUint64x4
   117    commutative: false
   118    documentation: !string |-
   119      // NAME converts 4 lowest vector element values to uint64.
   120  - go: ExtendLo2ToInt64x2
   121    commutative: false
   122    documentation: !string |-
   123      // NAME converts 2 lowest vector element values to int64.
   124  - go: ExtendLo4ToInt64x4
   125    commutative: false
   126    documentation: !string |-
   127      // NAME converts 4 lowest vector element values to int64.
   128  - go: ExtendLo4ToUint32x4
   129    commutative: false
   130    documentation: !string |-
   131      // NAME converts 4 lowest vector element values to uint32.
   132  - go: ExtendLo8ToUint32x8
   133    commutative: false
   134    documentation: !string |-
   135      // NAME converts 8 lowest vector element values to uint32.
   136  - go: ExtendLo4ToInt32x4
   137    commutative: false
   138    documentation: !string |-
   139      // NAME converts 4 lowest vector element values to int32.
   140  - go: ExtendLo8ToInt32x8
   141    commutative: false
   142    documentation: !string |-
   143      // NAME converts 8 lowest vector element values to int32.
   144  - go: ExtendLo2ToUint64x2
   145    commutative: false
   146    documentation: !string |-
   147      // NAME converts 2 lowest vector element values to uint64.
   148  - go: ExtendLo4ToUint64x4
   149    commutative: false
   150    documentation: !string |-
   151      // NAME converts 4 lowest vector element values to uint64.
   152  - go: ExtendLo8ToUint64x8
   153    commutative: false
   154    documentation: !string |-
   155      // NAME converts 8 lowest vector element values to uint64.
   156  - go: ExtendLo2ToInt64x2
   157    commutative: false
   158    documentation: !string |-
   159      // NAME converts 2 lowest vector element values to int64.
   160  - go: ExtendLo4ToInt64x4
   161    commutative: false
   162    documentation: !string |-
   163      // NAME converts 4 lowest vector element values to int64.
   164  - go: ExtendLo8ToInt64x8
   165    commutative: false
   166    documentation: !string |-
   167      // NAME converts 8 lowest vector element values to int64.

View as plain text