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  - go: "ConvertLo2ToFloat64"
    46    commutative: false
    47    regexpTag: "convert"
    48    documentation: !string |-
    49      // NAME converts low-indexed float32 element values to float64.
    50  
    51  # Int <-> Int conversions
    52  - go: "TruncToInt8"
    53    commutative: false
    54    regexpTag: "convert"
    55    documentation: !string |-
    56      // NAME truncates element values to int8.
    57  - go: "SaturateToInt8"
    58    commutative: false
    59    regexpTag: "convert"
    60    documentation: !string |-
    61      // NAME converts element values to int8 with signed saturation.
    62  - go: "ExtendToInt16(Concat)?"
    63    commutative: false
    64    regexpTag: "convert"
    65    documentation: !string |-
    66      // NAME sign-extends element values to int16.
    67  - go: "TruncToInt16(Concat)?"
    68    commutative: false
    69    regexpTag: "convert"
    70    documentation: !string |-
    71      // NAME truncates element values to int16.
    72  - go: "SaturateToInt16(Concat(Grouped)?)?"
    73    commutative: false
    74    regexpTag: "convert"
    75    documentation: !string |-
    76      // NAME converts element values to int16 with signed saturation.
    77  - go: "ExtendToInt32"
    78    commutative: false
    79    regexpTag: "convert"
    80    documentation: !string |-
    81      // NAME sign-extends element values to int32.
    82  - go: "TruncToInt32"
    83    commutative: false
    84    regexpTag: "convert"
    85    documentation: !string |-
    86      // NAME truncates element values to int32.
    87  - go: "SaturateToInt32"
    88    commutative: false
    89    regexpTag: "convert"
    90    documentation: !string |-
    91      // NAME converts element values to int32 with signed saturation.
    92  - go: "ExtendToInt64"
    93    commutative: false
    94    regexpTag: "convert"
    95    documentation: !string |-
    96      // NAME sign-extends element values to int64.
    97  - go: "TruncToUint8"
    98    commutative: false
    99    regexpTag: "convert"
   100    documentation: !string |-
   101      // NAME truncates element values to uint8.
   102  - go: "SaturateToUint8"
   103    commutative: false
   104    regexpTag: "convert"
   105    documentation: !string |-
   106      // NAME converts element values to uint8 with unsigned saturation.
   107  - go: "ExtendToUint16(Concat)?"
   108    commutative: false
   109    regexpTag: "convert"
   110    documentation: !string |-
   111      // NAME zero-extends element values to uint16.
   112  - go: "TruncToUint16(Concat)?"
   113    commutative: false
   114    regexpTag: "convert"
   115    documentation: !string |-
   116      // NAME truncates element values to uint16.
   117  - go: "SaturateToUint16(Concat(Grouped)?)?"
   118    commutative: false
   119    regexpTag: "convert"
   120    documentation: !string |-
   121      // NAME converts element values to uint16 with unsigned saturation.
   122  - go: "ExtendToUint32"
   123    regexpTag: "convert"
   124    commutative: false
   125    documentation: !string |-
   126      // NAME zero-extends element values to uint32.
   127  - go: "TruncToUint32"
   128    regexpTag: "convert"
   129    commutative: false
   130    documentation: !string |-
   131      // NAME truncates element values to uint32.
   132  - go: "SaturateToUint32"
   133    regexpTag: "convert"
   134    commutative: false
   135    documentation: !string |-
   136      // NAME converts element values to uint32 with unsigned saturation.
   137  - go: "ExtendToUint64"
   138    regexpTag: "convert"
   139    commutative: false
   140    documentation: !string |-
   141      // NAME zero-extends element values to uint64.
   142  # low-part only Int <-> Int conversions
   143  - go: ExtendLo8ToUint16
   144    commutative: false
   145    documentation: !string |-
   146      // NAME zero-extends 8 lowest vector element values to uint16.
   147  - go: ExtendLo8ToInt16
   148    commutative: false
   149    documentation: !string |-
   150      // NAME sign-extends 8 lowest vector element values to int16.
   151  - go: ExtendLo4ToUint32
   152    commutative: false
   153    documentation: !string |-
   154      // NAME zero-extends 4 lowest vector element values to uint32.
   155  - go: ExtendLo4ToInt32
   156    commutative: false
   157    documentation: !string |-
   158      // NAME sign-extends 4 lowest vector element values to int32.
   159  - go: ExtendLo2ToUint64
   160    commutative: false
   161    documentation: !string |-
   162      // NAME zero-extends 2 lowest vector element values to uint64.
   163  - go: ExtendLo2ToInt64
   164    commutative: false
   165    documentation: !string |-
   166      // NAME sign-extends 2 lowest vector element values to int64.
   167  - go: ExtendLo2ToUint64
   168    commutative: false
   169    documentation: !string |-
   170      // NAME zero-extends 2 lowest vector element values to uint64.
   171  - go: ExtendLo4ToUint64
   172    commutative: false
   173    documentation: !string |-
   174      // NAME zero-extends 4 lowest vector element values to uint64.
   175  - go: ExtendLo2ToInt64
   176    commutative: false
   177    documentation: !string |-
   178      // NAME sign-extends 2 lowest vector element values to int64.
   179  - go: ExtendLo4ToInt64
   180    commutative: false
   181    documentation: !string |-
   182      // NAME sign-extends 4 lowest vector element values to int64.
   183  - go: ExtendLo4ToUint32
   184    commutative: false
   185    documentation: !string |-
   186      // NAME zero-extends 4 lowest vector element values to uint32.
   187  - go: ExtendLo8ToUint32
   188    commutative: false
   189    documentation: !string |-
   190      // NAME zero-extends 8 lowest vector element values to uint32.
   191  - go: ExtendLo4ToInt32
   192    commutative: false
   193    documentation: !string |-
   194      // NAME sign-extends 4 lowest vector element values to int32.
   195  - go: ExtendLo8ToInt32
   196    commutative: false
   197    documentation: !string |-
   198      // NAME sign-extends 8 lowest vector element values to int32.
   199  - go: ExtendLo2ToUint64
   200    commutative: false
   201    documentation: !string |-
   202      // NAME zero-extends 2 lowest vector element values to uint64.
   203  - go: ExtendLo4ToUint64
   204    commutative: false
   205    documentation: !string |-
   206      // NAME zero-extends 4 lowest vector element values to uint64.
   207  - go: ExtendLo8ToUint64
   208    commutative: false
   209    documentation: !string |-
   210      // NAME zero-extends 8 lowest vector element values to uint64.
   211  - go: ExtendLo2ToInt64
   212    commutative: false
   213    documentation: !string |-
   214      // NAME sign-extends 2 lowest vector element values to int64.
   215  - go: ExtendLo4ToInt64
   216    commutative: false
   217    documentation: !string |-
   218      // NAME sign-extends 4 lowest vector element values to int64.
   219  - go: ExtendLo8ToInt64
   220    commutative: false
   221    documentation: !string |-
   222      // NAME sign-extends 8 lowest vector element values to int64.
   223  

View as plain text