Lines Matching refs:tuint
93 tuint = "uint" variable
170 for src_t in [tint, tuint, tfloat]:
171 if src_t in (tint, tuint):
174 dst_types = [tint, tuint, tfloat]
408 binop("udiv", tuint, "", "src1 == 0 ? 0 : (src0 / src1)")
413 binop_convert("uadd_carry", tuint, tuint, commutative, "src0 + src1 < src0")
418 binop_convert("usub_borrow", tuint, tuint, "", "src0 < src1")
420 binop("umod", tuint, "", "src1 == 0 ? 0 : src0 % src1")
452 binop_compare("ult", tuint, "", "src0 < src1")
453 binop_compare("uge", tuint, "", "src0 >= src1")
484 opcode("ushr", 0, tuint, [0, 0], [tuint, tuint32], "", "src0 >> src1")
492 binop("iand", tuint, commutative + associative, "src0 & src1")
493 binop("ior", tuint, commutative + associative, "src0 | src1")
494 binop("ixor", tuint, commutative + associative, "src0 ^ src1")
522 binop("umin", tuint, commutative + associative, "src1 > src0 ? src0 : src1")
525 binop("umax", tuint, commutative + associative, "src1 > src0 ? src1 : src0")
600 binop_horiz("vec2", 2, tuint, 1, tuint, 1, tuint, """
606 binop("extract_u8", tuint, "", "(uint8_t)(src0 >> (src1 * 8))")
610 binop("extract_u16", tuint, "", "(uint16_t)(src0 >> (src1 * 16))")
617 opcode(name, output_size, tuint,
619 [tuint, tuint, tuint], "", const_expr)
633 opcode("bcsel", 0, tuint, [0, 0, 0],
634 [tbool, tuint, tuint], "", "src0 ? src1 : src2")
717 opcode(name, output_size, tuint,
719 [tuint, tuint, tuint, tuint],