Home
last modified time | relevance | path

Searched refs:unop_convert (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opcodes.py113 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")
[all …]