...
Run Format

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

Documentation: simd/archsimd/_gen/simdgen/ops/Converts

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

View as plain text