Lines Matching refs:unop_convert
113 def unop_convert(name, out_type, in_type, const_expr): function
168 unop_convert("f2i", tint32, tfloat32, "src0") # Float-to-integer conversion.
169 unop_convert("f2u", tuint32, tfloat32, "src0") # Float-to-unsigned conversion
170 unop_convert("d2i", tint32, tfloat64, "src0") # Double-to-integer conversion.
171 unop_convert("d2u", tuint32, tfloat64, "src0") # Double-to-unsigned conversion.
172 unop_convert("i2f", tfloat32, tint32, "src0") # Integer-to-float conversion.
173 unop_convert("i2d", tfloat64, tint32, "src0") # Integer-to-double conversion.
175 unop_convert("f2b", tbool, tfloat32, "src0 != 0.0f")
176 unop_convert("d2b", tbool, tfloat64, "src0 != 0.0")
178 unop_convert("b2f", tfloat32, tbool, "src0 ? 1.0f : 0.0f")
180 unop_convert("i2b", tbool, tint32, "src0 != 0")
181 unop_convert("b2i", tint32, tbool, "src0 ? 1 : 0") # Boolean-to-int conversion
182 unop_convert("u2f", tfloat32, tuint32, "src0") # Unsigned-to-float conversion.
183 unop_convert("u2d", tfloat64, tuint32, "src0") # Unsigned-to-double conversion.
185 unop_convert("d2f", tfloat32, tfloat64, "src0") # Double to single precision
186 unop_convert("f2d", tfloat64, tfloat32, "src0") # Single to double precision
284 unop_convert("unpack_double_2x32_split_x", tuint32, tuint64, "src0")
285 unop_convert("unpack_double_2x32_split_y", tuint32, tuint64, "src0 >> 32")
304 unop_convert("ufind_msb", tint32, tuint32, """