196c5ddc4Srjs/*
296c5ddc4Srjs * Copyright (C) 2020 Collabora, Ltd.
396c5ddc4Srjs *
496c5ddc4Srjs * Permission is hereby granted, free of charge, to any person obtaining a
596c5ddc4Srjs * copy of this software and associated documentation files (the "Software"),
696c5ddc4Srjs * to deal in the Software without restriction, including without limitation
796c5ddc4Srjs * the rights to use, copy, modify, merge, publish, distribute, sublicense,
896c5ddc4Srjs * and/or sell copies of the Software, and to permit persons to whom the
996c5ddc4Srjs * Software is furnished to do so, subject to the following conditions:
1096c5ddc4Srjs *
1196c5ddc4Srjs * The above copyright notice and this permission notice (including the next
1296c5ddc4Srjs * paragraph) shall be included in all copies or substantial portions of the
1396c5ddc4Srjs * Software.
1496c5ddc4Srjs *
1596c5ddc4Srjs * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1696c5ddc4Srjs * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1796c5ddc4Srjs * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1896c5ddc4Srjs * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1996c5ddc4Srjs * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2096c5ddc4Srjs * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2196c5ddc4Srjs * SOFTWARE.
2296c5ddc4Srjs */
2396c5ddc4Srjs
2496c5ddc4Srjs/* Autogenerated file, do not edit */
2596c5ddc4Srjs
2696c5ddc4Srjs#include <stdio.h>
2796c5ddc4Srjs#include "compiler.h"
2896c5ddc4Srjs
2996c5ddc4Srjsstatic const char *
3096c5ddc4Srjsbi_swizzle_as_str(enum bi_swizzle swz)
3196c5ddc4Srjs{
3296c5ddc4Srjs        switch (swz) {
3396c5ddc4Srjs        case BI_SWIZZLE_H00: return ".h00";
3496c5ddc4Srjs        case BI_SWIZZLE_H01: return "";
3596c5ddc4Srjs        case BI_SWIZZLE_H10: return ".h10";
3696c5ddc4Srjs        case BI_SWIZZLE_H11: return ".h11";
3796c5ddc4Srjs        case BI_SWIZZLE_B0000: return ".b0";
3896c5ddc4Srjs        case BI_SWIZZLE_B1111: return ".b1";
3996c5ddc4Srjs        case BI_SWIZZLE_B2222: return ".b2";
4096c5ddc4Srjs        case BI_SWIZZLE_B3333: return ".b3";
4196c5ddc4Srjs        case BI_SWIZZLE_B0011: return ".b0011";
4296c5ddc4Srjs        case BI_SWIZZLE_B2233: return ".b2233";
4396c5ddc4Srjs        case BI_SWIZZLE_B1032: return ".b1032";
4496c5ddc4Srjs        case BI_SWIZZLE_B3210: return ".b3210";
4596c5ddc4Srjs        case BI_SWIZZLE_B0022: return ".b0022";
4696c5ddc4Srjs        }
4796c5ddc4Srjs
4896c5ddc4Srjs        unreachable("Invalid swizzle");
4996c5ddc4Srjs}
5096c5ddc4Srjs
5196c5ddc4Srjsstatic const char *
5296c5ddc4Srjsbir_fau_name(unsigned fau_idx)
5396c5ddc4Srjs{
5496c5ddc4Srjs    const char *names[] = {
5596c5ddc4Srjs            "zero", "lane-id", "wrap-id", "core-id", "fb-extent",
5696c5ddc4Srjs            "atest-param", "sample-pos", "reserved",
5796c5ddc4Srjs            "blend_descriptor_0", "blend_descriptor_1",
5896c5ddc4Srjs            "blend_descriptor_2", "blend_descriptor_3",
5996c5ddc4Srjs            "blend_descriptor_4", "blend_descriptor_5",
6096c5ddc4Srjs            "blend_descriptor_6", "blend_descriptor_7",
6196c5ddc4Srjs    };
6296c5ddc4Srjs
6396c5ddc4Srjs    assert(fau_idx < ARRAY_SIZE(names));
6496c5ddc4Srjs    return names[fau_idx];
6596c5ddc4Srjs}
6696c5ddc4Srjs
6796c5ddc4Srjsstatic const char *
6896c5ddc4Srjsbir_passthrough_name(unsigned idx)
6996c5ddc4Srjs{
7096c5ddc4Srjs    const char *names[] = {
7196c5ddc4Srjs            "s0", "s1", "s2", "t", "fau.x", "fau.y", "t0", "t1"
7296c5ddc4Srjs    };
7396c5ddc4Srjs
7496c5ddc4Srjs    assert(idx < ARRAY_SIZE(names));
7596c5ddc4Srjs    return names[idx];
7696c5ddc4Srjs}
7796c5ddc4Srjs
7896c5ddc4Srjsstatic void
7996c5ddc4Srjsbi_print_index(FILE *fp, bi_index index)
8096c5ddc4Srjs{
8196c5ddc4Srjs    if (index.discard)
8296c5ddc4Srjs        fputs("`", fp);
8396c5ddc4Srjs
8496c5ddc4Srjs    if (bi_is_null(index))
8596c5ddc4Srjs        fprintf(fp, "_");
8696c5ddc4Srjs    else if (index.type == BI_INDEX_CONSTANT)
8796c5ddc4Srjs        fprintf(fp, "#0x%x", index.value);
8896c5ddc4Srjs    else if (index.type == BI_INDEX_FAU && index.value >= BIR_FAU_UNIFORM)
8996c5ddc4Srjs        fprintf(fp, "u%u", index.value & ~BIR_FAU_UNIFORM);
9096c5ddc4Srjs    else if (index.type == BI_INDEX_FAU)
9196c5ddc4Srjs        fprintf(fp, "%s", bir_fau_name(index.value));
9296c5ddc4Srjs    else if (index.type == BI_INDEX_PASS)
9396c5ddc4Srjs        fprintf(fp, "%s", bir_passthrough_name(index.value));
9496c5ddc4Srjs    else if (index.type == BI_INDEX_REGISTER)
9596c5ddc4Srjs        fprintf(fp, "br%u", index.value);
9696c5ddc4Srjs    else if (index.type == BI_INDEX_NORMAL && index.reg)
9796c5ddc4Srjs        fprintf(fp, "r%u", index.value);
9896c5ddc4Srjs    else if (index.type == BI_INDEX_NORMAL)
9996c5ddc4Srjs        fprintf(fp, "%u", index.value);
10096c5ddc4Srjs    else
10196c5ddc4Srjs        unreachable("Invalid index");
10296c5ddc4Srjs
10396c5ddc4Srjs    if (index.offset)
10496c5ddc4Srjs        fprintf(fp, "[%u]", index.offset);
10596c5ddc4Srjs
10696c5ddc4Srjs    if (index.abs)
10796c5ddc4Srjs        fputs(".abs", fp);
10896c5ddc4Srjs
10996c5ddc4Srjs    if (index.neg)
11096c5ddc4Srjs        fputs(".neg", fp);
11196c5ddc4Srjs
11296c5ddc4Srjs    fputs(bi_swizzle_as_str(index.swizzle), fp);
11396c5ddc4Srjs}
11496c5ddc4Srjs
11596c5ddc4Srjs
11696c5ddc4SrjsUNUSED static inline const char *
11796c5ddc4Srjsbi_adj_as_str(enum bi_adj adj)
11896c5ddc4Srjs{
11996c5ddc4Srjs    switch (adj) {
12096c5ddc4Srjs    case BI_ADJ_LOW: return ".low";
12196c5ddc4Srjs    case BI_ADJ_NONE: return "";
12296c5ddc4Srjs    case BI_ADJ_SMALL: return ".small";
12396c5ddc4Srjs    }
12496c5ddc4Srjs
12596c5ddc4Srjs    unreachable("Invalid adj");
12696c5ddc4Srjs};
12796c5ddc4Srjs
12896c5ddc4SrjsUNUSED static inline const char *
12996c5ddc4Srjsbi_atom_opc_as_str(enum bi_atom_opc atom_opc)
13096c5ddc4Srjs{
13196c5ddc4Srjs    switch (atom_opc) {
13296c5ddc4Srjs    case BI_ATOM_OPC_AADD: return ".aadd";
13396c5ddc4Srjs    case BI_ATOM_OPC_AADDS: return ".aadds";
13496c5ddc4Srjs    case BI_ATOM_OPC_AADDU: return ".aaddu";
13596c5ddc4Srjs    case BI_ATOM_OPC_AAND: return ".aand";
13696c5ddc4Srjs    case BI_ATOM_OPC_ADEC: return ".adec";
13796c5ddc4Srjs    case BI_ATOM_OPC_AINC: return ".ainc";
13896c5ddc4Srjs    case BI_ATOM_OPC_AOR: return ".aor";
13996c5ddc4Srjs    case BI_ATOM_OPC_AOR1: return ".aor1";
14096c5ddc4Srjs    case BI_ATOM_OPC_ASMAX: return ".asmax";
14196c5ddc4Srjs    case BI_ATOM_OPC_ASMAX1: return ".asmax1";
14296c5ddc4Srjs    case BI_ATOM_OPC_ASMIN: return ".asmin";
14396c5ddc4Srjs    case BI_ATOM_OPC_AUMAX: return ".aumax";
14496c5ddc4Srjs    case BI_ATOM_OPC_AUMAX1: return ".aumax1";
14596c5ddc4Srjs    case BI_ATOM_OPC_AUMIN: return ".aumin";
14696c5ddc4Srjs    case BI_ATOM_OPC_AXOR: return ".axor";
14796c5ddc4Srjs    }
14896c5ddc4Srjs
14996c5ddc4Srjs    unreachable("Invalid atom_opc");
15096c5ddc4Srjs};
15196c5ddc4Srjs
15296c5ddc4SrjsUNUSED static inline const char *
15396c5ddc4Srjsbi_clamp_as_str(enum bi_clamp clamp)
15496c5ddc4Srjs{
15596c5ddc4Srjs    switch (clamp) {
15696c5ddc4Srjs    case BI_CLAMP_CLAMP_0_1: return ".clamp_0_1";
15796c5ddc4Srjs    case BI_CLAMP_CLAMP_0_INF: return ".clamp_0_inf";
15896c5ddc4Srjs    case BI_CLAMP_CLAMP_M1_1: return ".clamp_m1_1";
15996c5ddc4Srjs    case BI_CLAMP_NONE: return "";
16096c5ddc4Srjs    }
16196c5ddc4Srjs
16296c5ddc4Srjs    unreachable("Invalid clamp");
16396c5ddc4Srjs};
16496c5ddc4Srjs
16596c5ddc4SrjsUNUSED static inline const char *
16696c5ddc4Srjsbi_cmpf_as_str(enum bi_cmpf cmpf)
16796c5ddc4Srjs{
16896c5ddc4Srjs    switch (cmpf) {
16996c5ddc4Srjs    case BI_CMPF_EQ: return ".eq";
17096c5ddc4Srjs    case BI_CMPF_GE: return ".ge";
17196c5ddc4Srjs    case BI_CMPF_GT: return ".gt";
17296c5ddc4Srjs    case BI_CMPF_GTLT: return ".gtlt";
17396c5ddc4Srjs    case BI_CMPF_LE: return ".le";
17496c5ddc4Srjs    case BI_CMPF_LT: return ".lt";
17596c5ddc4Srjs    case BI_CMPF_NE: return ".ne";
17696c5ddc4Srjs    case BI_CMPF_TOTAL: return ".total";
17796c5ddc4Srjs    }
17896c5ddc4Srjs
17996c5ddc4Srjs    unreachable("Invalid cmpf");
18096c5ddc4Srjs};
18196c5ddc4Srjs
18296c5ddc4SrjsUNUSED static inline const char *
18396c5ddc4Srjsbi_extend_as_str(enum bi_extend extend)
18496c5ddc4Srjs{
18596c5ddc4Srjs    switch (extend) {
18696c5ddc4Srjs    case BI_EXTEND_NONE: return "";
18796c5ddc4Srjs    case BI_EXTEND_SEXT: return ".sext";
18896c5ddc4Srjs    case BI_EXTEND_ZEXT: return ".zext";
18996c5ddc4Srjs    }
19096c5ddc4Srjs
19196c5ddc4Srjs    unreachable("Invalid extend");
19296c5ddc4Srjs};
19396c5ddc4Srjs
19496c5ddc4SrjsUNUSED static inline const char *
19596c5ddc4Srjsbi_func_as_str(enum bi_func func)
19696c5ddc4Srjs{
19796c5ddc4Srjs    switch (func) {
19896c5ddc4Srjs    case BI_FUNC_POW: return ".pow";
19996c5ddc4Srjs    case BI_FUNC_POWN: return ".pown";
20096c5ddc4Srjs    case BI_FUNC_POWR: return ".powr";
20196c5ddc4Srjs    case BI_FUNC_ROOTN: return ".rootn";
20296c5ddc4Srjs    }
20396c5ddc4Srjs
20496c5ddc4Srjs    unreachable("Invalid func");
20596c5ddc4Srjs};
20696c5ddc4Srjs
20796c5ddc4SrjsUNUSED static inline const char *
20896c5ddc4Srjsbi_function_as_str(enum bi_function function)
20996c5ddc4Srjs{
21096c5ddc4Srjs    switch (function) {
21196c5ddc4Srjs    case BI_FUNCTION_AND: return ".and";
21296c5ddc4Srjs    case BI_FUNCTION_NONE: return "";
21396c5ddc4Srjs    case BI_FUNCTION_OR: return ".or";
21496c5ddc4Srjs    }
21596c5ddc4Srjs
21696c5ddc4Srjs    unreachable("Invalid function");
21796c5ddc4Srjs};
21896c5ddc4Srjs
21996c5ddc4SrjsUNUSED static inline const char *
22096c5ddc4Srjsbi_inactive_result_as_str(enum bi_inactive_result inactive_result)
22196c5ddc4Srjs{
22296c5ddc4Srjs    switch (inactive_result) {
22396c5ddc4Srjs    case BI_INACTIVE_RESULT_F1: return ".f1";
22496c5ddc4Srjs    case BI_INACTIVE_RESULT_I1: return ".i1";
22596c5ddc4Srjs    case BI_INACTIVE_RESULT_INF: return ".inf";
22696c5ddc4Srjs    case BI_INACTIVE_RESULT_INFN: return ".infn";
22796c5ddc4Srjs    case BI_INACTIVE_RESULT_SMAX: return ".smax";
22896c5ddc4Srjs    case BI_INACTIVE_RESULT_SMIN: return ".smin";
22996c5ddc4Srjs    case BI_INACTIVE_RESULT_UMAX: return ".umax";
23096c5ddc4Srjs    case BI_INACTIVE_RESULT_V2F1: return ".v2f1";
23196c5ddc4Srjs    case BI_INACTIVE_RESULT_V2I1: return ".v2i1";
23296c5ddc4Srjs    case BI_INACTIVE_RESULT_V2INF: return ".v2inf";
23396c5ddc4Srjs    case BI_INACTIVE_RESULT_V2INFN: return ".v2infn";
23496c5ddc4Srjs    case BI_INACTIVE_RESULT_V2SMAX: return ".v2smax";
23596c5ddc4Srjs    case BI_INACTIVE_RESULT_V2SMIN: return ".v2smin";
23696c5ddc4Srjs    case BI_INACTIVE_RESULT_V4SMAX: return ".v4smax";
23796c5ddc4Srjs    case BI_INACTIVE_RESULT_V4SMIN: return ".v4smin";
23896c5ddc4Srjs    case BI_INACTIVE_RESULT_ZERO: return ".zero";
23996c5ddc4Srjs    }
24096c5ddc4Srjs
24196c5ddc4Srjs    unreachable("Invalid inactive_result");
24296c5ddc4Srjs};
24396c5ddc4Srjs
24496c5ddc4SrjsUNUSED static inline const char *
24596c5ddc4Srjsbi_lane_as_str(enum bi_lane lane)
24696c5ddc4Srjs{
24796c5ddc4Srjs    switch (lane) {
24896c5ddc4Srjs    case BI_LANE_B0: return ".b0";
24996c5ddc4Srjs    case BI_LANE_B1: return ".b1";
25096c5ddc4Srjs    case BI_LANE_B2: return ".b2";
25196c5ddc4Srjs    case BI_LANE_B3: return ".b3";
25296c5ddc4Srjs    case BI_LANE_H0: return ".h0";
25396c5ddc4Srjs    case BI_LANE_H1: return ".h1";
25496c5ddc4Srjs    case BI_LANE_NONE: return "";
25596c5ddc4Srjs    }
25696c5ddc4Srjs
25796c5ddc4Srjs    unreachable("Invalid lane");
25896c5ddc4Srjs};
25996c5ddc4Srjs
26096c5ddc4SrjsUNUSED static inline const char *
26196c5ddc4Srjsbi_lane_dest_as_str(enum bi_lane_dest lane_dest)
26296c5ddc4Srjs{
26396c5ddc4Srjs    switch (lane_dest) {
26496c5ddc4Srjs    case BI_LANE_DEST_B0: return ".b0";
26596c5ddc4Srjs    case BI_LANE_DEST_B1: return ".b1";
26696c5ddc4Srjs    case BI_LANE_DEST_B2: return ".b2";
26796c5ddc4Srjs    case BI_LANE_DEST_B3: return ".b3";
26896c5ddc4Srjs    case BI_LANE_DEST_D0: return ".d0";
26996c5ddc4Srjs    case BI_LANE_DEST_H0: return ".h0";
27096c5ddc4Srjs    case BI_LANE_DEST_H1: return ".h1";
27196c5ddc4Srjs    case BI_LANE_DEST_NONE: return "";
27296c5ddc4Srjs    case BI_LANE_DEST_W0: return ".w0";
27396c5ddc4Srjs    }
27496c5ddc4Srjs
27596c5ddc4Srjs    unreachable("Invalid lane_dest");
27696c5ddc4Srjs};
27796c5ddc4Srjs
27896c5ddc4SrjsUNUSED static inline const char *
27996c5ddc4Srjsbi_lane_op_as_str(enum bi_lane_op lane_op)
28096c5ddc4Srjs{
28196c5ddc4Srjs    switch (lane_op) {
28296c5ddc4Srjs    case BI_LANE_OP_ACCUMULATE: return ".accumulate";
28396c5ddc4Srjs    case BI_LANE_OP_NONE: return "";
28496c5ddc4Srjs    case BI_LANE_OP_SHIFT: return ".shift";
28596c5ddc4Srjs    case BI_LANE_OP_XOR: return ".xor";
28696c5ddc4Srjs    }
28796c5ddc4Srjs
28896c5ddc4Srjs    unreachable("Invalid lane_op");
28996c5ddc4Srjs};
29096c5ddc4Srjs
29196c5ddc4SrjsUNUSED static inline const char *
29296c5ddc4Srjsbi_lanes_as_str(enum bi_lanes lanes)
29396c5ddc4Srjs{
29496c5ddc4Srjs    switch (lanes) {
29596c5ddc4Srjs    case BI_LANES_B0: return ".b0";
29696c5ddc4Srjs    case BI_LANES_B00: return ".b00";
29796c5ddc4Srjs    case BI_LANES_B0000: return ".b0000";
29896c5ddc4Srjs    case BI_LANES_B01: return ".b01";
29996c5ddc4Srjs    case BI_LANES_B0101: return ".b0101";
30096c5ddc4Srjs    case BI_LANES_B0123: return ".b0123";
30196c5ddc4Srjs    case BI_LANES_B02: return ".b02";
30296c5ddc4Srjs    case BI_LANES_B1: return ".b1";
30396c5ddc4Srjs    case BI_LANES_B11: return ".b11";
30496c5ddc4Srjs    case BI_LANES_B1111: return ".b1111";
30596c5ddc4Srjs    case BI_LANES_B2: return ".b2";
30696c5ddc4Srjs    case BI_LANES_B22: return ".b22";
30796c5ddc4Srjs    case BI_LANES_B2222: return ".b2222";
30896c5ddc4Srjs    case BI_LANES_B23: return ".b23";
30996c5ddc4Srjs    case BI_LANES_B2323: return ".b2323";
31096c5ddc4Srjs    case BI_LANES_B3: return ".b3";
31196c5ddc4Srjs    case BI_LANES_B33: return ".b33";
31296c5ddc4Srjs    case BI_LANES_B3333: return ".b3333";
31396c5ddc4Srjs    case BI_LANES_H0: return ".h0";
31496c5ddc4Srjs    case BI_LANES_H00: return ".h00";
31596c5ddc4Srjs    case BI_LANES_H01: return ".h01";
31696c5ddc4Srjs    case BI_LANES_H1: return ".h1";
31796c5ddc4Srjs    case BI_LANES_H10: return ".h10";
31896c5ddc4Srjs    case BI_LANES_H11: return ".h11";
31996c5ddc4Srjs    case BI_LANES_NONE: return "";
32096c5ddc4Srjs    }
32196c5ddc4Srjs
32296c5ddc4Srjs    unreachable("Invalid lanes");
32396c5ddc4Srjs};
32496c5ddc4Srjs
32596c5ddc4SrjsUNUSED static inline const char *
32696c5ddc4Srjsbi_mode_as_str(enum bi_mode mode)
32796c5ddc4Srjs{
32896c5ddc4Srjs    switch (mode) {
32996c5ddc4Srjs    case BI_MODE_BASE2: return ".base2";
33096c5ddc4Srjs    case BI_MODE_NATURAL: return ".natural";
33196c5ddc4Srjs    case BI_MODE_RED: return ".red";
33296c5ddc4Srjs    }
33396c5ddc4Srjs
33496c5ddc4Srjs    unreachable("Invalid mode");
33596c5ddc4Srjs};
33696c5ddc4Srjs
33796c5ddc4SrjsUNUSED static inline const char *
33896c5ddc4Srjsbi_mux_as_str(enum bi_mux mux)
33996c5ddc4Srjs{
34096c5ddc4Srjs    switch (mux) {
34196c5ddc4Srjs    case BI_MUX_BIT: return ".bit";
34296c5ddc4Srjs    case BI_MUX_FP_ZERO: return ".fp_zero";
34396c5ddc4Srjs    case BI_MUX_INT_ZERO: return ".int_zero";
34496c5ddc4Srjs    case BI_MUX_NEG: return ".neg";
34596c5ddc4Srjs    }
34696c5ddc4Srjs
34796c5ddc4Srjs    unreachable("Invalid mux");
34896c5ddc4Srjs};
34996c5ddc4Srjs
35096c5ddc4SrjsUNUSED static inline const char *
35196c5ddc4Srjsbi_precision_as_str(enum bi_precision precision)
35296c5ddc4Srjs{
35396c5ddc4Srjs    switch (precision) {
35496c5ddc4Srjs    case BI_PRECISION_HIGH: return ".high";
35596c5ddc4Srjs    case BI_PRECISION_LOW: return ".low";
35696c5ddc4Srjs    case BI_PRECISION_NONE: return "";
35796c5ddc4Srjs    }
35896c5ddc4Srjs
35996c5ddc4Srjs    unreachable("Invalid precision");
36096c5ddc4Srjs};
36196c5ddc4Srjs
36296c5ddc4SrjsUNUSED static inline const char *
36396c5ddc4Srjsbi_register_format_as_str(enum bi_register_format register_format)
36496c5ddc4Srjs{
36596c5ddc4Srjs    switch (register_format) {
36696c5ddc4Srjs    case BI_REGISTER_FORMAT_AUTO: return ".auto";
36796c5ddc4Srjs    case BI_REGISTER_FORMAT_F16: return ".f16";
36896c5ddc4Srjs    case BI_REGISTER_FORMAT_F32: return ".f32";
36996c5ddc4Srjs    case BI_REGISTER_FORMAT_F64: return ".f64";
37096c5ddc4Srjs    case BI_REGISTER_FORMAT_I64: return ".i64";
37196c5ddc4Srjs    case BI_REGISTER_FORMAT_S16: return ".s16";
37296c5ddc4Srjs    case BI_REGISTER_FORMAT_S32: return ".s32";
37396c5ddc4Srjs    case BI_REGISTER_FORMAT_U16: return ".u16";
37496c5ddc4Srjs    case BI_REGISTER_FORMAT_U32: return ".u32";
37596c5ddc4Srjs    }
37696c5ddc4Srjs
37796c5ddc4Srjs    unreachable("Invalid register_format");
37896c5ddc4Srjs};
37996c5ddc4Srjs
38096c5ddc4SrjsUNUSED static inline const char *
38196c5ddc4Srjsbi_replicate_as_str(enum bi_replicate replicate)
38296c5ddc4Srjs{
38396c5ddc4Srjs    switch (replicate) {
38496c5ddc4Srjs    case BI_REPLICATE_B0000: return ".b0000";
38596c5ddc4Srjs    case BI_REPLICATE_B0123: return ".b0123";
38696c5ddc4Srjs    case BI_REPLICATE_B1111: return ".b1111";
38796c5ddc4Srjs    case BI_REPLICATE_B2222: return ".b2222";
38896c5ddc4Srjs    case BI_REPLICATE_B3333: return ".b3333";
38996c5ddc4Srjs    }
39096c5ddc4Srjs
39196c5ddc4Srjs    unreachable("Invalid replicate");
39296c5ddc4Srjs};
39396c5ddc4Srjs
39496c5ddc4SrjsUNUSED static inline const char *
39596c5ddc4Srjsbi_result_type_as_str(enum bi_result_type result_type)
39696c5ddc4Srjs{
39796c5ddc4Srjs    switch (result_type) {
39896c5ddc4Srjs    case BI_RESULT_TYPE_F1: return ".f1";
39996c5ddc4Srjs    case BI_RESULT_TYPE_I1: return ".i1";
40096c5ddc4Srjs    case BI_RESULT_TYPE_M1: return ".m1";
40196c5ddc4Srjs    }
40296c5ddc4Srjs
40396c5ddc4Srjs    unreachable("Invalid result_type");
40496c5ddc4Srjs};
40596c5ddc4Srjs
40696c5ddc4SrjsUNUSED static inline const char *
40796c5ddc4Srjsbi_round_as_str(enum bi_round round)
40896c5ddc4Srjs{
40996c5ddc4Srjs    switch (round) {
41096c5ddc4Srjs    case BI_ROUND_INF: return ".inf";
41196c5ddc4Srjs    case BI_ROUND_INF0: return ".inf0";
41296c5ddc4Srjs    case BI_ROUND_NONE: return "";
41396c5ddc4Srjs    case BI_ROUND_RTN: return ".rtn";
41496c5ddc4Srjs    case BI_ROUND_RTNA: return ".rtna";
41596c5ddc4Srjs    case BI_ROUND_RTO: return ".rto";
41696c5ddc4Srjs    case BI_ROUND_RTP: return ".rtp";
41796c5ddc4Srjs    case BI_ROUND_RTZ: return ".rtz";
41896c5ddc4Srjs    }
41996c5ddc4Srjs
42096c5ddc4Srjs    unreachable("Invalid round");
42196c5ddc4Srjs};
42296c5ddc4Srjs
42396c5ddc4SrjsUNUSED static inline const char *
42496c5ddc4Srjsbi_sample_as_str(enum bi_sample sample)
42596c5ddc4Srjs{
42696c5ddc4Srjs    switch (sample) {
42796c5ddc4Srjs    case BI_SAMPLE_CENTER: return ".center";
42896c5ddc4Srjs    case BI_SAMPLE_CENTROID: return ".centroid";
42996c5ddc4Srjs    case BI_SAMPLE_EXPLICIT: return ".explicit";
43096c5ddc4Srjs    case BI_SAMPLE_NONE: return "";
43196c5ddc4Srjs    case BI_SAMPLE_SAMPLE: return ".sample";
43296c5ddc4Srjs    }
43396c5ddc4Srjs
43496c5ddc4Srjs    unreachable("Invalid sample");
43596c5ddc4Srjs};
43696c5ddc4Srjs
43796c5ddc4SrjsUNUSED static inline const char *
43896c5ddc4Srjsbi_seg_as_str(enum bi_seg seg)
43996c5ddc4Srjs{
44096c5ddc4Srjs    switch (seg) {
44196c5ddc4Srjs    case BI_SEG_NONE: return "";
44296c5ddc4Srjs    case BI_SEG_STREAM: return ".stream";
44396c5ddc4Srjs    case BI_SEG_TL: return ".tl";
44496c5ddc4Srjs    case BI_SEG_UBO: return ".ubo";
44596c5ddc4Srjs    case BI_SEG_WLS: return ".wls";
44696c5ddc4Srjs    }
44796c5ddc4Srjs
44896c5ddc4Srjs    unreachable("Invalid seg");
44996c5ddc4Srjs};
45096c5ddc4Srjs
45196c5ddc4SrjsUNUSED static inline const char *
45296c5ddc4Srjsbi_sem_as_str(enum bi_sem sem)
45396c5ddc4Srjs{
45496c5ddc4Srjs    switch (sem) {
45596c5ddc4Srjs    case BI_SEM_C: return ".c";
45696c5ddc4Srjs    case BI_SEM_INVERSE_C: return ".inverse_c";
45796c5ddc4Srjs    case BI_SEM_NAN_PROPAGATE: return ".nan_propagate";
45896c5ddc4Srjs    case BI_SEM_NAN_SUPPRESS: return ".nan_suppress";
45996c5ddc4Srjs    }
46096c5ddc4Srjs
46196c5ddc4Srjs    unreachable("Invalid sem");
46296c5ddc4Srjs};
46396c5ddc4Srjs
46496c5ddc4SrjsUNUSED static inline const char *
46596c5ddc4Srjsbi_source_as_str(enum bi_source source)
46696c5ddc4Srjs{
46796c5ddc4Srjs    switch (source) {
46896c5ddc4Srjs    case BI_SOURCE_CYCLE_COUNTER: return ".cycle_counter";
46996c5ddc4Srjs    case BI_SOURCE_SYSTEM_TIMESTAMP: return ".system_timestamp";
47096c5ddc4Srjs    }
47196c5ddc4Srjs
47296c5ddc4Srjs    unreachable("Invalid source");
47396c5ddc4Srjs};
47496c5ddc4Srjs
47596c5ddc4SrjsUNUSED static inline const char *
47696c5ddc4Srjsbi_special_as_str(enum bi_special special)
47796c5ddc4Srjs{
47896c5ddc4Srjs    switch (special) {
47996c5ddc4Srjs    case BI_SPECIAL_LEFT: return ".left";
48096c5ddc4Srjs    case BI_SPECIAL_N: return ".n";
48196c5ddc4Srjs    case BI_SPECIAL_NONE: return "";
48296c5ddc4Srjs    case BI_SPECIAL_SCALE16: return ".scale16";
48396c5ddc4Srjs    }
48496c5ddc4Srjs
48596c5ddc4Srjs    unreachable("Invalid special");
48696c5ddc4Srjs};
48796c5ddc4Srjs
48896c5ddc4SrjsUNUSED static inline const char *
48996c5ddc4Srjsbi_stack_mode_as_str(enum bi_stack_mode stack_mode)
49096c5ddc4Srjs{
49196c5ddc4Srjs    switch (stack_mode) {
49296c5ddc4Srjs    case BI_STACK_MODE_CALL: return ".call";
49396c5ddc4Srjs    case BI_STACK_MODE_NONE: return "";
49496c5ddc4Srjs    case BI_STACK_MODE_REPLACE: return ".replace";
49596c5ddc4Srjs    case BI_STACK_MODE_RETURN: return ".return";
49696c5ddc4Srjs    }
49796c5ddc4Srjs
49896c5ddc4Srjs    unreachable("Invalid stack_mode");
49996c5ddc4Srjs};
50096c5ddc4Srjs
50196c5ddc4SrjsUNUSED static inline const char *
50296c5ddc4Srjsbi_subgroup_as_str(enum bi_subgroup subgroup)
50396c5ddc4Srjs{
50496c5ddc4Srjs    switch (subgroup) {
50596c5ddc4Srjs    case BI_SUBGROUP_SUBGROUP2: return ".subgroup2";
50696c5ddc4Srjs    case BI_SUBGROUP_SUBGROUP4: return ".subgroup4";
50796c5ddc4Srjs    case BI_SUBGROUP_SUBGROUP8: return ".subgroup8";
50896c5ddc4Srjs    }
50996c5ddc4Srjs
51096c5ddc4Srjs    unreachable("Invalid subgroup");
51196c5ddc4Srjs};
51296c5ddc4Srjs
51396c5ddc4SrjsUNUSED static inline const char *
51496c5ddc4Srjsbi_swz_as_str(enum bi_swz swz)
51596c5ddc4Srjs{
51696c5ddc4Srjs    switch (swz) {
51796c5ddc4Srjs    case BI_SWZ_B00: return ".b00";
51896c5ddc4Srjs    case BI_SWZ_B0000: return ".b0000";
51996c5ddc4Srjs    case BI_SWZ_B0011: return ".b0011";
52096c5ddc4Srjs    case BI_SWZ_B01: return ".b01";
52196c5ddc4Srjs    case BI_SWZ_B02: return ".b02";
52296c5ddc4Srjs    case BI_SWZ_B03: return ".b03";
52396c5ddc4Srjs    case BI_SWZ_B10: return ".b10";
52496c5ddc4Srjs    case BI_SWZ_B1032: return ".b1032";
52596c5ddc4Srjs    case BI_SWZ_B11: return ".b11";
52696c5ddc4Srjs    case BI_SWZ_B1111: return ".b1111";
52796c5ddc4Srjs    case BI_SWZ_B12: return ".b12";
52896c5ddc4Srjs    case BI_SWZ_B13: return ".b13";
52996c5ddc4Srjs    case BI_SWZ_B20: return ".b20";
53096c5ddc4Srjs    case BI_SWZ_B21: return ".b21";
53196c5ddc4Srjs    case BI_SWZ_B22: return ".b22";
53296c5ddc4Srjs    case BI_SWZ_B2222: return ".b2222";
53396c5ddc4Srjs    case BI_SWZ_B2233: return ".b2233";
53496c5ddc4Srjs    case BI_SWZ_B23: return ".b23";
53596c5ddc4Srjs    case BI_SWZ_B30: return ".b30";
53696c5ddc4Srjs    case BI_SWZ_B31: return ".b31";
53796c5ddc4Srjs    case BI_SWZ_B32: return ".b32";
53896c5ddc4Srjs    case BI_SWZ_B3210: return ".b3210";
53996c5ddc4Srjs    case BI_SWZ_B33: return ".b33";
54096c5ddc4Srjs    case BI_SWZ_B3333: return ".b3333";
54196c5ddc4Srjs    case BI_SWZ_H00: return ".h00";
54296c5ddc4Srjs    case BI_SWZ_H01: return ".h01";
54396c5ddc4Srjs    case BI_SWZ_H10: return ".h10";
54496c5ddc4Srjs    case BI_SWZ_H11: return ".h11";
54596c5ddc4Srjs    }
54696c5ddc4Srjs
54796c5ddc4Srjs    unreachable("Invalid swz");
54896c5ddc4Srjs};
54996c5ddc4Srjs
55096c5ddc4SrjsUNUSED static inline const char *
55196c5ddc4Srjsbi_table_as_str(enum bi_table table)
55296c5ddc4Srjs{
55396c5ddc4Srjs    switch (table) {
55496c5ddc4Srjs    case BI_TABLE_ATTRIBUTE_1: return ".attribute_1";
55596c5ddc4Srjs    case BI_TABLE_ATTRIBUTE_2: return ".attribute_2";
55696c5ddc4Srjs    case BI_TABLE_FLAT: return ".flat";
55796c5ddc4Srjs    case BI_TABLE_NONE: return "";
55896c5ddc4Srjs    }
55996c5ddc4Srjs
56096c5ddc4Srjs    unreachable("Invalid table");
56196c5ddc4Srjs};
56296c5ddc4Srjs
56396c5ddc4SrjsUNUSED static inline const char *
56496c5ddc4Srjsbi_update_as_str(enum bi_update update)
56596c5ddc4Srjs{
56696c5ddc4Srjs    switch (update) {
56796c5ddc4Srjs    case BI_UPDATE_CLOBBER: return ".clobber";
56896c5ddc4Srjs    case BI_UPDATE_CONDITIONAL: return ".conditional";
56996c5ddc4Srjs    case BI_UPDATE_RETRIEVE: return ".retrieve";
57096c5ddc4Srjs    case BI_UPDATE_STORE: return ".store";
57196c5ddc4Srjs    }
57296c5ddc4Srjs
57396c5ddc4Srjs    unreachable("Invalid update");
57496c5ddc4Srjs};
57596c5ddc4Srjs
57696c5ddc4SrjsUNUSED static inline const char *
57796c5ddc4Srjsbi_varying_name_as_str(enum bi_varying_name varying_name)
57896c5ddc4Srjs{
57996c5ddc4Srjs    switch (varying_name) {
58096c5ddc4Srjs    case BI_VARYING_NAME_FRAG_W: return ".frag_w";
58196c5ddc4Srjs    case BI_VARYING_NAME_FRAG_Z: return ".frag_z";
58296c5ddc4Srjs    case BI_VARYING_NAME_POINT: return ".point";
58396c5ddc4Srjs    }
58496c5ddc4Srjs
58596c5ddc4Srjs    unreachable("Invalid varying_name");
58696c5ddc4Srjs};
58796c5ddc4Srjs
58896c5ddc4SrjsUNUSED static inline const char *
58996c5ddc4Srjsbi_vecsize_as_str(enum bi_vecsize vecsize)
59096c5ddc4Srjs{
59196c5ddc4Srjs    switch (vecsize) {
59296c5ddc4Srjs    case BI_VECSIZE_NONE: return "";
59396c5ddc4Srjs    case BI_VECSIZE_V2: return ".v2";
59496c5ddc4Srjs    case BI_VECSIZE_V3: return ".v3";
59596c5ddc4Srjs    case BI_VECSIZE_V4: return ".v4";
59696c5ddc4Srjs    }
59796c5ddc4Srjs
59896c5ddc4Srjs    unreachable("Invalid vecsize");
59996c5ddc4Srjs};
60096c5ddc4Srjs
60196c5ddc4SrjsUNUSED static inline const char *
60296c5ddc4Srjsbi_widen_as_str(enum bi_widen widen)
60396c5ddc4Srjs{
60496c5ddc4Srjs    switch (widen) {
60596c5ddc4Srjs    case BI_WIDEN_B0: return ".b0";
60696c5ddc4Srjs    case BI_WIDEN_B1: return ".b1";
60796c5ddc4Srjs    case BI_WIDEN_B2: return ".b2";
60896c5ddc4Srjs    case BI_WIDEN_B3: return ".b3";
60996c5ddc4Srjs    case BI_WIDEN_H0: return ".h0";
61096c5ddc4Srjs    case BI_WIDEN_H1: return ".h1";
61196c5ddc4Srjs    case BI_WIDEN_NONE: return "";
61296c5ddc4Srjs    }
61396c5ddc4Srjs
61496c5ddc4Srjs    unreachable("Invalid widen");
61596c5ddc4Srjs};
61696c5ddc4Srjs
61796c5ddc4Srjs
61896c5ddc4Srjs
61996c5ddc4Srjs
62096c5ddc4Srjs
62196c5ddc4Srjsvoid
62296c5ddc4Srjsbi_print_instr(const bi_instr *I, FILE *fp)
62396c5ddc4Srjs{
62496c5ddc4Srjs    bi_foreach_dest(I, d) {
62596c5ddc4Srjs        if (bi_is_null(I->dest[d])) break;
62696c5ddc4Srjs        if (d > 0) fprintf(fp, ", ");
62796c5ddc4Srjs
62896c5ddc4Srjs        bi_print_index(fp, I->dest[d]);
62996c5ddc4Srjs    }
63096c5ddc4Srjs
63196c5ddc4Srjs    fprintf(fp, " = %s", bi_opcode_props[I->op].name);
63296c5ddc4Srjs
63396c5ddc4Srjs    if (I->table)
63496c5ddc4Srjs        fprintf(fp, ".%s", bi_table_as_str(I->table));
63596c5ddc4Srjs
63696c5ddc4Srjs    switch (I->op) {
63796c5ddc4Srjs
63896c5ddc4Srjs    case BI_OPCODE_ACMPSTORE_I32:
63996c5ddc4Srjs
64096c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
64196c5ddc4Srjs
64296c5ddc4Srjs        fputs(" ", fp);
64396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
64496c5ddc4Srjs
64596c5ddc4Srjs
64696c5ddc4Srjs        fputs(", ", fp);
64796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
64896c5ddc4Srjs
64996c5ddc4Srjs
65096c5ddc4Srjs        fputs(", ", fp);
65196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
65296c5ddc4Srjs
65396c5ddc4Srjs
65496c5ddc4Srjs        break;
65596c5ddc4Srjs
65696c5ddc4Srjs    case BI_OPCODE_ACMPSTORE_I64:
65796c5ddc4Srjs
65896c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
65996c5ddc4Srjs
66096c5ddc4Srjs        fputs(" ", fp);
66196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
66296c5ddc4Srjs
66396c5ddc4Srjs
66496c5ddc4Srjs        fputs(", ", fp);
66596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
66696c5ddc4Srjs
66796c5ddc4Srjs
66896c5ddc4Srjs        fputs(", ", fp);
66996c5ddc4Srjs        bi_print_index(fp, I->src[2]);
67096c5ddc4Srjs
67196c5ddc4Srjs
67296c5ddc4Srjs        break;
67396c5ddc4Srjs
67496c5ddc4Srjs    case BI_OPCODE_ACMPXCHG_I32:
67596c5ddc4Srjs
67696c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
67796c5ddc4Srjs
67896c5ddc4Srjs        fputs(" ", fp);
67996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
68096c5ddc4Srjs
68196c5ddc4Srjs
68296c5ddc4Srjs        fputs(", ", fp);
68396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
68496c5ddc4Srjs
68596c5ddc4Srjs
68696c5ddc4Srjs        fputs(", ", fp);
68796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
68896c5ddc4Srjs
68996c5ddc4Srjs
69096c5ddc4Srjs        break;
69196c5ddc4Srjs
69296c5ddc4Srjs    case BI_OPCODE_ACMPXCHG_I64:
69396c5ddc4Srjs
69496c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
69596c5ddc4Srjs
69696c5ddc4Srjs        fputs(" ", fp);
69796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
69896c5ddc4Srjs
69996c5ddc4Srjs
70096c5ddc4Srjs        fputs(", ", fp);
70196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
70296c5ddc4Srjs
70396c5ddc4Srjs
70496c5ddc4Srjs        fputs(", ", fp);
70596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
70696c5ddc4Srjs
70796c5ddc4Srjs
70896c5ddc4Srjs        break;
70996c5ddc4Srjs
71096c5ddc4Srjs    case BI_OPCODE_ARSHIFT_I32:
71196c5ddc4Srjs
71296c5ddc4Srjs
71396c5ddc4Srjs        fputs(" ", fp);
71496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
71596c5ddc4Srjs
71696c5ddc4Srjs
71796c5ddc4Srjs        fputs(", ", fp);
71896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
71996c5ddc4Srjs
72096c5ddc4Srjs
72196c5ddc4Srjs        fputs(", ", fp);
72296c5ddc4Srjs        bi_print_index(fp, I->src[2]);
72396c5ddc4Srjs
72496c5ddc4Srjs
72596c5ddc4Srjs        break;
72696c5ddc4Srjs
72796c5ddc4Srjs    case BI_OPCODE_ARSHIFT_V2I16:
72896c5ddc4Srjs
72996c5ddc4Srjs
73096c5ddc4Srjs        fputs(" ", fp);
73196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
73296c5ddc4Srjs
73396c5ddc4Srjs
73496c5ddc4Srjs        fputs(", ", fp);
73596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
73696c5ddc4Srjs
73796c5ddc4Srjs
73896c5ddc4Srjs        fputs(", ", fp);
73996c5ddc4Srjs        bi_print_index(fp, I->src[2]);
74096c5ddc4Srjs
74196c5ddc4Srjs
74296c5ddc4Srjs        break;
74396c5ddc4Srjs
74496c5ddc4Srjs    case BI_OPCODE_ARSHIFT_V4I8:
74596c5ddc4Srjs
74696c5ddc4Srjs
74796c5ddc4Srjs        fputs(" ", fp);
74896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
74996c5ddc4Srjs
75096c5ddc4Srjs
75196c5ddc4Srjs        fputs(", ", fp);
75296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
75396c5ddc4Srjs
75496c5ddc4Srjs
75596c5ddc4Srjs        fputs(", ", fp);
75696c5ddc4Srjs        bi_print_index(fp, I->src[2]);
75796c5ddc4Srjs
75896c5ddc4Srjs
75996c5ddc4Srjs        break;
76096c5ddc4Srjs
76196c5ddc4Srjs    case BI_OPCODE_ARSHIFT_DOUBLE_I32:
76296c5ddc4Srjs
76396c5ddc4Srjs        if (I->result_word) fputs(".result_word", fp);
76496c5ddc4Srjs
76596c5ddc4Srjs        fputs(" ", fp);
76696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
76796c5ddc4Srjs
76896c5ddc4Srjs
76996c5ddc4Srjs        fputs(", ", fp);
77096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
77196c5ddc4Srjs
77296c5ddc4Srjs
77396c5ddc4Srjs        fputs(", ", fp);
77496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
77596c5ddc4Srjs
77696c5ddc4Srjs        if (I->bytes2) fputs(".bytes", fp);
77796c5ddc4Srjs
77896c5ddc4Srjs        break;
77996c5ddc4Srjs
78096c5ddc4Srjs    case BI_OPCODE_ATEST:
78196c5ddc4Srjs
78296c5ddc4Srjs
78396c5ddc4Srjs        fputs(" ", fp);
78496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
78596c5ddc4Srjs
78696c5ddc4Srjs
78796c5ddc4Srjs        fputs(", ", fp);
78896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
78996c5ddc4Srjs
79096c5ddc4Srjs
79196c5ddc4Srjs        break;
79296c5ddc4Srjs
79396c5ddc4Srjs    case BI_OPCODE_ATOM_C_I32:
79496c5ddc4Srjs
79596c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
79696c5ddc4Srjs
79796c5ddc4Srjs        fputs(" ", fp);
79896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
79996c5ddc4Srjs
80096c5ddc4Srjs
80196c5ddc4Srjs        fputs(", ", fp);
80296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
80396c5ddc4Srjs
80496c5ddc4Srjs
80596c5ddc4Srjs        fputs(", ", fp);
80696c5ddc4Srjs        bi_print_index(fp, I->src[2]);
80796c5ddc4Srjs
80896c5ddc4Srjs
80996c5ddc4Srjs        break;
81096c5ddc4Srjs
81196c5ddc4Srjs    case BI_OPCODE_ATOM_C_I64:
81296c5ddc4Srjs
81396c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
81496c5ddc4Srjs
81596c5ddc4Srjs        fputs(" ", fp);
81696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
81796c5ddc4Srjs
81896c5ddc4Srjs
81996c5ddc4Srjs        fputs(", ", fp);
82096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
82196c5ddc4Srjs
82296c5ddc4Srjs
82396c5ddc4Srjs        fputs(", ", fp);
82496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
82596c5ddc4Srjs
82696c5ddc4Srjs
82796c5ddc4Srjs        break;
82896c5ddc4Srjs
82996c5ddc4Srjs    case BI_OPCODE_ATOM_C1_I32:
83096c5ddc4Srjs
83196c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
83296c5ddc4Srjs
83396c5ddc4Srjs        fputs(" ", fp);
83496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
83596c5ddc4Srjs
83696c5ddc4Srjs
83796c5ddc4Srjs        fputs(", ", fp);
83896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
83996c5ddc4Srjs
84096c5ddc4Srjs
84196c5ddc4Srjs        break;
84296c5ddc4Srjs
84396c5ddc4Srjs    case BI_OPCODE_ATOM_C1_I64:
84496c5ddc4Srjs
84596c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
84696c5ddc4Srjs
84796c5ddc4Srjs        fputs(" ", fp);
84896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
84996c5ddc4Srjs
85096c5ddc4Srjs
85196c5ddc4Srjs        fputs(", ", fp);
85296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
85396c5ddc4Srjs
85496c5ddc4Srjs
85596c5ddc4Srjs        break;
85696c5ddc4Srjs
85796c5ddc4Srjs    case BI_OPCODE_ATOM_C1_RETURN_I32:
85896c5ddc4Srjs
85996c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
86096c5ddc4Srjs
86196c5ddc4Srjs        fputs(" ", fp);
86296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
86396c5ddc4Srjs
86496c5ddc4Srjs
86596c5ddc4Srjs        fputs(", ", fp);
86696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
86796c5ddc4Srjs
86896c5ddc4Srjs
86996c5ddc4Srjs        break;
87096c5ddc4Srjs
87196c5ddc4Srjs    case BI_OPCODE_ATOM_C1_RETURN_I64:
87296c5ddc4Srjs
87396c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
87496c5ddc4Srjs
87596c5ddc4Srjs        fputs(" ", fp);
87696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
87796c5ddc4Srjs
87896c5ddc4Srjs
87996c5ddc4Srjs        fputs(", ", fp);
88096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
88196c5ddc4Srjs
88296c5ddc4Srjs
88396c5ddc4Srjs        break;
88496c5ddc4Srjs
88596c5ddc4Srjs    case BI_OPCODE_ATOM_CX:
88696c5ddc4Srjs
88796c5ddc4Srjs
88896c5ddc4Srjs        fputs(" ", fp);
88996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
89096c5ddc4Srjs
89196c5ddc4Srjs
89296c5ddc4Srjs        fputs(", ", fp);
89396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
89496c5ddc4Srjs
89596c5ddc4Srjs
89696c5ddc4Srjs        fputs(", ", fp);
89796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
89896c5ddc4Srjs
89996c5ddc4Srjs
90096c5ddc4Srjs        fputs(", ", fp);
90196c5ddc4Srjs        bi_print_index(fp, I->src[3]);
90296c5ddc4Srjs
90396c5ddc4Srjs
90496c5ddc4Srjs        fprintf(fp, ", sr_count:%u", I->sr_count);
90596c5ddc4Srjs        break;
90696c5ddc4Srjs
90796c5ddc4Srjs    case BI_OPCODE_ATOM_C_RETURN_I32:
90896c5ddc4Srjs
90996c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
91096c5ddc4Srjs
91196c5ddc4Srjs        fputs(" ", fp);
91296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
91396c5ddc4Srjs
91496c5ddc4Srjs
91596c5ddc4Srjs        fputs(", ", fp);
91696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
91796c5ddc4Srjs
91896c5ddc4Srjs
91996c5ddc4Srjs        fputs(", ", fp);
92096c5ddc4Srjs        bi_print_index(fp, I->src[2]);
92196c5ddc4Srjs
92296c5ddc4Srjs
92396c5ddc4Srjs        break;
92496c5ddc4Srjs
92596c5ddc4Srjs    case BI_OPCODE_ATOM_C_RETURN_I64:
92696c5ddc4Srjs
92796c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
92896c5ddc4Srjs
92996c5ddc4Srjs        fputs(" ", fp);
93096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
93196c5ddc4Srjs
93296c5ddc4Srjs
93396c5ddc4Srjs        fputs(", ", fp);
93496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
93596c5ddc4Srjs
93696c5ddc4Srjs
93796c5ddc4Srjs        fputs(", ", fp);
93896c5ddc4Srjs        bi_print_index(fp, I->src[2]);
93996c5ddc4Srjs
94096c5ddc4Srjs
94196c5ddc4Srjs        break;
94296c5ddc4Srjs
94396c5ddc4Srjs    case BI_OPCODE_ATOM_POST_I32:
94496c5ddc4Srjs
94596c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
94696c5ddc4Srjs
94796c5ddc4Srjs        fputs(" ", fp);
94896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
94996c5ddc4Srjs
95096c5ddc4Srjs
95196c5ddc4Srjs        fputs(", ", fp);
95296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
95396c5ddc4Srjs
95496c5ddc4Srjs
95596c5ddc4Srjs        break;
95696c5ddc4Srjs
95796c5ddc4Srjs    case BI_OPCODE_ATOM_POST_I64:
95896c5ddc4Srjs
95996c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
96096c5ddc4Srjs
96196c5ddc4Srjs        fputs(" ", fp);
96296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
96396c5ddc4Srjs
96496c5ddc4Srjs
96596c5ddc4Srjs        fputs(", ", fp);
96696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
96796c5ddc4Srjs
96896c5ddc4Srjs
96996c5ddc4Srjs        break;
97096c5ddc4Srjs
97196c5ddc4Srjs    case BI_OPCODE_ATOM_PRE_I64:
97296c5ddc4Srjs
97396c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
97496c5ddc4Srjs
97596c5ddc4Srjs        fputs(" ", fp);
97696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
97796c5ddc4Srjs
97896c5ddc4Srjs
97996c5ddc4Srjs        fputs(", ", fp);
98096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
98196c5ddc4Srjs
98296c5ddc4Srjs
98396c5ddc4Srjs        fputs(", ", fp);
98496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
98596c5ddc4Srjs
98696c5ddc4Srjs
98796c5ddc4Srjs        break;
98896c5ddc4Srjs
98996c5ddc4Srjs    case BI_OPCODE_AXCHG_I32:
99096c5ddc4Srjs
99196c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
99296c5ddc4Srjs
99396c5ddc4Srjs        fputs(" ", fp);
99496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
99596c5ddc4Srjs
99696c5ddc4Srjs
99796c5ddc4Srjs        fputs(", ", fp);
99896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
99996c5ddc4Srjs
100096c5ddc4Srjs
100196c5ddc4Srjs        fputs(", ", fp);
100296c5ddc4Srjs        bi_print_index(fp, I->src[2]);
100396c5ddc4Srjs
100496c5ddc4Srjs
100596c5ddc4Srjs        break;
100696c5ddc4Srjs
100796c5ddc4Srjs    case BI_OPCODE_AXCHG_I64:
100896c5ddc4Srjs
100996c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
101096c5ddc4Srjs
101196c5ddc4Srjs        fputs(" ", fp);
101296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
101396c5ddc4Srjs
101496c5ddc4Srjs
101596c5ddc4Srjs        fputs(", ", fp);
101696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
101796c5ddc4Srjs
101896c5ddc4Srjs
101996c5ddc4Srjs        fputs(", ", fp);
102096c5ddc4Srjs        bi_print_index(fp, I->src[2]);
102196c5ddc4Srjs
102296c5ddc4Srjs
102396c5ddc4Srjs        break;
102496c5ddc4Srjs
102596c5ddc4Srjs    case BI_OPCODE_BARRIER:
102696c5ddc4Srjs
102796c5ddc4Srjs
102896c5ddc4Srjs        fputs(" ", fp);
102996c5ddc4Srjs        break;
103096c5ddc4Srjs
103196c5ddc4Srjs    case BI_OPCODE_BITREV_I32:
103296c5ddc4Srjs
103396c5ddc4Srjs
103496c5ddc4Srjs        fputs(" ", fp);
103596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
103696c5ddc4Srjs
103796c5ddc4Srjs
103896c5ddc4Srjs        break;
103996c5ddc4Srjs
104096c5ddc4Srjs    case BI_OPCODE_BLEND:
104196c5ddc4Srjs
104296c5ddc4Srjs
104396c5ddc4Srjs        fputs(" ", fp);
104496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
104596c5ddc4Srjs
104696c5ddc4Srjs
104796c5ddc4Srjs        fputs(", ", fp);
104896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
104996c5ddc4Srjs
105096c5ddc4Srjs
105196c5ddc4Srjs        fputs(", ", fp);
105296c5ddc4Srjs        bi_print_index(fp, I->src[2]);
105396c5ddc4Srjs
105496c5ddc4Srjs
105596c5ddc4Srjs        fputs(", ", fp);
105696c5ddc4Srjs        bi_print_index(fp, I->src[3]);
105796c5ddc4Srjs
105896c5ddc4Srjs
105996c5ddc4Srjs        fprintf(fp, ", sr_count:%u", I->sr_count);
106096c5ddc4Srjs        break;
106196c5ddc4Srjs
106296c5ddc4Srjs    case BI_OPCODE_BRANCH_F16:
106396c5ddc4Srjs
106496c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
106596c5ddc4Srjs
106696c5ddc4Srjs        fputs(" ", fp);
106796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
106896c5ddc4Srjs
106996c5ddc4Srjs
107096c5ddc4Srjs        fputs(", ", fp);
107196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
107296c5ddc4Srjs
107396c5ddc4Srjs
107496c5ddc4Srjs        fputs(", ", fp);
107596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
107696c5ddc4Srjs
107796c5ddc4Srjs
107896c5ddc4Srjs        break;
107996c5ddc4Srjs
108096c5ddc4Srjs    case BI_OPCODE_BRANCH_F32:
108196c5ddc4Srjs
108296c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
108396c5ddc4Srjs
108496c5ddc4Srjs        fputs(" ", fp);
108596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
108696c5ddc4Srjs
108796c5ddc4Srjs
108896c5ddc4Srjs        fputs(", ", fp);
108996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
109096c5ddc4Srjs
109196c5ddc4Srjs
109296c5ddc4Srjs        fputs(", ", fp);
109396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
109496c5ddc4Srjs
109596c5ddc4Srjs
109696c5ddc4Srjs        break;
109796c5ddc4Srjs
109896c5ddc4Srjs    case BI_OPCODE_BRANCH_I16:
109996c5ddc4Srjs
110096c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
110196c5ddc4Srjs
110296c5ddc4Srjs        fputs(" ", fp);
110396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
110496c5ddc4Srjs
110596c5ddc4Srjs
110696c5ddc4Srjs        fputs(", ", fp);
110796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
110896c5ddc4Srjs
110996c5ddc4Srjs
111096c5ddc4Srjs        fputs(", ", fp);
111196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
111296c5ddc4Srjs
111396c5ddc4Srjs
111496c5ddc4Srjs        break;
111596c5ddc4Srjs
111696c5ddc4Srjs    case BI_OPCODE_BRANCH_I32:
111796c5ddc4Srjs
111896c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
111996c5ddc4Srjs
112096c5ddc4Srjs        fputs(" ", fp);
112196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
112296c5ddc4Srjs
112396c5ddc4Srjs
112496c5ddc4Srjs        fputs(", ", fp);
112596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
112696c5ddc4Srjs
112796c5ddc4Srjs
112896c5ddc4Srjs        fputs(", ", fp);
112996c5ddc4Srjs        bi_print_index(fp, I->src[2]);
113096c5ddc4Srjs
113196c5ddc4Srjs
113296c5ddc4Srjs        break;
113396c5ddc4Srjs
113496c5ddc4Srjs    case BI_OPCODE_BRANCH_S16:
113596c5ddc4Srjs
113696c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
113796c5ddc4Srjs
113896c5ddc4Srjs        fputs(" ", fp);
113996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
114096c5ddc4Srjs
114196c5ddc4Srjs
114296c5ddc4Srjs        fputs(", ", fp);
114396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
114496c5ddc4Srjs
114596c5ddc4Srjs
114696c5ddc4Srjs        fputs(", ", fp);
114796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
114896c5ddc4Srjs
114996c5ddc4Srjs
115096c5ddc4Srjs        break;
115196c5ddc4Srjs
115296c5ddc4Srjs    case BI_OPCODE_BRANCH_S32:
115396c5ddc4Srjs
115496c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
115596c5ddc4Srjs
115696c5ddc4Srjs        fputs(" ", fp);
115796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
115896c5ddc4Srjs
115996c5ddc4Srjs
116096c5ddc4Srjs        fputs(", ", fp);
116196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
116296c5ddc4Srjs
116396c5ddc4Srjs
116496c5ddc4Srjs        fputs(", ", fp);
116596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
116696c5ddc4Srjs
116796c5ddc4Srjs
116896c5ddc4Srjs        break;
116996c5ddc4Srjs
117096c5ddc4Srjs    case BI_OPCODE_BRANCH_U16:
117196c5ddc4Srjs
117296c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
117396c5ddc4Srjs
117496c5ddc4Srjs        fputs(" ", fp);
117596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
117696c5ddc4Srjs
117796c5ddc4Srjs
117896c5ddc4Srjs        fputs(", ", fp);
117996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
118096c5ddc4Srjs
118196c5ddc4Srjs
118296c5ddc4Srjs        fputs(", ", fp);
118396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
118496c5ddc4Srjs
118596c5ddc4Srjs
118696c5ddc4Srjs        break;
118796c5ddc4Srjs
118896c5ddc4Srjs    case BI_OPCODE_BRANCH_U32:
118996c5ddc4Srjs
119096c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
119196c5ddc4Srjs
119296c5ddc4Srjs        fputs(" ", fp);
119396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
119496c5ddc4Srjs
119596c5ddc4Srjs
119696c5ddc4Srjs        fputs(", ", fp);
119796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
119896c5ddc4Srjs
119996c5ddc4Srjs
120096c5ddc4Srjs        fputs(", ", fp);
120196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
120296c5ddc4Srjs
120396c5ddc4Srjs
120496c5ddc4Srjs        break;
120596c5ddc4Srjs
120696c5ddc4Srjs    case BI_OPCODE_BRANCHC_I16:
120796c5ddc4Srjs
120896c5ddc4Srjs        if (I->combine) fputs(".combine", fp);
120996c5ddc4Srjs
121096c5ddc4Srjs        fputs(" ", fp);
121196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
121296c5ddc4Srjs
121396c5ddc4Srjs
121496c5ddc4Srjs        fputs(", ", fp);
121596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
121696c5ddc4Srjs
121796c5ddc4Srjs
121896c5ddc4Srjs        break;
121996c5ddc4Srjs
122096c5ddc4Srjs    case BI_OPCODE_BRANCHC_I32:
122196c5ddc4Srjs
122296c5ddc4Srjs        if (I->combine) fputs(".combine", fp);
122396c5ddc4Srjs
122496c5ddc4Srjs        fputs(" ", fp);
122596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
122696c5ddc4Srjs
122796c5ddc4Srjs
122896c5ddc4Srjs        fputs(", ", fp);
122996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
123096c5ddc4Srjs
123196c5ddc4Srjs
123296c5ddc4Srjs        break;
123396c5ddc4Srjs
123496c5ddc4Srjs    case BI_OPCODE_BRANCHZ_F16:
123596c5ddc4Srjs
123696c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
123796c5ddc4Srjs
123896c5ddc4Srjs        fputs(" ", fp);
123996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
124096c5ddc4Srjs
124196c5ddc4Srjs
124296c5ddc4Srjs        fputs(", ", fp);
124396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
124496c5ddc4Srjs
124596c5ddc4Srjs
124696c5ddc4Srjs        break;
124796c5ddc4Srjs
124896c5ddc4Srjs    case BI_OPCODE_BRANCHZ_F32:
124996c5ddc4Srjs
125096c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
125196c5ddc4Srjs
125296c5ddc4Srjs        fputs(" ", fp);
125396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
125496c5ddc4Srjs
125596c5ddc4Srjs
125696c5ddc4Srjs        fputs(", ", fp);
125796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
125896c5ddc4Srjs
125996c5ddc4Srjs
126096c5ddc4Srjs        break;
126196c5ddc4Srjs
126296c5ddc4Srjs    case BI_OPCODE_BRANCHZ_I16:
126396c5ddc4Srjs
126496c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
126596c5ddc4Srjs
126696c5ddc4Srjs        fputs(" ", fp);
126796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
126896c5ddc4Srjs
126996c5ddc4Srjs
127096c5ddc4Srjs        fputs(", ", fp);
127196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
127296c5ddc4Srjs
127396c5ddc4Srjs
127496c5ddc4Srjs        break;
127596c5ddc4Srjs
127696c5ddc4Srjs    case BI_OPCODE_BRANCHZ_I32:
127796c5ddc4Srjs
127896c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
127996c5ddc4Srjs
128096c5ddc4Srjs        fputs(" ", fp);
128196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
128296c5ddc4Srjs
128396c5ddc4Srjs
128496c5ddc4Srjs        fputs(", ", fp);
128596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
128696c5ddc4Srjs
128796c5ddc4Srjs
128896c5ddc4Srjs        break;
128996c5ddc4Srjs
129096c5ddc4Srjs    case BI_OPCODE_BRANCHZ_S16:
129196c5ddc4Srjs
129296c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
129396c5ddc4Srjs
129496c5ddc4Srjs        fputs(" ", fp);
129596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
129696c5ddc4Srjs
129796c5ddc4Srjs
129896c5ddc4Srjs        fputs(", ", fp);
129996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
130096c5ddc4Srjs
130196c5ddc4Srjs
130296c5ddc4Srjs        break;
130396c5ddc4Srjs
130496c5ddc4Srjs    case BI_OPCODE_BRANCHZ_S32:
130596c5ddc4Srjs
130696c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
130796c5ddc4Srjs
130896c5ddc4Srjs        fputs(" ", fp);
130996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
131096c5ddc4Srjs
131196c5ddc4Srjs
131296c5ddc4Srjs        fputs(", ", fp);
131396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
131496c5ddc4Srjs
131596c5ddc4Srjs
131696c5ddc4Srjs        break;
131796c5ddc4Srjs
131896c5ddc4Srjs    case BI_OPCODE_BRANCHZ_U16:
131996c5ddc4Srjs
132096c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
132196c5ddc4Srjs
132296c5ddc4Srjs        fputs(" ", fp);
132396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
132496c5ddc4Srjs
132596c5ddc4Srjs
132696c5ddc4Srjs        fputs(", ", fp);
132796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
132896c5ddc4Srjs
132996c5ddc4Srjs
133096c5ddc4Srjs        break;
133196c5ddc4Srjs
133296c5ddc4Srjs    case BI_OPCODE_BRANCHZ_U32:
133396c5ddc4Srjs
133496c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
133596c5ddc4Srjs
133696c5ddc4Srjs        fputs(" ", fp);
133796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
133896c5ddc4Srjs
133996c5ddc4Srjs
134096c5ddc4Srjs        fputs(", ", fp);
134196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
134296c5ddc4Srjs
134396c5ddc4Srjs
134496c5ddc4Srjs        break;
134596c5ddc4Srjs
134696c5ddc4Srjs    case BI_OPCODE_BRANCH_DIVERG:
134796c5ddc4Srjs
134896c5ddc4Srjs
134996c5ddc4Srjs        fputs(" ", fp);
135096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
135196c5ddc4Srjs
135296c5ddc4Srjs
135396c5ddc4Srjs        break;
135496c5ddc4Srjs
135596c5ddc4Srjs    case BI_OPCODE_BRANCH_LOWBITS_F32:
135696c5ddc4Srjs
135796c5ddc4Srjs
135896c5ddc4Srjs        fputs(" ", fp);
135996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
136096c5ddc4Srjs
136196c5ddc4Srjs
136296c5ddc4Srjs        fputs(", ", fp);
136396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
136496c5ddc4Srjs
136596c5ddc4Srjs
136696c5ddc4Srjs        break;
136796c5ddc4Srjs
136896c5ddc4Srjs    case BI_OPCODE_BRANCH_NO_DIVERG:
136996c5ddc4Srjs
137096c5ddc4Srjs
137196c5ddc4Srjs        fputs(" ", fp);
137296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
137396c5ddc4Srjs
137496c5ddc4Srjs
137596c5ddc4Srjs        break;
137696c5ddc4Srjs
137796c5ddc4Srjs    case BI_OPCODE_CLPER_I32:
137896c5ddc4Srjs
137996c5ddc4Srjs        fputs(bi_lane_op_as_str(I->lane_op), fp);
138096c5ddc4Srjs        fputs(bi_subgroup_as_str(I->subgroup), fp);
138196c5ddc4Srjs        fputs(bi_inactive_result_as_str(I->inactive_result), fp);
138296c5ddc4Srjs
138396c5ddc4Srjs        fputs(" ", fp);
138496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
138596c5ddc4Srjs
138696c5ddc4Srjs
138796c5ddc4Srjs        fputs(", ", fp);
138896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
138996c5ddc4Srjs
139096c5ddc4Srjs
139196c5ddc4Srjs        break;
139296c5ddc4Srjs
139396c5ddc4Srjs    case BI_OPCODE_CLPER_V6_I32:
139496c5ddc4Srjs
139596c5ddc4Srjs
139696c5ddc4Srjs        fputs(" ", fp);
139796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
139896c5ddc4Srjs
139996c5ddc4Srjs
140096c5ddc4Srjs        fputs(", ", fp);
140196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
140296c5ddc4Srjs
140396c5ddc4Srjs
140496c5ddc4Srjs        break;
140596c5ddc4Srjs
140696c5ddc4Srjs    case BI_OPCODE_CLZ_U32:
140796c5ddc4Srjs
140896c5ddc4Srjs        if (I->mask) fputs(".mask", fp);
140996c5ddc4Srjs
141096c5ddc4Srjs        fputs(" ", fp);
141196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
141296c5ddc4Srjs
141396c5ddc4Srjs
141496c5ddc4Srjs        break;
141596c5ddc4Srjs
141696c5ddc4Srjs    case BI_OPCODE_CLZ_V2U16:
141796c5ddc4Srjs
141896c5ddc4Srjs        if (I->mask) fputs(".mask", fp);
141996c5ddc4Srjs
142096c5ddc4Srjs        fputs(" ", fp);
142196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
142296c5ddc4Srjs
142396c5ddc4Srjs
142496c5ddc4Srjs        break;
142596c5ddc4Srjs
142696c5ddc4Srjs    case BI_OPCODE_CLZ_V4U8:
142796c5ddc4Srjs
142896c5ddc4Srjs        if (I->mask) fputs(".mask", fp);
142996c5ddc4Srjs
143096c5ddc4Srjs        fputs(" ", fp);
143196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
143296c5ddc4Srjs
143396c5ddc4Srjs
143496c5ddc4Srjs        break;
143596c5ddc4Srjs
143696c5ddc4Srjs    case BI_OPCODE_CSEL_F32:
143796c5ddc4Srjs
143896c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
143996c5ddc4Srjs
144096c5ddc4Srjs        fputs(" ", fp);
144196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
144296c5ddc4Srjs
144396c5ddc4Srjs
144496c5ddc4Srjs        fputs(", ", fp);
144596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
144696c5ddc4Srjs
144796c5ddc4Srjs
144896c5ddc4Srjs        fputs(", ", fp);
144996c5ddc4Srjs        bi_print_index(fp, I->src[2]);
145096c5ddc4Srjs
145196c5ddc4Srjs
145296c5ddc4Srjs        fputs(", ", fp);
145396c5ddc4Srjs        bi_print_index(fp, I->src[3]);
145496c5ddc4Srjs
145596c5ddc4Srjs
145696c5ddc4Srjs        break;
145796c5ddc4Srjs
145896c5ddc4Srjs    case BI_OPCODE_CSEL_I32:
145996c5ddc4Srjs
146096c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
146196c5ddc4Srjs
146296c5ddc4Srjs        fputs(" ", fp);
146396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
146496c5ddc4Srjs
146596c5ddc4Srjs
146696c5ddc4Srjs        fputs(", ", fp);
146796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
146896c5ddc4Srjs
146996c5ddc4Srjs
147096c5ddc4Srjs        fputs(", ", fp);
147196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
147296c5ddc4Srjs
147396c5ddc4Srjs
147496c5ddc4Srjs        fputs(", ", fp);
147596c5ddc4Srjs        bi_print_index(fp, I->src[3]);
147696c5ddc4Srjs
147796c5ddc4Srjs
147896c5ddc4Srjs        break;
147996c5ddc4Srjs
148096c5ddc4Srjs    case BI_OPCODE_CSEL_S32:
148196c5ddc4Srjs
148296c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
148396c5ddc4Srjs
148496c5ddc4Srjs        fputs(" ", fp);
148596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
148696c5ddc4Srjs
148796c5ddc4Srjs
148896c5ddc4Srjs        fputs(", ", fp);
148996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
149096c5ddc4Srjs
149196c5ddc4Srjs
149296c5ddc4Srjs        fputs(", ", fp);
149396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
149496c5ddc4Srjs
149596c5ddc4Srjs
149696c5ddc4Srjs        fputs(", ", fp);
149796c5ddc4Srjs        bi_print_index(fp, I->src[3]);
149896c5ddc4Srjs
149996c5ddc4Srjs
150096c5ddc4Srjs        break;
150196c5ddc4Srjs
150296c5ddc4Srjs    case BI_OPCODE_CSEL_U32:
150396c5ddc4Srjs
150496c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
150596c5ddc4Srjs
150696c5ddc4Srjs        fputs(" ", fp);
150796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
150896c5ddc4Srjs
150996c5ddc4Srjs
151096c5ddc4Srjs        fputs(", ", fp);
151196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
151296c5ddc4Srjs
151396c5ddc4Srjs
151496c5ddc4Srjs        fputs(", ", fp);
151596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
151696c5ddc4Srjs
151796c5ddc4Srjs
151896c5ddc4Srjs        fputs(", ", fp);
151996c5ddc4Srjs        bi_print_index(fp, I->src[3]);
152096c5ddc4Srjs
152196c5ddc4Srjs
152296c5ddc4Srjs        break;
152396c5ddc4Srjs
152496c5ddc4Srjs    case BI_OPCODE_CSEL_V2F16:
152596c5ddc4Srjs
152696c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
152796c5ddc4Srjs
152896c5ddc4Srjs        fputs(" ", fp);
152996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
153096c5ddc4Srjs
153196c5ddc4Srjs
153296c5ddc4Srjs        fputs(", ", fp);
153396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
153496c5ddc4Srjs
153596c5ddc4Srjs
153696c5ddc4Srjs        fputs(", ", fp);
153796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
153896c5ddc4Srjs
153996c5ddc4Srjs
154096c5ddc4Srjs        fputs(", ", fp);
154196c5ddc4Srjs        bi_print_index(fp, I->src[3]);
154296c5ddc4Srjs
154396c5ddc4Srjs
154496c5ddc4Srjs        break;
154596c5ddc4Srjs
154696c5ddc4Srjs    case BI_OPCODE_CSEL_V2I16:
154796c5ddc4Srjs
154896c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
154996c5ddc4Srjs
155096c5ddc4Srjs        fputs(" ", fp);
155196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
155296c5ddc4Srjs
155396c5ddc4Srjs
155496c5ddc4Srjs        fputs(", ", fp);
155596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
155696c5ddc4Srjs
155796c5ddc4Srjs
155896c5ddc4Srjs        fputs(", ", fp);
155996c5ddc4Srjs        bi_print_index(fp, I->src[2]);
156096c5ddc4Srjs
156196c5ddc4Srjs
156296c5ddc4Srjs        fputs(", ", fp);
156396c5ddc4Srjs        bi_print_index(fp, I->src[3]);
156496c5ddc4Srjs
156596c5ddc4Srjs
156696c5ddc4Srjs        break;
156796c5ddc4Srjs
156896c5ddc4Srjs    case BI_OPCODE_CSEL_V2S16:
156996c5ddc4Srjs
157096c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
157196c5ddc4Srjs
157296c5ddc4Srjs        fputs(" ", fp);
157396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
157496c5ddc4Srjs
157596c5ddc4Srjs
157696c5ddc4Srjs        fputs(", ", fp);
157796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
157896c5ddc4Srjs
157996c5ddc4Srjs
158096c5ddc4Srjs        fputs(", ", fp);
158196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
158296c5ddc4Srjs
158396c5ddc4Srjs
158496c5ddc4Srjs        fputs(", ", fp);
158596c5ddc4Srjs        bi_print_index(fp, I->src[3]);
158696c5ddc4Srjs
158796c5ddc4Srjs
158896c5ddc4Srjs        break;
158996c5ddc4Srjs
159096c5ddc4Srjs    case BI_OPCODE_CSEL_V2U16:
159196c5ddc4Srjs
159296c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
159396c5ddc4Srjs
159496c5ddc4Srjs        fputs(" ", fp);
159596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
159696c5ddc4Srjs
159796c5ddc4Srjs
159896c5ddc4Srjs        fputs(", ", fp);
159996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
160096c5ddc4Srjs
160196c5ddc4Srjs
160296c5ddc4Srjs        fputs(", ", fp);
160396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
160496c5ddc4Srjs
160596c5ddc4Srjs
160696c5ddc4Srjs        fputs(", ", fp);
160796c5ddc4Srjs        bi_print_index(fp, I->src[3]);
160896c5ddc4Srjs
160996c5ddc4Srjs
161096c5ddc4Srjs        break;
161196c5ddc4Srjs
161296c5ddc4Srjs    case BI_OPCODE_CUBEFACE:
161396c5ddc4Srjs
161496c5ddc4Srjs
161596c5ddc4Srjs        fputs(" ", fp);
161696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
161796c5ddc4Srjs
161896c5ddc4Srjs
161996c5ddc4Srjs        fputs(", ", fp);
162096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
162196c5ddc4Srjs
162296c5ddc4Srjs
162396c5ddc4Srjs        fputs(", ", fp);
162496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
162596c5ddc4Srjs
162696c5ddc4Srjs
162796c5ddc4Srjs        break;
162896c5ddc4Srjs
162996c5ddc4Srjs    case BI_OPCODE_CUBEFACE1:
163096c5ddc4Srjs
163196c5ddc4Srjs
163296c5ddc4Srjs        fputs(" ", fp);
163396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
163496c5ddc4Srjs
163596c5ddc4Srjs
163696c5ddc4Srjs        fputs(", ", fp);
163796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
163896c5ddc4Srjs
163996c5ddc4Srjs
164096c5ddc4Srjs        fputs(", ", fp);
164196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
164296c5ddc4Srjs
164396c5ddc4Srjs
164496c5ddc4Srjs        break;
164596c5ddc4Srjs
164696c5ddc4Srjs    case BI_OPCODE_CUBEFACE2:
164796c5ddc4Srjs
164896c5ddc4Srjs
164996c5ddc4Srjs        fputs(" ", fp);
165096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
165196c5ddc4Srjs
165296c5ddc4Srjs
165396c5ddc4Srjs        break;
165496c5ddc4Srjs
165596c5ddc4Srjs    case BI_OPCODE_CUBE_SSEL:
165696c5ddc4Srjs
165796c5ddc4Srjs
165896c5ddc4Srjs        fputs(" ", fp);
165996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
166096c5ddc4Srjs
166196c5ddc4Srjs
166296c5ddc4Srjs        fputs(", ", fp);
166396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
166496c5ddc4Srjs
166596c5ddc4Srjs
166696c5ddc4Srjs        fputs(", ", fp);
166796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
166896c5ddc4Srjs
166996c5ddc4Srjs
167096c5ddc4Srjs        break;
167196c5ddc4Srjs
167296c5ddc4Srjs    case BI_OPCODE_CUBE_TSEL:
167396c5ddc4Srjs
167496c5ddc4Srjs
167596c5ddc4Srjs        fputs(" ", fp);
167696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
167796c5ddc4Srjs
167896c5ddc4Srjs
167996c5ddc4Srjs        fputs(", ", fp);
168096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
168196c5ddc4Srjs
168296c5ddc4Srjs
168396c5ddc4Srjs        fputs(", ", fp);
168496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
168596c5ddc4Srjs
168696c5ddc4Srjs
168796c5ddc4Srjs        break;
168896c5ddc4Srjs
168996c5ddc4Srjs    case BI_OPCODE_DISCARD_B32:
169096c5ddc4Srjs
169196c5ddc4Srjs
169296c5ddc4Srjs        fputs(" ", fp);
169396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
169496c5ddc4Srjs
169596c5ddc4Srjs
169696c5ddc4Srjs        break;
169796c5ddc4Srjs
169896c5ddc4Srjs    case BI_OPCODE_DISCARD_F32:
169996c5ddc4Srjs
170096c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
170196c5ddc4Srjs
170296c5ddc4Srjs        fputs(" ", fp);
170396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
170496c5ddc4Srjs
170596c5ddc4Srjs
170696c5ddc4Srjs        fputs(", ", fp);
170796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
170896c5ddc4Srjs
170996c5ddc4Srjs
171096c5ddc4Srjs        break;
171196c5ddc4Srjs
171296c5ddc4Srjs    case BI_OPCODE_DTSEL_IMM:
171396c5ddc4Srjs
171496c5ddc4Srjs        fputs(bi_table_as_str(I->table), fp);
171596c5ddc4Srjs
171696c5ddc4Srjs        fputs(" ", fp);
171796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
171896c5ddc4Srjs
171996c5ddc4Srjs
172096c5ddc4Srjs        break;
172196c5ddc4Srjs
172296c5ddc4Srjs    case BI_OPCODE_F16_TO_F32:
172396c5ddc4Srjs
172496c5ddc4Srjs
172596c5ddc4Srjs        fputs(" ", fp);
172696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
172796c5ddc4Srjs
172896c5ddc4Srjs
172996c5ddc4Srjs        break;
173096c5ddc4Srjs
173196c5ddc4Srjs    case BI_OPCODE_F16_TO_S32:
173296c5ddc4Srjs
173396c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
173496c5ddc4Srjs
173596c5ddc4Srjs        fputs(" ", fp);
173696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
173796c5ddc4Srjs
173896c5ddc4Srjs
173996c5ddc4Srjs        break;
174096c5ddc4Srjs
174196c5ddc4Srjs    case BI_OPCODE_F16_TO_U32:
174296c5ddc4Srjs
174396c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
174496c5ddc4Srjs
174596c5ddc4Srjs        fputs(" ", fp);
174696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
174796c5ddc4Srjs
174896c5ddc4Srjs
174996c5ddc4Srjs        break;
175096c5ddc4Srjs
175196c5ddc4Srjs    case BI_OPCODE_F32_TO_S32:
175296c5ddc4Srjs
175396c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
175496c5ddc4Srjs
175596c5ddc4Srjs        fputs(" ", fp);
175696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
175796c5ddc4Srjs
175896c5ddc4Srjs
175996c5ddc4Srjs        break;
176096c5ddc4Srjs
176196c5ddc4Srjs    case BI_OPCODE_F32_TO_U32:
176296c5ddc4Srjs
176396c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
176496c5ddc4Srjs
176596c5ddc4Srjs        fputs(" ", fp);
176696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
176796c5ddc4Srjs
176896c5ddc4Srjs
176996c5ddc4Srjs        break;
177096c5ddc4Srjs
177196c5ddc4Srjs    case BI_OPCODE_FABSNEG_F32:
177296c5ddc4Srjs
177396c5ddc4Srjs
177496c5ddc4Srjs        fputs(" ", fp);
177596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
177696c5ddc4Srjs
177796c5ddc4Srjs
177896c5ddc4Srjs        break;
177996c5ddc4Srjs
178096c5ddc4Srjs    case BI_OPCODE_FABSNEG_V2F16:
178196c5ddc4Srjs
178296c5ddc4Srjs
178396c5ddc4Srjs        fputs(" ", fp);
178496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
178596c5ddc4Srjs
178696c5ddc4Srjs
178796c5ddc4Srjs        break;
178896c5ddc4Srjs
178996c5ddc4Srjs    case BI_OPCODE_FADD_F32:
179096c5ddc4Srjs
179196c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
179296c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
179396c5ddc4Srjs
179496c5ddc4Srjs        fputs(" ", fp);
179596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
179696c5ddc4Srjs
179796c5ddc4Srjs
179896c5ddc4Srjs        fputs(", ", fp);
179996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
180096c5ddc4Srjs
180196c5ddc4Srjs
180296c5ddc4Srjs        break;
180396c5ddc4Srjs
180496c5ddc4Srjs    case BI_OPCODE_FADD_V2F16:
180596c5ddc4Srjs
180696c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
180796c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
180896c5ddc4Srjs
180996c5ddc4Srjs        fputs(" ", fp);
181096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
181196c5ddc4Srjs
181296c5ddc4Srjs
181396c5ddc4Srjs        fputs(", ", fp);
181496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
181596c5ddc4Srjs
181696c5ddc4Srjs
181796c5ddc4Srjs        break;
181896c5ddc4Srjs
181996c5ddc4Srjs    case BI_OPCODE_FADD_IMM_F32:
182096c5ddc4Srjs
182196c5ddc4Srjs
182296c5ddc4Srjs        fputs(" ", fp);
182396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
182496c5ddc4Srjs
182596c5ddc4Srjs
182696c5ddc4Srjs        fprintf(fp, ", index:%u", I->index);
182796c5ddc4Srjs        break;
182896c5ddc4Srjs
182996c5ddc4Srjs    case BI_OPCODE_FADD_IMM_V2F16:
183096c5ddc4Srjs
183196c5ddc4Srjs
183296c5ddc4Srjs        fputs(" ", fp);
183396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
183496c5ddc4Srjs
183596c5ddc4Srjs
183696c5ddc4Srjs        fprintf(fp, ", index:%u", I->index);
183796c5ddc4Srjs        break;
183896c5ddc4Srjs
183996c5ddc4Srjs    case BI_OPCODE_FADD_LSCALE_F32:
184096c5ddc4Srjs
184196c5ddc4Srjs
184296c5ddc4Srjs        fputs(" ", fp);
184396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
184496c5ddc4Srjs
184596c5ddc4Srjs
184696c5ddc4Srjs        fputs(", ", fp);
184796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
184896c5ddc4Srjs
184996c5ddc4Srjs
185096c5ddc4Srjs        break;
185196c5ddc4Srjs
185296c5ddc4Srjs    case BI_OPCODE_FADD_RSCALE_F32:
185396c5ddc4Srjs
185496c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
185596c5ddc4Srjs        fputs(bi_special_as_str(I->special), fp);
185696c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
185796c5ddc4Srjs
185896c5ddc4Srjs        fputs(" ", fp);
185996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
186096c5ddc4Srjs
186196c5ddc4Srjs
186296c5ddc4Srjs        fputs(", ", fp);
186396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
186496c5ddc4Srjs
186596c5ddc4Srjs
186696c5ddc4Srjs        fputs(", ", fp);
186796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
186896c5ddc4Srjs
186996c5ddc4Srjs
187096c5ddc4Srjs        break;
187196c5ddc4Srjs
187296c5ddc4Srjs    case BI_OPCODE_FCLAMP_F32:
187396c5ddc4Srjs
187496c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
187596c5ddc4Srjs
187696c5ddc4Srjs        fputs(" ", fp);
187796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
187896c5ddc4Srjs
187996c5ddc4Srjs
188096c5ddc4Srjs        break;
188196c5ddc4Srjs
188296c5ddc4Srjs    case BI_OPCODE_FCLAMP_V2F16:
188396c5ddc4Srjs
188496c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
188596c5ddc4Srjs
188696c5ddc4Srjs        fputs(" ", fp);
188796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
188896c5ddc4Srjs
188996c5ddc4Srjs
189096c5ddc4Srjs        break;
189196c5ddc4Srjs
189296c5ddc4Srjs    case BI_OPCODE_FCMP_F32:
189396c5ddc4Srjs
189496c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
189596c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
189696c5ddc4Srjs
189796c5ddc4Srjs        fputs(" ", fp);
189896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
189996c5ddc4Srjs
190096c5ddc4Srjs
190196c5ddc4Srjs        fputs(", ", fp);
190296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
190396c5ddc4Srjs
190496c5ddc4Srjs
190596c5ddc4Srjs        break;
190696c5ddc4Srjs
190796c5ddc4Srjs    case BI_OPCODE_FCMP_V2F16:
190896c5ddc4Srjs
190996c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
191096c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
191196c5ddc4Srjs
191296c5ddc4Srjs        fputs(" ", fp);
191396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
191496c5ddc4Srjs
191596c5ddc4Srjs
191696c5ddc4Srjs        fputs(", ", fp);
191796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
191896c5ddc4Srjs
191996c5ddc4Srjs
192096c5ddc4Srjs        break;
192196c5ddc4Srjs
192296c5ddc4Srjs    case BI_OPCODE_FCOS_TABLE_U6:
192396c5ddc4Srjs
192496c5ddc4Srjs        if (I->offset) fputs(".offset", fp);
192596c5ddc4Srjs
192696c5ddc4Srjs        fputs(" ", fp);
192796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
192896c5ddc4Srjs
192996c5ddc4Srjs
193096c5ddc4Srjs        break;
193196c5ddc4Srjs
193296c5ddc4Srjs    case BI_OPCODE_FEXP_F32:
193396c5ddc4Srjs
193496c5ddc4Srjs
193596c5ddc4Srjs        fputs(" ", fp);
193696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
193796c5ddc4Srjs
193896c5ddc4Srjs
193996c5ddc4Srjs        fputs(", ", fp);
194096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
194196c5ddc4Srjs
194296c5ddc4Srjs
194396c5ddc4Srjs        break;
194496c5ddc4Srjs
194596c5ddc4Srjs    case BI_OPCODE_FEXP_TABLE_U4:
194696c5ddc4Srjs
194796c5ddc4Srjs        fputs(bi_adj_as_str(I->adj), fp);
194896c5ddc4Srjs
194996c5ddc4Srjs        fputs(" ", fp);
195096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
195196c5ddc4Srjs
195296c5ddc4Srjs
195396c5ddc4Srjs        break;
195496c5ddc4Srjs
195596c5ddc4Srjs    case BI_OPCODE_FLOGD_F32:
195696c5ddc4Srjs
195796c5ddc4Srjs
195896c5ddc4Srjs        fputs(" ", fp);
195996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
196096c5ddc4Srjs
196196c5ddc4Srjs
196296c5ddc4Srjs        break;
196396c5ddc4Srjs
196496c5ddc4Srjs    case BI_OPCODE_FLOG_TABLE_F32:
196596c5ddc4Srjs
196696c5ddc4Srjs        fputs(bi_mode_as_str(I->mode), fp);
196796c5ddc4Srjs        fputs(bi_precision_as_str(I->precision), fp);
196896c5ddc4Srjs        if (I->divzero) fputs(".divzero", fp);
196996c5ddc4Srjs
197096c5ddc4Srjs        fputs(" ", fp);
197196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
197296c5ddc4Srjs
197396c5ddc4Srjs
197496c5ddc4Srjs        break;
197596c5ddc4Srjs
197696c5ddc4Srjs    case BI_OPCODE_FLSHIFT_DOUBLE_I32:
197796c5ddc4Srjs
197896c5ddc4Srjs
197996c5ddc4Srjs        fputs(" ", fp);
198096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
198196c5ddc4Srjs
198296c5ddc4Srjs
198396c5ddc4Srjs        fputs(", ", fp);
198496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
198596c5ddc4Srjs
198696c5ddc4Srjs
198796c5ddc4Srjs        fputs(", ", fp);
198896c5ddc4Srjs        bi_print_index(fp, I->src[2]);
198996c5ddc4Srjs
199096c5ddc4Srjs        if (I->bytes2) fputs(".bytes", fp);
199196c5ddc4Srjs
199296c5ddc4Srjs        break;
199396c5ddc4Srjs
199496c5ddc4Srjs    case BI_OPCODE_FMA_F32:
199596c5ddc4Srjs
199696c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
199796c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
199896c5ddc4Srjs
199996c5ddc4Srjs        fputs(" ", fp);
200096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
200196c5ddc4Srjs
200296c5ddc4Srjs
200396c5ddc4Srjs        fputs(", ", fp);
200496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
200596c5ddc4Srjs
200696c5ddc4Srjs
200796c5ddc4Srjs        fputs(", ", fp);
200896c5ddc4Srjs        bi_print_index(fp, I->src[2]);
200996c5ddc4Srjs
201096c5ddc4Srjs
201196c5ddc4Srjs        break;
201296c5ddc4Srjs
201396c5ddc4Srjs    case BI_OPCODE_FMA_V2F16:
201496c5ddc4Srjs
201596c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
201696c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
201796c5ddc4Srjs
201896c5ddc4Srjs        fputs(" ", fp);
201996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
202096c5ddc4Srjs
202196c5ddc4Srjs
202296c5ddc4Srjs        fputs(", ", fp);
202396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
202496c5ddc4Srjs
202596c5ddc4Srjs
202696c5ddc4Srjs        fputs(", ", fp);
202796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
202896c5ddc4Srjs
202996c5ddc4Srjs
203096c5ddc4Srjs        break;
203196c5ddc4Srjs
203296c5ddc4Srjs    case BI_OPCODE_FMAX_F32:
203396c5ddc4Srjs
203496c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
203596c5ddc4Srjs        fputs(bi_sem_as_str(I->sem), fp);
203696c5ddc4Srjs
203796c5ddc4Srjs        fputs(" ", fp);
203896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
203996c5ddc4Srjs
204096c5ddc4Srjs
204196c5ddc4Srjs        fputs(", ", fp);
204296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
204396c5ddc4Srjs
204496c5ddc4Srjs
204596c5ddc4Srjs        break;
204696c5ddc4Srjs
204796c5ddc4Srjs    case BI_OPCODE_FMAX_V2F16:
204896c5ddc4Srjs
204996c5ddc4Srjs        fputs(bi_sem_as_str(I->sem), fp);
205096c5ddc4Srjs
205196c5ddc4Srjs        fputs(" ", fp);
205296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
205396c5ddc4Srjs
205496c5ddc4Srjs
205596c5ddc4Srjs        fputs(", ", fp);
205696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
205796c5ddc4Srjs
205896c5ddc4Srjs
205996c5ddc4Srjs        break;
206096c5ddc4Srjs
206196c5ddc4Srjs    case BI_OPCODE_FMA_RSCALE_F32:
206296c5ddc4Srjs
206396c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
206496c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
206596c5ddc4Srjs        fputs(bi_special_as_str(I->special), fp);
206696c5ddc4Srjs
206796c5ddc4Srjs        fputs(" ", fp);
206896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
206996c5ddc4Srjs
207096c5ddc4Srjs
207196c5ddc4Srjs        fputs(", ", fp);
207296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
207396c5ddc4Srjs
207496c5ddc4Srjs
207596c5ddc4Srjs        fputs(", ", fp);
207696c5ddc4Srjs        bi_print_index(fp, I->src[2]);
207796c5ddc4Srjs
207896c5ddc4Srjs
207996c5ddc4Srjs        fputs(", ", fp);
208096c5ddc4Srjs        bi_print_index(fp, I->src[3]);
208196c5ddc4Srjs
208296c5ddc4Srjs
208396c5ddc4Srjs        break;
208496c5ddc4Srjs
208596c5ddc4Srjs    case BI_OPCODE_FMA_RSCALE_V2F16:
208696c5ddc4Srjs
208796c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
208896c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
208996c5ddc4Srjs        fputs(bi_special_as_str(I->special), fp);
209096c5ddc4Srjs
209196c5ddc4Srjs        fputs(" ", fp);
209296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
209396c5ddc4Srjs
209496c5ddc4Srjs
209596c5ddc4Srjs        fputs(", ", fp);
209696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
209796c5ddc4Srjs
209896c5ddc4Srjs
209996c5ddc4Srjs        fputs(", ", fp);
210096c5ddc4Srjs        bi_print_index(fp, I->src[2]);
210196c5ddc4Srjs
210296c5ddc4Srjs
210396c5ddc4Srjs        fputs(", ", fp);
210496c5ddc4Srjs        bi_print_index(fp, I->src[3]);
210596c5ddc4Srjs
210696c5ddc4Srjs
210796c5ddc4Srjs        break;
210896c5ddc4Srjs
210996c5ddc4Srjs    case BI_OPCODE_FMIN_F32:
211096c5ddc4Srjs
211196c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
211296c5ddc4Srjs        fputs(bi_sem_as_str(I->sem), fp);
211396c5ddc4Srjs
211496c5ddc4Srjs        fputs(" ", fp);
211596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
211696c5ddc4Srjs
211796c5ddc4Srjs
211896c5ddc4Srjs        fputs(", ", fp);
211996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
212096c5ddc4Srjs
212196c5ddc4Srjs
212296c5ddc4Srjs        break;
212396c5ddc4Srjs
212496c5ddc4Srjs    case BI_OPCODE_FMIN_V2F16:
212596c5ddc4Srjs
212696c5ddc4Srjs        fputs(bi_sem_as_str(I->sem), fp);
212796c5ddc4Srjs
212896c5ddc4Srjs        fputs(" ", fp);
212996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
213096c5ddc4Srjs
213196c5ddc4Srjs
213296c5ddc4Srjs        fputs(", ", fp);
213396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
213496c5ddc4Srjs
213596c5ddc4Srjs
213696c5ddc4Srjs        break;
213796c5ddc4Srjs
213896c5ddc4Srjs    case BI_OPCODE_FMUL_CSLICE:
213996c5ddc4Srjs
214096c5ddc4Srjs
214196c5ddc4Srjs        fputs(" ", fp);
214296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
214396c5ddc4Srjs
214496c5ddc4Srjs
214596c5ddc4Srjs        fputs(", ", fp);
214696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
214796c5ddc4Srjs
214896c5ddc4Srjs
214996c5ddc4Srjs        break;
215096c5ddc4Srjs
215196c5ddc4Srjs    case BI_OPCODE_FMUL_SLICE_F32:
215296c5ddc4Srjs
215396c5ddc4Srjs
215496c5ddc4Srjs        fputs(" ", fp);
215596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
215696c5ddc4Srjs
215796c5ddc4Srjs
215896c5ddc4Srjs        fputs(", ", fp);
215996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
216096c5ddc4Srjs
216196c5ddc4Srjs
216296c5ddc4Srjs        break;
216396c5ddc4Srjs
216496c5ddc4Srjs    case BI_OPCODE_FPCLASS_F16:
216596c5ddc4Srjs
216696c5ddc4Srjs
216796c5ddc4Srjs        fputs(" ", fp);
216896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
216996c5ddc4Srjs
217096c5ddc4Srjs
217196c5ddc4Srjs        break;
217296c5ddc4Srjs
217396c5ddc4Srjs    case BI_OPCODE_FPCLASS_F32:
217496c5ddc4Srjs
217596c5ddc4Srjs
217696c5ddc4Srjs        fputs(" ", fp);
217796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
217896c5ddc4Srjs
217996c5ddc4Srjs
218096c5ddc4Srjs        break;
218196c5ddc4Srjs
218296c5ddc4Srjs    case BI_OPCODE_FPOW_SC_APPLY:
218396c5ddc4Srjs
218496c5ddc4Srjs
218596c5ddc4Srjs        fputs(" ", fp);
218696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
218796c5ddc4Srjs
218896c5ddc4Srjs
218996c5ddc4Srjs        fputs(", ", fp);
219096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
219196c5ddc4Srjs
219296c5ddc4Srjs
219396c5ddc4Srjs        break;
219496c5ddc4Srjs
219596c5ddc4Srjs    case BI_OPCODE_FPOW_SC_DET_F16:
219696c5ddc4Srjs
219796c5ddc4Srjs        fputs(bi_func_as_str(I->func), fp);
219896c5ddc4Srjs
219996c5ddc4Srjs        fputs(" ", fp);
220096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
220196c5ddc4Srjs
220296c5ddc4Srjs
220396c5ddc4Srjs        fputs(", ", fp);
220496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
220596c5ddc4Srjs
220696c5ddc4Srjs
220796c5ddc4Srjs        break;
220896c5ddc4Srjs
220996c5ddc4Srjs    case BI_OPCODE_FPOW_SC_DET_F32:
221096c5ddc4Srjs
221196c5ddc4Srjs        fputs(bi_func_as_str(I->func), fp);
221296c5ddc4Srjs
221396c5ddc4Srjs        fputs(" ", fp);
221496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
221596c5ddc4Srjs
221696c5ddc4Srjs
221796c5ddc4Srjs        fputs(", ", fp);
221896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
221996c5ddc4Srjs
222096c5ddc4Srjs
222196c5ddc4Srjs        break;
222296c5ddc4Srjs
222396c5ddc4Srjs    case BI_OPCODE_FRCP_F16:
222496c5ddc4Srjs
222596c5ddc4Srjs        if (I->divzero) fputs(".divzero", fp);
222696c5ddc4Srjs
222796c5ddc4Srjs        fputs(" ", fp);
222896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
222996c5ddc4Srjs
223096c5ddc4Srjs
223196c5ddc4Srjs        break;
223296c5ddc4Srjs
223396c5ddc4Srjs    case BI_OPCODE_FRCP_F32:
223496c5ddc4Srjs
223596c5ddc4Srjs
223696c5ddc4Srjs        fputs(" ", fp);
223796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
223896c5ddc4Srjs
223996c5ddc4Srjs
224096c5ddc4Srjs        break;
224196c5ddc4Srjs
224296c5ddc4Srjs    case BI_OPCODE_FRCP_APPROX_F32:
224396c5ddc4Srjs
224496c5ddc4Srjs        if (I->divzero) fputs(".divzero", fp);
224596c5ddc4Srjs
224696c5ddc4Srjs        fputs(" ", fp);
224796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
224896c5ddc4Srjs
224996c5ddc4Srjs
225096c5ddc4Srjs        break;
225196c5ddc4Srjs
225296c5ddc4Srjs    case BI_OPCODE_FREXPE_F32:
225396c5ddc4Srjs
225496c5ddc4Srjs        if (I->sqrt) fputs(".sqrt", fp);
225596c5ddc4Srjs        if (I->log) fputs(".log", fp);
225696c5ddc4Srjs
225796c5ddc4Srjs        fputs(" ", fp);
225896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
225996c5ddc4Srjs
226096c5ddc4Srjs
226196c5ddc4Srjs        break;
226296c5ddc4Srjs
226396c5ddc4Srjs    case BI_OPCODE_FREXPE_V2F16:
226496c5ddc4Srjs
226596c5ddc4Srjs        if (I->sqrt) fputs(".sqrt", fp);
226696c5ddc4Srjs        if (I->log) fputs(".log", fp);
226796c5ddc4Srjs
226896c5ddc4Srjs        fputs(" ", fp);
226996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
227096c5ddc4Srjs
227196c5ddc4Srjs
227296c5ddc4Srjs        break;
227396c5ddc4Srjs
227496c5ddc4Srjs    case BI_OPCODE_FREXPM_F32:
227596c5ddc4Srjs
227696c5ddc4Srjs        if (I->sqrt) fputs(".sqrt", fp);
227796c5ddc4Srjs        if (I->log) fputs(".log", fp);
227896c5ddc4Srjs
227996c5ddc4Srjs        fputs(" ", fp);
228096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
228196c5ddc4Srjs
228296c5ddc4Srjs
228396c5ddc4Srjs        break;
228496c5ddc4Srjs
228596c5ddc4Srjs    case BI_OPCODE_FREXPM_V2F16:
228696c5ddc4Srjs
228796c5ddc4Srjs        if (I->sqrt) fputs(".sqrt", fp);
228896c5ddc4Srjs        if (I->log) fputs(".log", fp);
228996c5ddc4Srjs
229096c5ddc4Srjs        fputs(" ", fp);
229196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
229296c5ddc4Srjs
229396c5ddc4Srjs
229496c5ddc4Srjs        break;
229596c5ddc4Srjs
229696c5ddc4Srjs    case BI_OPCODE_FROUND_F32:
229796c5ddc4Srjs
229896c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
229996c5ddc4Srjs
230096c5ddc4Srjs        fputs(" ", fp);
230196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
230296c5ddc4Srjs
230396c5ddc4Srjs
230496c5ddc4Srjs        break;
230596c5ddc4Srjs
230696c5ddc4Srjs    case BI_OPCODE_FROUND_V2F16:
230796c5ddc4Srjs
230896c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
230996c5ddc4Srjs
231096c5ddc4Srjs        fputs(" ", fp);
231196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
231296c5ddc4Srjs
231396c5ddc4Srjs
231496c5ddc4Srjs        break;
231596c5ddc4Srjs
231696c5ddc4Srjs    case BI_OPCODE_FRSCALE_F32:
231796c5ddc4Srjs
231896c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
231996c5ddc4Srjs
232096c5ddc4Srjs        fputs(" ", fp);
232196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
232296c5ddc4Srjs
232396c5ddc4Srjs
232496c5ddc4Srjs        fputs(", ", fp);
232596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
232696c5ddc4Srjs
232796c5ddc4Srjs
232896c5ddc4Srjs        break;
232996c5ddc4Srjs
233096c5ddc4Srjs    case BI_OPCODE_FRSCALE_V2F16:
233196c5ddc4Srjs
233296c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
233396c5ddc4Srjs
233496c5ddc4Srjs        fputs(" ", fp);
233596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
233696c5ddc4Srjs
233796c5ddc4Srjs
233896c5ddc4Srjs        fputs(", ", fp);
233996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
234096c5ddc4Srjs
234196c5ddc4Srjs
234296c5ddc4Srjs        break;
234396c5ddc4Srjs
234496c5ddc4Srjs    case BI_OPCODE_FRSHIFT_DOUBLE_I32:
234596c5ddc4Srjs
234696c5ddc4Srjs
234796c5ddc4Srjs        fputs(" ", fp);
234896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
234996c5ddc4Srjs
235096c5ddc4Srjs
235196c5ddc4Srjs        fputs(", ", fp);
235296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
235396c5ddc4Srjs
235496c5ddc4Srjs
235596c5ddc4Srjs        fputs(", ", fp);
235696c5ddc4Srjs        bi_print_index(fp, I->src[2]);
235796c5ddc4Srjs
235896c5ddc4Srjs        if (I->bytes2) fputs(".bytes", fp);
235996c5ddc4Srjs
236096c5ddc4Srjs        break;
236196c5ddc4Srjs
236296c5ddc4Srjs    case BI_OPCODE_FRSQ_F16:
236396c5ddc4Srjs
236496c5ddc4Srjs        if (I->divzero) fputs(".divzero", fp);
236596c5ddc4Srjs
236696c5ddc4Srjs        fputs(" ", fp);
236796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
236896c5ddc4Srjs
236996c5ddc4Srjs
237096c5ddc4Srjs        break;
237196c5ddc4Srjs
237296c5ddc4Srjs    case BI_OPCODE_FRSQ_F32:
237396c5ddc4Srjs
237496c5ddc4Srjs
237596c5ddc4Srjs        fputs(" ", fp);
237696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
237796c5ddc4Srjs
237896c5ddc4Srjs
237996c5ddc4Srjs        break;
238096c5ddc4Srjs
238196c5ddc4Srjs    case BI_OPCODE_FRSQ_APPROX_F32:
238296c5ddc4Srjs
238396c5ddc4Srjs        if (I->divzero) fputs(".divzero", fp);
238496c5ddc4Srjs
238596c5ddc4Srjs        fputs(" ", fp);
238696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
238796c5ddc4Srjs
238896c5ddc4Srjs
238996c5ddc4Srjs        break;
239096c5ddc4Srjs
239196c5ddc4Srjs    case BI_OPCODE_FSINCOS_OFFSET_U6:
239296c5ddc4Srjs
239396c5ddc4Srjs        if (I->scale) fputs(".scale", fp);
239496c5ddc4Srjs
239596c5ddc4Srjs        fputs(" ", fp);
239696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
239796c5ddc4Srjs
239896c5ddc4Srjs
239996c5ddc4Srjs        break;
240096c5ddc4Srjs
240196c5ddc4Srjs    case BI_OPCODE_FSIN_TABLE_U6:
240296c5ddc4Srjs
240396c5ddc4Srjs        if (I->offset) fputs(".offset", fp);
240496c5ddc4Srjs
240596c5ddc4Srjs        fputs(" ", fp);
240696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
240796c5ddc4Srjs
240896c5ddc4Srjs
240996c5ddc4Srjs        break;
241096c5ddc4Srjs
241196c5ddc4Srjs    case BI_OPCODE_HADD_S32:
241296c5ddc4Srjs
241396c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
241496c5ddc4Srjs
241596c5ddc4Srjs        fputs(" ", fp);
241696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
241796c5ddc4Srjs
241896c5ddc4Srjs
241996c5ddc4Srjs        fputs(", ", fp);
242096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
242196c5ddc4Srjs
242296c5ddc4Srjs
242396c5ddc4Srjs        break;
242496c5ddc4Srjs
242596c5ddc4Srjs    case BI_OPCODE_HADD_U32:
242696c5ddc4Srjs
242796c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
242896c5ddc4Srjs
242996c5ddc4Srjs        fputs(" ", fp);
243096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
243196c5ddc4Srjs
243296c5ddc4Srjs
243396c5ddc4Srjs        fputs(", ", fp);
243496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
243596c5ddc4Srjs
243696c5ddc4Srjs
243796c5ddc4Srjs        break;
243896c5ddc4Srjs
243996c5ddc4Srjs    case BI_OPCODE_HADD_V2S16:
244096c5ddc4Srjs
244196c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
244296c5ddc4Srjs
244396c5ddc4Srjs        fputs(" ", fp);
244496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
244596c5ddc4Srjs
244696c5ddc4Srjs
244796c5ddc4Srjs        fputs(", ", fp);
244896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
244996c5ddc4Srjs
245096c5ddc4Srjs
245196c5ddc4Srjs        break;
245296c5ddc4Srjs
245396c5ddc4Srjs    case BI_OPCODE_HADD_V2U16:
245496c5ddc4Srjs
245596c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
245696c5ddc4Srjs
245796c5ddc4Srjs        fputs(" ", fp);
245896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
245996c5ddc4Srjs
246096c5ddc4Srjs
246196c5ddc4Srjs        fputs(", ", fp);
246296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
246396c5ddc4Srjs
246496c5ddc4Srjs
246596c5ddc4Srjs        break;
246696c5ddc4Srjs
246796c5ddc4Srjs    case BI_OPCODE_HADD_V4S8:
246896c5ddc4Srjs
246996c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
247096c5ddc4Srjs
247196c5ddc4Srjs        fputs(" ", fp);
247296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
247396c5ddc4Srjs
247496c5ddc4Srjs
247596c5ddc4Srjs        fputs(", ", fp);
247696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
247796c5ddc4Srjs
247896c5ddc4Srjs
247996c5ddc4Srjs        break;
248096c5ddc4Srjs
248196c5ddc4Srjs    case BI_OPCODE_HADD_V4U8:
248296c5ddc4Srjs
248396c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
248496c5ddc4Srjs
248596c5ddc4Srjs        fputs(" ", fp);
248696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
248796c5ddc4Srjs
248896c5ddc4Srjs
248996c5ddc4Srjs        fputs(", ", fp);
249096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
249196c5ddc4Srjs
249296c5ddc4Srjs
249396c5ddc4Srjs        break;
249496c5ddc4Srjs
249596c5ddc4Srjs    case BI_OPCODE_IABS_S32:
249696c5ddc4Srjs
249796c5ddc4Srjs
249896c5ddc4Srjs        fputs(" ", fp);
249996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
250096c5ddc4Srjs
250196c5ddc4Srjs
250296c5ddc4Srjs        break;
250396c5ddc4Srjs
250496c5ddc4Srjs    case BI_OPCODE_IABS_V2S16:
250596c5ddc4Srjs
250696c5ddc4Srjs
250796c5ddc4Srjs        fputs(" ", fp);
250896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
250996c5ddc4Srjs
251096c5ddc4Srjs
251196c5ddc4Srjs        break;
251296c5ddc4Srjs
251396c5ddc4Srjs    case BI_OPCODE_IABS_V4S8:
251496c5ddc4Srjs
251596c5ddc4Srjs
251696c5ddc4Srjs        fputs(" ", fp);
251796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
251896c5ddc4Srjs
251996c5ddc4Srjs
252096c5ddc4Srjs        break;
252196c5ddc4Srjs
252296c5ddc4Srjs    case BI_OPCODE_IADD_S32:
252396c5ddc4Srjs
252496c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
252596c5ddc4Srjs
252696c5ddc4Srjs        fputs(" ", fp);
252796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
252896c5ddc4Srjs
252996c5ddc4Srjs
253096c5ddc4Srjs        fputs(", ", fp);
253196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
253296c5ddc4Srjs
253396c5ddc4Srjs
253496c5ddc4Srjs        break;
253596c5ddc4Srjs
253696c5ddc4Srjs    case BI_OPCODE_IADD_U32:
253796c5ddc4Srjs
253896c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
253996c5ddc4Srjs
254096c5ddc4Srjs        fputs(" ", fp);
254196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
254296c5ddc4Srjs
254396c5ddc4Srjs
254496c5ddc4Srjs        fputs(", ", fp);
254596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
254696c5ddc4Srjs
254796c5ddc4Srjs
254896c5ddc4Srjs        break;
254996c5ddc4Srjs
255096c5ddc4Srjs    case BI_OPCODE_IADD_V2S16:
255196c5ddc4Srjs
255296c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
255396c5ddc4Srjs
255496c5ddc4Srjs        fputs(" ", fp);
255596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
255696c5ddc4Srjs
255796c5ddc4Srjs
255896c5ddc4Srjs        fputs(", ", fp);
255996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
256096c5ddc4Srjs
256196c5ddc4Srjs
256296c5ddc4Srjs        break;
256396c5ddc4Srjs
256496c5ddc4Srjs    case BI_OPCODE_IADD_V2U16:
256596c5ddc4Srjs
256696c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
256796c5ddc4Srjs
256896c5ddc4Srjs        fputs(" ", fp);
256996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
257096c5ddc4Srjs
257196c5ddc4Srjs
257296c5ddc4Srjs        fputs(", ", fp);
257396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
257496c5ddc4Srjs
257596c5ddc4Srjs
257696c5ddc4Srjs        break;
257796c5ddc4Srjs
257896c5ddc4Srjs    case BI_OPCODE_IADD_V4S8:
257996c5ddc4Srjs
258096c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
258196c5ddc4Srjs
258296c5ddc4Srjs        fputs(" ", fp);
258396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
258496c5ddc4Srjs
258596c5ddc4Srjs
258696c5ddc4Srjs        fputs(", ", fp);
258796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
258896c5ddc4Srjs
258996c5ddc4Srjs
259096c5ddc4Srjs        break;
259196c5ddc4Srjs
259296c5ddc4Srjs    case BI_OPCODE_IADD_V4U8:
259396c5ddc4Srjs
259496c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
259596c5ddc4Srjs
259696c5ddc4Srjs        fputs(" ", fp);
259796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
259896c5ddc4Srjs
259996c5ddc4Srjs
260096c5ddc4Srjs        fputs(", ", fp);
260196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
260296c5ddc4Srjs
260396c5ddc4Srjs
260496c5ddc4Srjs        break;
260596c5ddc4Srjs
260696c5ddc4Srjs    case BI_OPCODE_IADDC_I32:
260796c5ddc4Srjs
260896c5ddc4Srjs
260996c5ddc4Srjs        fputs(" ", fp);
261096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
261196c5ddc4Srjs
261296c5ddc4Srjs
261396c5ddc4Srjs        fputs(", ", fp);
261496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
261596c5ddc4Srjs
261696c5ddc4Srjs
261796c5ddc4Srjs        fputs(", ", fp);
261896c5ddc4Srjs        bi_print_index(fp, I->src[2]);
261996c5ddc4Srjs
262096c5ddc4Srjs
262196c5ddc4Srjs        break;
262296c5ddc4Srjs
262396c5ddc4Srjs    case BI_OPCODE_IADD_IMM_I32:
262496c5ddc4Srjs
262596c5ddc4Srjs
262696c5ddc4Srjs        fputs(" ", fp);
262796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
262896c5ddc4Srjs
262996c5ddc4Srjs
263096c5ddc4Srjs        fprintf(fp, ", index:%u", I->index);
263196c5ddc4Srjs        break;
263296c5ddc4Srjs
263396c5ddc4Srjs    case BI_OPCODE_IADD_IMM_V2I16:
263496c5ddc4Srjs
263596c5ddc4Srjs
263696c5ddc4Srjs        fputs(" ", fp);
263796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
263896c5ddc4Srjs
263996c5ddc4Srjs
264096c5ddc4Srjs        fprintf(fp, ", index:%u", I->index);
264196c5ddc4Srjs        break;
264296c5ddc4Srjs
264396c5ddc4Srjs    case BI_OPCODE_IADD_IMM_V4I8:
264496c5ddc4Srjs
264596c5ddc4Srjs
264696c5ddc4Srjs        fputs(" ", fp);
264796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
264896c5ddc4Srjs
264996c5ddc4Srjs
265096c5ddc4Srjs        fprintf(fp, ", index:%u", I->index);
265196c5ddc4Srjs        break;
265296c5ddc4Srjs
265396c5ddc4Srjs    case BI_OPCODE_ICMP_I32:
265496c5ddc4Srjs
265596c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
265696c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
265796c5ddc4Srjs
265896c5ddc4Srjs        fputs(" ", fp);
265996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
266096c5ddc4Srjs
266196c5ddc4Srjs
266296c5ddc4Srjs        fputs(", ", fp);
266396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
266496c5ddc4Srjs
266596c5ddc4Srjs
266696c5ddc4Srjs        break;
266796c5ddc4Srjs
266896c5ddc4Srjs    case BI_OPCODE_ICMP_S32:
266996c5ddc4Srjs
267096c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
267196c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
267296c5ddc4Srjs
267396c5ddc4Srjs        fputs(" ", fp);
267496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
267596c5ddc4Srjs
267696c5ddc4Srjs
267796c5ddc4Srjs        fputs(", ", fp);
267896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
267996c5ddc4Srjs
268096c5ddc4Srjs
268196c5ddc4Srjs        break;
268296c5ddc4Srjs
268396c5ddc4Srjs    case BI_OPCODE_ICMP_U32:
268496c5ddc4Srjs
268596c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
268696c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
268796c5ddc4Srjs
268896c5ddc4Srjs        fputs(" ", fp);
268996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
269096c5ddc4Srjs
269196c5ddc4Srjs
269296c5ddc4Srjs        fputs(", ", fp);
269396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
269496c5ddc4Srjs
269596c5ddc4Srjs
269696c5ddc4Srjs        break;
269796c5ddc4Srjs
269896c5ddc4Srjs    case BI_OPCODE_ICMP_V2I16:
269996c5ddc4Srjs
270096c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
270196c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
270296c5ddc4Srjs
270396c5ddc4Srjs        fputs(" ", fp);
270496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
270596c5ddc4Srjs
270696c5ddc4Srjs
270796c5ddc4Srjs        fputs(", ", fp);
270896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
270996c5ddc4Srjs
271096c5ddc4Srjs
271196c5ddc4Srjs        break;
271296c5ddc4Srjs
271396c5ddc4Srjs    case BI_OPCODE_ICMP_V2S16:
271496c5ddc4Srjs
271596c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
271696c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
271796c5ddc4Srjs
271896c5ddc4Srjs        fputs(" ", fp);
271996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
272096c5ddc4Srjs
272196c5ddc4Srjs
272296c5ddc4Srjs        fputs(", ", fp);
272396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
272496c5ddc4Srjs
272596c5ddc4Srjs
272696c5ddc4Srjs        break;
272796c5ddc4Srjs
272896c5ddc4Srjs    case BI_OPCODE_ICMP_V2U16:
272996c5ddc4Srjs
273096c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
273196c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
273296c5ddc4Srjs
273396c5ddc4Srjs        fputs(" ", fp);
273496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
273596c5ddc4Srjs
273696c5ddc4Srjs
273796c5ddc4Srjs        fputs(", ", fp);
273896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
273996c5ddc4Srjs
274096c5ddc4Srjs
274196c5ddc4Srjs        break;
274296c5ddc4Srjs
274396c5ddc4Srjs    case BI_OPCODE_ICMP_V4I8:
274496c5ddc4Srjs
274596c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
274696c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
274796c5ddc4Srjs
274896c5ddc4Srjs        fputs(" ", fp);
274996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
275096c5ddc4Srjs
275196c5ddc4Srjs
275296c5ddc4Srjs        fputs(", ", fp);
275396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
275496c5ddc4Srjs
275596c5ddc4Srjs
275696c5ddc4Srjs        break;
275796c5ddc4Srjs
275896c5ddc4Srjs    case BI_OPCODE_ICMP_V4S8:
275996c5ddc4Srjs
276096c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
276196c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
276296c5ddc4Srjs
276396c5ddc4Srjs        fputs(" ", fp);
276496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
276596c5ddc4Srjs
276696c5ddc4Srjs
276796c5ddc4Srjs        fputs(", ", fp);
276896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
276996c5ddc4Srjs
277096c5ddc4Srjs
277196c5ddc4Srjs        break;
277296c5ddc4Srjs
277396c5ddc4Srjs    case BI_OPCODE_ICMP_V4U8:
277496c5ddc4Srjs
277596c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
277696c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
277796c5ddc4Srjs
277896c5ddc4Srjs        fputs(" ", fp);
277996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
278096c5ddc4Srjs
278196c5ddc4Srjs
278296c5ddc4Srjs        fputs(", ", fp);
278396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
278496c5ddc4Srjs
278596c5ddc4Srjs
278696c5ddc4Srjs        break;
278796c5ddc4Srjs
278896c5ddc4Srjs    case BI_OPCODE_ICMPF_I32:
278996c5ddc4Srjs
279096c5ddc4Srjs
279196c5ddc4Srjs        fputs(" ", fp);
279296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
279396c5ddc4Srjs
279496c5ddc4Srjs
279596c5ddc4Srjs        fputs(", ", fp);
279696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
279796c5ddc4Srjs
279896c5ddc4Srjs
279996c5ddc4Srjs        fputs(", ", fp);
280096c5ddc4Srjs        bi_print_index(fp, I->src[2]);
280196c5ddc4Srjs
280296c5ddc4Srjs
280396c5ddc4Srjs        break;
280496c5ddc4Srjs
280596c5ddc4Srjs    case BI_OPCODE_ICMPI_I32:
280696c5ddc4Srjs
280796c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
280896c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
280996c5ddc4Srjs
281096c5ddc4Srjs        fputs(" ", fp);
281196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
281296c5ddc4Srjs
281396c5ddc4Srjs
281496c5ddc4Srjs        fputs(", ", fp);
281596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
281696c5ddc4Srjs
281796c5ddc4Srjs
281896c5ddc4Srjs        break;
281996c5ddc4Srjs
282096c5ddc4Srjs    case BI_OPCODE_ICMPI_S32:
282196c5ddc4Srjs
282296c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
282396c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
282496c5ddc4Srjs
282596c5ddc4Srjs        fputs(" ", fp);
282696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
282796c5ddc4Srjs
282896c5ddc4Srjs
282996c5ddc4Srjs        fputs(", ", fp);
283096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
283196c5ddc4Srjs
283296c5ddc4Srjs
283396c5ddc4Srjs        break;
283496c5ddc4Srjs
283596c5ddc4Srjs    case BI_OPCODE_ICMPI_U32:
283696c5ddc4Srjs
283796c5ddc4Srjs        fputs(bi_result_type_as_str(I->result_type), fp);
283896c5ddc4Srjs        fputs(bi_cmpf_as_str(I->cmpf), fp);
283996c5ddc4Srjs
284096c5ddc4Srjs        fputs(" ", fp);
284196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
284296c5ddc4Srjs
284396c5ddc4Srjs
284496c5ddc4Srjs        fputs(", ", fp);
284596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
284696c5ddc4Srjs
284796c5ddc4Srjs
284896c5ddc4Srjs        break;
284996c5ddc4Srjs
285096c5ddc4Srjs    case BI_OPCODE_ICMPM_I32:
285196c5ddc4Srjs
285296c5ddc4Srjs
285396c5ddc4Srjs        fputs(" ", fp);
285496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
285596c5ddc4Srjs
285696c5ddc4Srjs
285796c5ddc4Srjs        fputs(", ", fp);
285896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
285996c5ddc4Srjs
286096c5ddc4Srjs
286196c5ddc4Srjs        fputs(", ", fp);
286296c5ddc4Srjs        bi_print_index(fp, I->src[2]);
286396c5ddc4Srjs
286496c5ddc4Srjs
286596c5ddc4Srjs        break;
286696c5ddc4Srjs
286796c5ddc4Srjs    case BI_OPCODE_IDP_V4I8:
286896c5ddc4Srjs
286996c5ddc4Srjs
287096c5ddc4Srjs        fputs(" ", fp);
287196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
287296c5ddc4Srjs
287396c5ddc4Srjs
287496c5ddc4Srjs        fputs(", ", fp);
287596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
287696c5ddc4Srjs
287796c5ddc4Srjs
287896c5ddc4Srjs        break;
287996c5ddc4Srjs
288096c5ddc4Srjs    case BI_OPCODE_ILOGB_F32:
288196c5ddc4Srjs
288296c5ddc4Srjs
288396c5ddc4Srjs        fputs(" ", fp);
288496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
288596c5ddc4Srjs
288696c5ddc4Srjs
288796c5ddc4Srjs        break;
288896c5ddc4Srjs
288996c5ddc4Srjs    case BI_OPCODE_ILOGB_V2F16:
289096c5ddc4Srjs
289196c5ddc4Srjs
289296c5ddc4Srjs        fputs(" ", fp);
289396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
289496c5ddc4Srjs
289596c5ddc4Srjs
289696c5ddc4Srjs        break;
289796c5ddc4Srjs
289896c5ddc4Srjs    case BI_OPCODE_IMOV_FMA:
289996c5ddc4Srjs
290096c5ddc4Srjs        if (I->threads) fputs(".threads", fp);
290196c5ddc4Srjs
290296c5ddc4Srjs        fputs(" ", fp);
290396c5ddc4Srjs        break;
290496c5ddc4Srjs
290596c5ddc4Srjs    case BI_OPCODE_IMUL_I32:
290696c5ddc4Srjs
290796c5ddc4Srjs        fputs(bi_extend_as_str(I->extend), fp);
290896c5ddc4Srjs
290996c5ddc4Srjs        fputs(" ", fp);
291096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
291196c5ddc4Srjs
291296c5ddc4Srjs
291396c5ddc4Srjs        fputs(", ", fp);
291496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
291596c5ddc4Srjs
291696c5ddc4Srjs
291796c5ddc4Srjs        break;
291896c5ddc4Srjs
291996c5ddc4Srjs    case BI_OPCODE_IMUL_V2I16:
292096c5ddc4Srjs
292196c5ddc4Srjs
292296c5ddc4Srjs        fputs(" ", fp);
292396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
292496c5ddc4Srjs
292596c5ddc4Srjs
292696c5ddc4Srjs        fputs(", ", fp);
292796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
292896c5ddc4Srjs
292996c5ddc4Srjs
293096c5ddc4Srjs        break;
293196c5ddc4Srjs
293296c5ddc4Srjs    case BI_OPCODE_IMUL_V4I8:
293396c5ddc4Srjs
293496c5ddc4Srjs
293596c5ddc4Srjs        fputs(" ", fp);
293696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
293796c5ddc4Srjs
293896c5ddc4Srjs
293996c5ddc4Srjs        fputs(", ", fp);
294096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
294196c5ddc4Srjs
294296c5ddc4Srjs
294396c5ddc4Srjs        break;
294496c5ddc4Srjs
294596c5ddc4Srjs    case BI_OPCODE_IMULD:
294696c5ddc4Srjs
294796c5ddc4Srjs        if (I->threads) fputs(".threads", fp);
294896c5ddc4Srjs
294996c5ddc4Srjs        fputs(" ", fp);
295096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
295196c5ddc4Srjs
295296c5ddc4Srjs
295396c5ddc4Srjs        fputs(", ", fp);
295496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
295596c5ddc4Srjs
295696c5ddc4Srjs
295796c5ddc4Srjs        break;
295896c5ddc4Srjs
295996c5ddc4Srjs    case BI_OPCODE_ISUB_S32:
296096c5ddc4Srjs
296196c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
296296c5ddc4Srjs
296396c5ddc4Srjs        fputs(" ", fp);
296496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
296596c5ddc4Srjs
296696c5ddc4Srjs
296796c5ddc4Srjs        fputs(", ", fp);
296896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
296996c5ddc4Srjs
297096c5ddc4Srjs
297196c5ddc4Srjs        break;
297296c5ddc4Srjs
297396c5ddc4Srjs    case BI_OPCODE_ISUB_U32:
297496c5ddc4Srjs
297596c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
297696c5ddc4Srjs
297796c5ddc4Srjs        fputs(" ", fp);
297896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
297996c5ddc4Srjs
298096c5ddc4Srjs
298196c5ddc4Srjs        fputs(", ", fp);
298296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
298396c5ddc4Srjs
298496c5ddc4Srjs
298596c5ddc4Srjs        break;
298696c5ddc4Srjs
298796c5ddc4Srjs    case BI_OPCODE_ISUB_V2S16:
298896c5ddc4Srjs
298996c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
299096c5ddc4Srjs
299196c5ddc4Srjs        fputs(" ", fp);
299296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
299396c5ddc4Srjs
299496c5ddc4Srjs
299596c5ddc4Srjs        fputs(", ", fp);
299696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
299796c5ddc4Srjs
299896c5ddc4Srjs
299996c5ddc4Srjs        break;
300096c5ddc4Srjs
300196c5ddc4Srjs    case BI_OPCODE_ISUB_V2U16:
300296c5ddc4Srjs
300396c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
300496c5ddc4Srjs
300596c5ddc4Srjs        fputs(" ", fp);
300696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
300796c5ddc4Srjs
300896c5ddc4Srjs
300996c5ddc4Srjs        fputs(", ", fp);
301096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
301196c5ddc4Srjs
301296c5ddc4Srjs
301396c5ddc4Srjs        break;
301496c5ddc4Srjs
301596c5ddc4Srjs    case BI_OPCODE_ISUB_V4S8:
301696c5ddc4Srjs
301796c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
301896c5ddc4Srjs
301996c5ddc4Srjs        fputs(" ", fp);
302096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
302196c5ddc4Srjs
302296c5ddc4Srjs
302396c5ddc4Srjs        fputs(", ", fp);
302496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
302596c5ddc4Srjs
302696c5ddc4Srjs
302796c5ddc4Srjs        break;
302896c5ddc4Srjs
302996c5ddc4Srjs    case BI_OPCODE_ISUB_V4U8:
303096c5ddc4Srjs
303196c5ddc4Srjs        if (I->saturate) fputs(".saturate", fp);
303296c5ddc4Srjs
303396c5ddc4Srjs        fputs(" ", fp);
303496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
303596c5ddc4Srjs
303696c5ddc4Srjs
303796c5ddc4Srjs        fputs(", ", fp);
303896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
303996c5ddc4Srjs
304096c5ddc4Srjs
304196c5ddc4Srjs        break;
304296c5ddc4Srjs
304396c5ddc4Srjs    case BI_OPCODE_ISUBB_I32:
304496c5ddc4Srjs
304596c5ddc4Srjs
304696c5ddc4Srjs        fputs(" ", fp);
304796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
304896c5ddc4Srjs
304996c5ddc4Srjs
305096c5ddc4Srjs        fputs(", ", fp);
305196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
305296c5ddc4Srjs
305396c5ddc4Srjs
305496c5ddc4Srjs        fputs(", ", fp);
305596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
305696c5ddc4Srjs
305796c5ddc4Srjs
305896c5ddc4Srjs        break;
305996c5ddc4Srjs
306096c5ddc4Srjs    case BI_OPCODE_JUMP:
306196c5ddc4Srjs
306296c5ddc4Srjs
306396c5ddc4Srjs        fputs(" ", fp);
306496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
306596c5ddc4Srjs
306696c5ddc4Srjs
306796c5ddc4Srjs        break;
306896c5ddc4Srjs
306996c5ddc4Srjs    case BI_OPCODE_JUMP_EX:
307096c5ddc4Srjs
307196c5ddc4Srjs        if (I->test_mode) fputs(".test_mode", fp);
307296c5ddc4Srjs        fputs(bi_stack_mode_as_str(I->stack_mode), fp);
307396c5ddc4Srjs
307496c5ddc4Srjs        fputs(" ", fp);
307596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
307696c5ddc4Srjs
307796c5ddc4Srjs
307896c5ddc4Srjs        fputs(", ", fp);
307996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
308096c5ddc4Srjs
308196c5ddc4Srjs
308296c5ddc4Srjs        fputs(", ", fp);
308396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
308496c5ddc4Srjs
308596c5ddc4Srjs
308696c5ddc4Srjs        break;
308796c5ddc4Srjs
308896c5ddc4Srjs    case BI_OPCODE_LDEXP_F32:
308996c5ddc4Srjs
309096c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
309196c5ddc4Srjs
309296c5ddc4Srjs        fputs(" ", fp);
309396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
309496c5ddc4Srjs
309596c5ddc4Srjs
309696c5ddc4Srjs        fputs(", ", fp);
309796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
309896c5ddc4Srjs
309996c5ddc4Srjs
310096c5ddc4Srjs        break;
310196c5ddc4Srjs
310296c5ddc4Srjs    case BI_OPCODE_LDEXP_V2F16:
310396c5ddc4Srjs
310496c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
310596c5ddc4Srjs
310696c5ddc4Srjs        fputs(" ", fp);
310796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
310896c5ddc4Srjs
310996c5ddc4Srjs
311096c5ddc4Srjs        fputs(", ", fp);
311196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
311296c5ddc4Srjs
311396c5ddc4Srjs
311496c5ddc4Srjs        break;
311596c5ddc4Srjs
311696c5ddc4Srjs    case BI_OPCODE_LD_ATTR:
311796c5ddc4Srjs
311896c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
311996c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
312096c5ddc4Srjs
312196c5ddc4Srjs        fputs(" ", fp);
312296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
312396c5ddc4Srjs
312496c5ddc4Srjs
312596c5ddc4Srjs        fputs(", ", fp);
312696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
312796c5ddc4Srjs
312896c5ddc4Srjs
312996c5ddc4Srjs        fputs(", ", fp);
313096c5ddc4Srjs        bi_print_index(fp, I->src[2]);
313196c5ddc4Srjs
313296c5ddc4Srjs
313396c5ddc4Srjs        break;
313496c5ddc4Srjs
313596c5ddc4Srjs    case BI_OPCODE_LD_ATTR_IMM:
313696c5ddc4Srjs
313796c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
313896c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
313996c5ddc4Srjs
314096c5ddc4Srjs        fputs(" ", fp);
314196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
314296c5ddc4Srjs
314396c5ddc4Srjs
314496c5ddc4Srjs        fputs(", ", fp);
314596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
314696c5ddc4Srjs
314796c5ddc4Srjs
314896c5ddc4Srjs        fprintf(fp, ", attribute_index:%u", I->attribute_index);
314996c5ddc4Srjs        break;
315096c5ddc4Srjs
315196c5ddc4Srjs    case BI_OPCODE_LD_ATTR_TEX:
315296c5ddc4Srjs
315396c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
315496c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
315596c5ddc4Srjs
315696c5ddc4Srjs        fputs(" ", fp);
315796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
315896c5ddc4Srjs
315996c5ddc4Srjs
316096c5ddc4Srjs        fputs(", ", fp);
316196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
316296c5ddc4Srjs
316396c5ddc4Srjs
316496c5ddc4Srjs        fputs(", ", fp);
316596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
316696c5ddc4Srjs
316796c5ddc4Srjs
316896c5ddc4Srjs        break;
316996c5ddc4Srjs
317096c5ddc4Srjs    case BI_OPCODE_LD_CVT:
317196c5ddc4Srjs
317296c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
317396c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
317496c5ddc4Srjs
317596c5ddc4Srjs        fputs(" ", fp);
317696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
317796c5ddc4Srjs
317896c5ddc4Srjs
317996c5ddc4Srjs        fputs(", ", fp);
318096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
318196c5ddc4Srjs
318296c5ddc4Srjs
318396c5ddc4Srjs        fputs(", ", fp);
318496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
318596c5ddc4Srjs
318696c5ddc4Srjs
318796c5ddc4Srjs        break;
318896c5ddc4Srjs
318996c5ddc4Srjs    case BI_OPCODE_LD_GCLK_U64:
319096c5ddc4Srjs
319196c5ddc4Srjs        fputs(bi_source_as_str(I->source), fp);
319296c5ddc4Srjs
319396c5ddc4Srjs        fputs(" ", fp);
319496c5ddc4Srjs        break;
319596c5ddc4Srjs
319696c5ddc4Srjs    case BI_OPCODE_LD_TILE:
319796c5ddc4Srjs
319896c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
319996c5ddc4Srjs
320096c5ddc4Srjs        fputs(" ", fp);
320196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
320296c5ddc4Srjs
320396c5ddc4Srjs
320496c5ddc4Srjs        fputs(", ", fp);
320596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
320696c5ddc4Srjs
320796c5ddc4Srjs
320896c5ddc4Srjs        fputs(", ", fp);
320996c5ddc4Srjs        bi_print_index(fp, I->src[2]);
321096c5ddc4Srjs
321196c5ddc4Srjs
321296c5ddc4Srjs        break;
321396c5ddc4Srjs
321496c5ddc4Srjs    case BI_OPCODE_LD_VAR:
321596c5ddc4Srjs
321696c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
321796c5ddc4Srjs        fputs(bi_update_as_str(I->update), fp);
321896c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
321996c5ddc4Srjs        fputs(bi_sample_as_str(I->sample), fp);
322096c5ddc4Srjs
322196c5ddc4Srjs        fputs(" ", fp);
322296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
322396c5ddc4Srjs
322496c5ddc4Srjs
322596c5ddc4Srjs        fputs(", ", fp);
322696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
322796c5ddc4Srjs
322896c5ddc4Srjs
322996c5ddc4Srjs        break;
323096c5ddc4Srjs
323196c5ddc4Srjs    case BI_OPCODE_LD_VAR_FLAT:
323296c5ddc4Srjs
323396c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
323496c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
323596c5ddc4Srjs        fputs(bi_function_as_str(I->function), fp);
323696c5ddc4Srjs
323796c5ddc4Srjs        fputs(" ", fp);
323896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
323996c5ddc4Srjs
324096c5ddc4Srjs
324196c5ddc4Srjs        break;
324296c5ddc4Srjs
324396c5ddc4Srjs    case BI_OPCODE_LD_VAR_FLAT_IMM:
324496c5ddc4Srjs
324596c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
324696c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
324796c5ddc4Srjs        fputs(bi_function_as_str(I->function), fp);
324896c5ddc4Srjs
324996c5ddc4Srjs        fputs(" ", fp);
325096c5ddc4Srjs        fprintf(fp, ", index:%u", I->index);
325196c5ddc4Srjs        break;
325296c5ddc4Srjs
325396c5ddc4Srjs    case BI_OPCODE_LD_VAR_IMM:
325496c5ddc4Srjs
325596c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
325696c5ddc4Srjs        fputs(bi_update_as_str(I->update), fp);
325796c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
325896c5ddc4Srjs        fputs(bi_sample_as_str(I->sample), fp);
325996c5ddc4Srjs
326096c5ddc4Srjs        fputs(" ", fp);
326196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
326296c5ddc4Srjs
326396c5ddc4Srjs
326496c5ddc4Srjs        fprintf(fp, ", index:%u", I->index);
326596c5ddc4Srjs        break;
326696c5ddc4Srjs
326796c5ddc4Srjs    case BI_OPCODE_LD_VAR_SPECIAL:
326896c5ddc4Srjs
326996c5ddc4Srjs        fputs(bi_varying_name_as_str(I->varying_name), fp);
327096c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
327196c5ddc4Srjs        fputs(bi_update_as_str(I->update), fp);
327296c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
327396c5ddc4Srjs        fputs(bi_sample_as_str(I->sample), fp);
327496c5ddc4Srjs
327596c5ddc4Srjs        fputs(" ", fp);
327696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
327796c5ddc4Srjs
327896c5ddc4Srjs
327996c5ddc4Srjs        break;
328096c5ddc4Srjs
328196c5ddc4Srjs    case BI_OPCODE_LEA_ATTR:
328296c5ddc4Srjs
328396c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
328496c5ddc4Srjs
328596c5ddc4Srjs        fputs(" ", fp);
328696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
328796c5ddc4Srjs
328896c5ddc4Srjs
328996c5ddc4Srjs        fputs(", ", fp);
329096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
329196c5ddc4Srjs
329296c5ddc4Srjs
329396c5ddc4Srjs        fputs(", ", fp);
329496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
329596c5ddc4Srjs
329696c5ddc4Srjs
329796c5ddc4Srjs        break;
329896c5ddc4Srjs
329996c5ddc4Srjs    case BI_OPCODE_LEA_ATTR_IMM:
330096c5ddc4Srjs
330196c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
330296c5ddc4Srjs
330396c5ddc4Srjs        fputs(" ", fp);
330496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
330596c5ddc4Srjs
330696c5ddc4Srjs
330796c5ddc4Srjs        fputs(", ", fp);
330896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
330996c5ddc4Srjs
331096c5ddc4Srjs
331196c5ddc4Srjs        fprintf(fp, ", attribute_index:%u", I->attribute_index);
331296c5ddc4Srjs        break;
331396c5ddc4Srjs
331496c5ddc4Srjs    case BI_OPCODE_LEA_ATTR_TEX:
331596c5ddc4Srjs
331696c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
331796c5ddc4Srjs
331896c5ddc4Srjs        fputs(" ", fp);
331996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
332096c5ddc4Srjs
332196c5ddc4Srjs
332296c5ddc4Srjs        fputs(", ", fp);
332396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
332496c5ddc4Srjs
332596c5ddc4Srjs
332696c5ddc4Srjs        fputs(", ", fp);
332796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
332896c5ddc4Srjs
332996c5ddc4Srjs
333096c5ddc4Srjs        break;
333196c5ddc4Srjs
333296c5ddc4Srjs    case BI_OPCODE_LEA_TEX:
333396c5ddc4Srjs
333496c5ddc4Srjs        if (I->format) fputs(".format", fp);
333596c5ddc4Srjs
333696c5ddc4Srjs        fputs(" ", fp);
333796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
333896c5ddc4Srjs
333996c5ddc4Srjs
334096c5ddc4Srjs        fputs(", ", fp);
334196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
334296c5ddc4Srjs
334396c5ddc4Srjs
334496c5ddc4Srjs        fputs(", ", fp);
334596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
334696c5ddc4Srjs
334796c5ddc4Srjs
334896c5ddc4Srjs        break;
334996c5ddc4Srjs
335096c5ddc4Srjs    case BI_OPCODE_LEA_TEX_IMM:
335196c5ddc4Srjs
335296c5ddc4Srjs        if (I->format) fputs(".format", fp);
335396c5ddc4Srjs
335496c5ddc4Srjs        fputs(" ", fp);
335596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
335696c5ddc4Srjs
335796c5ddc4Srjs
335896c5ddc4Srjs        fputs(", ", fp);
335996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
336096c5ddc4Srjs
336196c5ddc4Srjs
336296c5ddc4Srjs        fprintf(fp, ", texture_index:%u", I->texture_index);
336396c5ddc4Srjs        break;
336496c5ddc4Srjs
336596c5ddc4Srjs    case BI_OPCODE_LOAD_I128:
336696c5ddc4Srjs
336796c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
336896c5ddc4Srjs
336996c5ddc4Srjs        fputs(" ", fp);
337096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
337196c5ddc4Srjs
337296c5ddc4Srjs
337396c5ddc4Srjs        fputs(", ", fp);
337496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
337596c5ddc4Srjs
337696c5ddc4Srjs
337796c5ddc4Srjs        break;
337896c5ddc4Srjs
337996c5ddc4Srjs    case BI_OPCODE_LOAD_I16:
338096c5ddc4Srjs
338196c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
338296c5ddc4Srjs        fputs(bi_extend_as_str(I->extend), fp);
338396c5ddc4Srjs
338496c5ddc4Srjs        fputs(" ", fp);
338596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
338696c5ddc4Srjs
338796c5ddc4Srjs
338896c5ddc4Srjs        fputs(", ", fp);
338996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
339096c5ddc4Srjs
339196c5ddc4Srjs
339296c5ddc4Srjs        break;
339396c5ddc4Srjs
339496c5ddc4Srjs    case BI_OPCODE_LOAD_I24:
339596c5ddc4Srjs
339696c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
339796c5ddc4Srjs
339896c5ddc4Srjs        fputs(" ", fp);
339996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
340096c5ddc4Srjs
340196c5ddc4Srjs
340296c5ddc4Srjs        fputs(", ", fp);
340396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
340496c5ddc4Srjs
340596c5ddc4Srjs
340696c5ddc4Srjs        break;
340796c5ddc4Srjs
340896c5ddc4Srjs    case BI_OPCODE_LOAD_I32:
340996c5ddc4Srjs
341096c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
341196c5ddc4Srjs        fputs(bi_extend_as_str(I->extend), fp);
341296c5ddc4Srjs
341396c5ddc4Srjs        fputs(" ", fp);
341496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
341596c5ddc4Srjs
341696c5ddc4Srjs
341796c5ddc4Srjs        fputs(", ", fp);
341896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
341996c5ddc4Srjs
342096c5ddc4Srjs
342196c5ddc4Srjs        break;
342296c5ddc4Srjs
342396c5ddc4Srjs    case BI_OPCODE_LOAD_I48:
342496c5ddc4Srjs
342596c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
342696c5ddc4Srjs
342796c5ddc4Srjs        fputs(" ", fp);
342896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
342996c5ddc4Srjs
343096c5ddc4Srjs
343196c5ddc4Srjs        fputs(", ", fp);
343296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
343396c5ddc4Srjs
343496c5ddc4Srjs
343596c5ddc4Srjs        break;
343696c5ddc4Srjs
343796c5ddc4Srjs    case BI_OPCODE_LOAD_I64:
343896c5ddc4Srjs
343996c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
344096c5ddc4Srjs
344196c5ddc4Srjs        fputs(" ", fp);
344296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
344396c5ddc4Srjs
344496c5ddc4Srjs
344596c5ddc4Srjs        fputs(", ", fp);
344696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
344796c5ddc4Srjs
344896c5ddc4Srjs
344996c5ddc4Srjs        break;
345096c5ddc4Srjs
345196c5ddc4Srjs    case BI_OPCODE_LOAD_I8:
345296c5ddc4Srjs
345396c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
345496c5ddc4Srjs        fputs(bi_extend_as_str(I->extend), fp);
345596c5ddc4Srjs
345696c5ddc4Srjs        fputs(" ", fp);
345796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
345896c5ddc4Srjs
345996c5ddc4Srjs
346096c5ddc4Srjs        fputs(", ", fp);
346196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
346296c5ddc4Srjs
346396c5ddc4Srjs
346496c5ddc4Srjs        break;
346596c5ddc4Srjs
346696c5ddc4Srjs    case BI_OPCODE_LOAD_I96:
346796c5ddc4Srjs
346896c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
346996c5ddc4Srjs
347096c5ddc4Srjs        fputs(" ", fp);
347196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
347296c5ddc4Srjs
347396c5ddc4Srjs
347496c5ddc4Srjs        fputs(", ", fp);
347596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
347696c5ddc4Srjs
347796c5ddc4Srjs
347896c5ddc4Srjs        break;
347996c5ddc4Srjs
348096c5ddc4Srjs    case BI_OPCODE_LOGB_F32:
348196c5ddc4Srjs
348296c5ddc4Srjs
348396c5ddc4Srjs        fputs(" ", fp);
348496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
348596c5ddc4Srjs
348696c5ddc4Srjs
348796c5ddc4Srjs        break;
348896c5ddc4Srjs
348996c5ddc4Srjs    case BI_OPCODE_LOGB_V2F16:
349096c5ddc4Srjs
349196c5ddc4Srjs
349296c5ddc4Srjs        fputs(" ", fp);
349396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
349496c5ddc4Srjs
349596c5ddc4Srjs
349696c5ddc4Srjs        break;
349796c5ddc4Srjs
349896c5ddc4Srjs    case BI_OPCODE_LROT_DOUBLE_I32:
349996c5ddc4Srjs
350096c5ddc4Srjs        if (I->result_word) fputs(".result_word", fp);
350196c5ddc4Srjs
350296c5ddc4Srjs        fputs(" ", fp);
350396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
350496c5ddc4Srjs
350596c5ddc4Srjs
350696c5ddc4Srjs        fputs(", ", fp);
350796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
350896c5ddc4Srjs
350996c5ddc4Srjs
351096c5ddc4Srjs        fputs(", ", fp);
351196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
351296c5ddc4Srjs
351396c5ddc4Srjs        if (I->bytes2) fputs(".bytes", fp);
351496c5ddc4Srjs
351596c5ddc4Srjs        break;
351696c5ddc4Srjs
351796c5ddc4Srjs    case BI_OPCODE_LSHIFT_AND_I32:
351896c5ddc4Srjs
351996c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
352096c5ddc4Srjs
352196c5ddc4Srjs        fputs(" ", fp);
352296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
352396c5ddc4Srjs
352496c5ddc4Srjs
352596c5ddc4Srjs        fputs(", ", fp);
352696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
352796c5ddc4Srjs
352896c5ddc4Srjs
352996c5ddc4Srjs        fputs(", ", fp);
353096c5ddc4Srjs        bi_print_index(fp, I->src[2]);
353196c5ddc4Srjs
353296c5ddc4Srjs
353396c5ddc4Srjs        break;
353496c5ddc4Srjs
353596c5ddc4Srjs    case BI_OPCODE_LSHIFT_AND_V2I16:
353696c5ddc4Srjs
353796c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
353896c5ddc4Srjs
353996c5ddc4Srjs        fputs(" ", fp);
354096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
354196c5ddc4Srjs
354296c5ddc4Srjs
354396c5ddc4Srjs        fputs(", ", fp);
354496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
354596c5ddc4Srjs
354696c5ddc4Srjs
354796c5ddc4Srjs        fputs(", ", fp);
354896c5ddc4Srjs        bi_print_index(fp, I->src[2]);
354996c5ddc4Srjs
355096c5ddc4Srjs
355196c5ddc4Srjs        break;
355296c5ddc4Srjs
355396c5ddc4Srjs    case BI_OPCODE_LSHIFT_AND_V4I8:
355496c5ddc4Srjs
355596c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
355696c5ddc4Srjs
355796c5ddc4Srjs        fputs(" ", fp);
355896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
355996c5ddc4Srjs
356096c5ddc4Srjs
356196c5ddc4Srjs        fputs(", ", fp);
356296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
356396c5ddc4Srjs
356496c5ddc4Srjs
356596c5ddc4Srjs        fputs(", ", fp);
356696c5ddc4Srjs        bi_print_index(fp, I->src[2]);
356796c5ddc4Srjs
356896c5ddc4Srjs
356996c5ddc4Srjs        break;
357096c5ddc4Srjs
357196c5ddc4Srjs    case BI_OPCODE_LSHIFT_DOUBLE_I32:
357296c5ddc4Srjs
357396c5ddc4Srjs        if (I->result_word) fputs(".result_word", fp);
357496c5ddc4Srjs
357596c5ddc4Srjs        fputs(" ", fp);
357696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
357796c5ddc4Srjs
357896c5ddc4Srjs
357996c5ddc4Srjs        fputs(", ", fp);
358096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
358196c5ddc4Srjs
358296c5ddc4Srjs
358396c5ddc4Srjs        fputs(", ", fp);
358496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
358596c5ddc4Srjs
358696c5ddc4Srjs        if (I->bytes2) fputs(".bytes", fp);
358796c5ddc4Srjs
358896c5ddc4Srjs        break;
358996c5ddc4Srjs
359096c5ddc4Srjs    case BI_OPCODE_LSHIFT_OR_I32:
359196c5ddc4Srjs
359296c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
359396c5ddc4Srjs
359496c5ddc4Srjs        fputs(" ", fp);
359596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
359696c5ddc4Srjs
359796c5ddc4Srjs
359896c5ddc4Srjs        fputs(", ", fp);
359996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
360096c5ddc4Srjs
360196c5ddc4Srjs
360296c5ddc4Srjs        fputs(", ", fp);
360396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
360496c5ddc4Srjs
360596c5ddc4Srjs
360696c5ddc4Srjs        break;
360796c5ddc4Srjs
360896c5ddc4Srjs    case BI_OPCODE_LSHIFT_OR_V2I16:
360996c5ddc4Srjs
361096c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
361196c5ddc4Srjs
361296c5ddc4Srjs        fputs(" ", fp);
361396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
361496c5ddc4Srjs
361596c5ddc4Srjs
361696c5ddc4Srjs        fputs(", ", fp);
361796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
361896c5ddc4Srjs
361996c5ddc4Srjs
362096c5ddc4Srjs        fputs(", ", fp);
362196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
362296c5ddc4Srjs
362396c5ddc4Srjs
362496c5ddc4Srjs        break;
362596c5ddc4Srjs
362696c5ddc4Srjs    case BI_OPCODE_LSHIFT_OR_V4I8:
362796c5ddc4Srjs
362896c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
362996c5ddc4Srjs
363096c5ddc4Srjs        fputs(" ", fp);
363196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
363296c5ddc4Srjs
363396c5ddc4Srjs
363496c5ddc4Srjs        fputs(", ", fp);
363596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
363696c5ddc4Srjs
363796c5ddc4Srjs
363896c5ddc4Srjs        fputs(", ", fp);
363996c5ddc4Srjs        bi_print_index(fp, I->src[2]);
364096c5ddc4Srjs
364196c5ddc4Srjs
364296c5ddc4Srjs        break;
364396c5ddc4Srjs
364496c5ddc4Srjs    case BI_OPCODE_LSHIFT_XOR_I32:
364596c5ddc4Srjs
364696c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
364796c5ddc4Srjs
364896c5ddc4Srjs        fputs(" ", fp);
364996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
365096c5ddc4Srjs
365196c5ddc4Srjs
365296c5ddc4Srjs        fputs(", ", fp);
365396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
365496c5ddc4Srjs
365596c5ddc4Srjs
365696c5ddc4Srjs        fputs(", ", fp);
365796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
365896c5ddc4Srjs
365996c5ddc4Srjs
366096c5ddc4Srjs        break;
366196c5ddc4Srjs
366296c5ddc4Srjs    case BI_OPCODE_LSHIFT_XOR_V2I16:
366396c5ddc4Srjs
366496c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
366596c5ddc4Srjs
366696c5ddc4Srjs        fputs(" ", fp);
366796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
366896c5ddc4Srjs
366996c5ddc4Srjs
367096c5ddc4Srjs        fputs(", ", fp);
367196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
367296c5ddc4Srjs
367396c5ddc4Srjs
367496c5ddc4Srjs        fputs(", ", fp);
367596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
367696c5ddc4Srjs
367796c5ddc4Srjs
367896c5ddc4Srjs        break;
367996c5ddc4Srjs
368096c5ddc4Srjs    case BI_OPCODE_LSHIFT_XOR_V4I8:
368196c5ddc4Srjs
368296c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
368396c5ddc4Srjs
368496c5ddc4Srjs        fputs(" ", fp);
368596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
368696c5ddc4Srjs
368796c5ddc4Srjs
368896c5ddc4Srjs        fputs(", ", fp);
368996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
369096c5ddc4Srjs
369196c5ddc4Srjs
369296c5ddc4Srjs        fputs(", ", fp);
369396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
369496c5ddc4Srjs
369596c5ddc4Srjs
369696c5ddc4Srjs        break;
369796c5ddc4Srjs
369896c5ddc4Srjs    case BI_OPCODE_MKVEC_V2I16:
369996c5ddc4Srjs
370096c5ddc4Srjs
370196c5ddc4Srjs        fputs(" ", fp);
370296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
370396c5ddc4Srjs
370496c5ddc4Srjs
370596c5ddc4Srjs        fputs(", ", fp);
370696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
370796c5ddc4Srjs
370896c5ddc4Srjs
370996c5ddc4Srjs        break;
371096c5ddc4Srjs
371196c5ddc4Srjs    case BI_OPCODE_MKVEC_V4I8:
371296c5ddc4Srjs
371396c5ddc4Srjs
371496c5ddc4Srjs        fputs(" ", fp);
371596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
371696c5ddc4Srjs
371796c5ddc4Srjs
371896c5ddc4Srjs        fputs(", ", fp);
371996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
372096c5ddc4Srjs
372196c5ddc4Srjs
372296c5ddc4Srjs        fputs(", ", fp);
372396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
372496c5ddc4Srjs
372596c5ddc4Srjs
372696c5ddc4Srjs        fputs(", ", fp);
372796c5ddc4Srjs        bi_print_index(fp, I->src[3]);
372896c5ddc4Srjs
372996c5ddc4Srjs
373096c5ddc4Srjs        break;
373196c5ddc4Srjs
373296c5ddc4Srjs    case BI_OPCODE_MOV_I32:
373396c5ddc4Srjs
373496c5ddc4Srjs
373596c5ddc4Srjs        fputs(" ", fp);
373696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
373796c5ddc4Srjs
373896c5ddc4Srjs
373996c5ddc4Srjs        break;
374096c5ddc4Srjs
374196c5ddc4Srjs    case BI_OPCODE_MUX_I32:
374296c5ddc4Srjs
374396c5ddc4Srjs        fputs(bi_mux_as_str(I->mux), fp);
374496c5ddc4Srjs
374596c5ddc4Srjs        fputs(" ", fp);
374696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
374796c5ddc4Srjs
374896c5ddc4Srjs
374996c5ddc4Srjs        fputs(", ", fp);
375096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
375196c5ddc4Srjs
375296c5ddc4Srjs
375396c5ddc4Srjs        fputs(", ", fp);
375496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
375596c5ddc4Srjs
375696c5ddc4Srjs
375796c5ddc4Srjs        break;
375896c5ddc4Srjs
375996c5ddc4Srjs    case BI_OPCODE_MUX_V2I16:
376096c5ddc4Srjs
376196c5ddc4Srjs        fputs(bi_mux_as_str(I->mux), fp);
376296c5ddc4Srjs
376396c5ddc4Srjs        fputs(" ", fp);
376496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
376596c5ddc4Srjs
376696c5ddc4Srjs
376796c5ddc4Srjs        fputs(", ", fp);
376896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
376996c5ddc4Srjs
377096c5ddc4Srjs
377196c5ddc4Srjs        fputs(", ", fp);
377296c5ddc4Srjs        bi_print_index(fp, I->src[2]);
377396c5ddc4Srjs
377496c5ddc4Srjs
377596c5ddc4Srjs        break;
377696c5ddc4Srjs
377796c5ddc4Srjs    case BI_OPCODE_MUX_V4I8:
377896c5ddc4Srjs
377996c5ddc4Srjs        fputs(bi_mux_as_str(I->mux), fp);
378096c5ddc4Srjs
378196c5ddc4Srjs        fputs(" ", fp);
378296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
378396c5ddc4Srjs
378496c5ddc4Srjs
378596c5ddc4Srjs        fputs(", ", fp);
378696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
378796c5ddc4Srjs
378896c5ddc4Srjs
378996c5ddc4Srjs        fputs(", ", fp);
379096c5ddc4Srjs        bi_print_index(fp, I->src[2]);
379196c5ddc4Srjs
379296c5ddc4Srjs
379396c5ddc4Srjs        break;
379496c5ddc4Srjs
379596c5ddc4Srjs    case BI_OPCODE_NOP:
379696c5ddc4Srjs
379796c5ddc4Srjs
379896c5ddc4Srjs        fputs(" ", fp);
379996c5ddc4Srjs        break;
380096c5ddc4Srjs
380196c5ddc4Srjs    case BI_OPCODE_PATOM_C_I32:
380296c5ddc4Srjs
380396c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
380496c5ddc4Srjs
380596c5ddc4Srjs        fputs(" ", fp);
380696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
380796c5ddc4Srjs
380896c5ddc4Srjs
380996c5ddc4Srjs        fputs(", ", fp);
381096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
381196c5ddc4Srjs
381296c5ddc4Srjs
381396c5ddc4Srjs        fputs(", ", fp);
381496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
381596c5ddc4Srjs
381696c5ddc4Srjs
381796c5ddc4Srjs        fprintf(fp, ", sr_count:%u", I->sr_count);
381896c5ddc4Srjs        break;
381996c5ddc4Srjs
382096c5ddc4Srjs    case BI_OPCODE_PATOM_C1_I32:
382196c5ddc4Srjs
382296c5ddc4Srjs        fputs(bi_atom_opc_as_str(I->atom_opc), fp);
382396c5ddc4Srjs
382496c5ddc4Srjs        fputs(" ", fp);
382596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
382696c5ddc4Srjs
382796c5ddc4Srjs
382896c5ddc4Srjs        fputs(", ", fp);
382996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
383096c5ddc4Srjs
383196c5ddc4Srjs
383296c5ddc4Srjs        fprintf(fp, ", sr_count:%u", I->sr_count);
383396c5ddc4Srjs        break;
383496c5ddc4Srjs
383596c5ddc4Srjs    case BI_OPCODE_POPCOUNT_I32:
383696c5ddc4Srjs
383796c5ddc4Srjs
383896c5ddc4Srjs        fputs(" ", fp);
383996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
384096c5ddc4Srjs
384196c5ddc4Srjs
384296c5ddc4Srjs        break;
384396c5ddc4Srjs
384496c5ddc4Srjs    case BI_OPCODE_QUIET_F32:
384596c5ddc4Srjs
384696c5ddc4Srjs
384796c5ddc4Srjs        fputs(" ", fp);
384896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
384996c5ddc4Srjs
385096c5ddc4Srjs
385196c5ddc4Srjs        break;
385296c5ddc4Srjs
385396c5ddc4Srjs    case BI_OPCODE_QUIET_V2F16:
385496c5ddc4Srjs
385596c5ddc4Srjs
385696c5ddc4Srjs        fputs(" ", fp);
385796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
385896c5ddc4Srjs
385996c5ddc4Srjs
386096c5ddc4Srjs        break;
386196c5ddc4Srjs
386296c5ddc4Srjs    case BI_OPCODE_RROT_DOUBLE_I32:
386396c5ddc4Srjs
386496c5ddc4Srjs        if (I->result_word) fputs(".result_word", fp);
386596c5ddc4Srjs
386696c5ddc4Srjs        fputs(" ", fp);
386796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
386896c5ddc4Srjs
386996c5ddc4Srjs
387096c5ddc4Srjs        fputs(", ", fp);
387196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
387296c5ddc4Srjs
387396c5ddc4Srjs
387496c5ddc4Srjs        fputs(", ", fp);
387596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
387696c5ddc4Srjs
387796c5ddc4Srjs        if (I->bytes2) fputs(".bytes", fp);
387896c5ddc4Srjs
387996c5ddc4Srjs        break;
388096c5ddc4Srjs
388196c5ddc4Srjs    case BI_OPCODE_RSHIFT_AND_I32:
388296c5ddc4Srjs
388396c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
388496c5ddc4Srjs
388596c5ddc4Srjs        fputs(" ", fp);
388696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
388796c5ddc4Srjs
388896c5ddc4Srjs
388996c5ddc4Srjs        fputs(", ", fp);
389096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
389196c5ddc4Srjs
389296c5ddc4Srjs
389396c5ddc4Srjs        fputs(", ", fp);
389496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
389596c5ddc4Srjs
389696c5ddc4Srjs
389796c5ddc4Srjs        break;
389896c5ddc4Srjs
389996c5ddc4Srjs    case BI_OPCODE_RSHIFT_AND_V2I16:
390096c5ddc4Srjs
390196c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
390296c5ddc4Srjs
390396c5ddc4Srjs        fputs(" ", fp);
390496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
390596c5ddc4Srjs
390696c5ddc4Srjs
390796c5ddc4Srjs        fputs(", ", fp);
390896c5ddc4Srjs        bi_print_index(fp, I->src[1]);
390996c5ddc4Srjs
391096c5ddc4Srjs
391196c5ddc4Srjs        fputs(", ", fp);
391296c5ddc4Srjs        bi_print_index(fp, I->src[2]);
391396c5ddc4Srjs
391496c5ddc4Srjs
391596c5ddc4Srjs        break;
391696c5ddc4Srjs
391796c5ddc4Srjs    case BI_OPCODE_RSHIFT_AND_V4I8:
391896c5ddc4Srjs
391996c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
392096c5ddc4Srjs
392196c5ddc4Srjs        fputs(" ", fp);
392296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
392396c5ddc4Srjs
392496c5ddc4Srjs
392596c5ddc4Srjs        fputs(", ", fp);
392696c5ddc4Srjs        bi_print_index(fp, I->src[1]);
392796c5ddc4Srjs
392896c5ddc4Srjs
392996c5ddc4Srjs        fputs(", ", fp);
393096c5ddc4Srjs        bi_print_index(fp, I->src[2]);
393196c5ddc4Srjs
393296c5ddc4Srjs
393396c5ddc4Srjs        break;
393496c5ddc4Srjs
393596c5ddc4Srjs    case BI_OPCODE_RSHIFT_DOUBLE_I32:
393696c5ddc4Srjs
393796c5ddc4Srjs        if (I->result_word) fputs(".result_word", fp);
393896c5ddc4Srjs
393996c5ddc4Srjs        fputs(" ", fp);
394096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
394196c5ddc4Srjs
394296c5ddc4Srjs
394396c5ddc4Srjs        fputs(", ", fp);
394496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
394596c5ddc4Srjs
394696c5ddc4Srjs
394796c5ddc4Srjs        fputs(", ", fp);
394896c5ddc4Srjs        bi_print_index(fp, I->src[2]);
394996c5ddc4Srjs
395096c5ddc4Srjs        if (I->bytes2) fputs(".bytes", fp);
395196c5ddc4Srjs
395296c5ddc4Srjs        break;
395396c5ddc4Srjs
395496c5ddc4Srjs    case BI_OPCODE_RSHIFT_OR_I32:
395596c5ddc4Srjs
395696c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
395796c5ddc4Srjs
395896c5ddc4Srjs        fputs(" ", fp);
395996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
396096c5ddc4Srjs
396196c5ddc4Srjs
396296c5ddc4Srjs        fputs(", ", fp);
396396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
396496c5ddc4Srjs
396596c5ddc4Srjs
396696c5ddc4Srjs        fputs(", ", fp);
396796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
396896c5ddc4Srjs
396996c5ddc4Srjs
397096c5ddc4Srjs        break;
397196c5ddc4Srjs
397296c5ddc4Srjs    case BI_OPCODE_RSHIFT_OR_V2I16:
397396c5ddc4Srjs
397496c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
397596c5ddc4Srjs
397696c5ddc4Srjs        fputs(" ", fp);
397796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
397896c5ddc4Srjs
397996c5ddc4Srjs
398096c5ddc4Srjs        fputs(", ", fp);
398196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
398296c5ddc4Srjs
398396c5ddc4Srjs
398496c5ddc4Srjs        fputs(", ", fp);
398596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
398696c5ddc4Srjs
398796c5ddc4Srjs
398896c5ddc4Srjs        break;
398996c5ddc4Srjs
399096c5ddc4Srjs    case BI_OPCODE_RSHIFT_OR_V4I8:
399196c5ddc4Srjs
399296c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
399396c5ddc4Srjs
399496c5ddc4Srjs        fputs(" ", fp);
399596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
399696c5ddc4Srjs
399796c5ddc4Srjs
399896c5ddc4Srjs        fputs(", ", fp);
399996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
400096c5ddc4Srjs
400196c5ddc4Srjs
400296c5ddc4Srjs        fputs(", ", fp);
400396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
400496c5ddc4Srjs
400596c5ddc4Srjs
400696c5ddc4Srjs        break;
400796c5ddc4Srjs
400896c5ddc4Srjs    case BI_OPCODE_RSHIFT_XOR_I32:
400996c5ddc4Srjs
401096c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
401196c5ddc4Srjs
401296c5ddc4Srjs        fputs(" ", fp);
401396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
401496c5ddc4Srjs
401596c5ddc4Srjs
401696c5ddc4Srjs        fputs(", ", fp);
401796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
401896c5ddc4Srjs
401996c5ddc4Srjs
402096c5ddc4Srjs        fputs(", ", fp);
402196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
402296c5ddc4Srjs
402396c5ddc4Srjs
402496c5ddc4Srjs        break;
402596c5ddc4Srjs
402696c5ddc4Srjs    case BI_OPCODE_RSHIFT_XOR_V2I16:
402796c5ddc4Srjs
402896c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
402996c5ddc4Srjs
403096c5ddc4Srjs        fputs(" ", fp);
403196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
403296c5ddc4Srjs
403396c5ddc4Srjs
403496c5ddc4Srjs        fputs(", ", fp);
403596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
403696c5ddc4Srjs
403796c5ddc4Srjs
403896c5ddc4Srjs        fputs(", ", fp);
403996c5ddc4Srjs        bi_print_index(fp, I->src[2]);
404096c5ddc4Srjs
404196c5ddc4Srjs
404296c5ddc4Srjs        break;
404396c5ddc4Srjs
404496c5ddc4Srjs    case BI_OPCODE_RSHIFT_XOR_V4I8:
404596c5ddc4Srjs
404696c5ddc4Srjs        if (I->not_result) fputs(".not_result", fp);
404796c5ddc4Srjs
404896c5ddc4Srjs        fputs(" ", fp);
404996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
405096c5ddc4Srjs
405196c5ddc4Srjs
405296c5ddc4Srjs        fputs(", ", fp);
405396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
405496c5ddc4Srjs
405596c5ddc4Srjs
405696c5ddc4Srjs        fputs(", ", fp);
405796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
405896c5ddc4Srjs
405996c5ddc4Srjs
406096c5ddc4Srjs        break;
406196c5ddc4Srjs
406296c5ddc4Srjs    case BI_OPCODE_S16_TO_F32:
406396c5ddc4Srjs
406496c5ddc4Srjs
406596c5ddc4Srjs        fputs(" ", fp);
406696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
406796c5ddc4Srjs
406896c5ddc4Srjs
406996c5ddc4Srjs        break;
407096c5ddc4Srjs
407196c5ddc4Srjs    case BI_OPCODE_S16_TO_S32:
407296c5ddc4Srjs
407396c5ddc4Srjs
407496c5ddc4Srjs        fputs(" ", fp);
407596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
407696c5ddc4Srjs
407796c5ddc4Srjs
407896c5ddc4Srjs        break;
407996c5ddc4Srjs
408096c5ddc4Srjs    case BI_OPCODE_S32_TO_F32:
408196c5ddc4Srjs
408296c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
408396c5ddc4Srjs
408496c5ddc4Srjs        fputs(" ", fp);
408596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
408696c5ddc4Srjs
408796c5ddc4Srjs
408896c5ddc4Srjs        break;
408996c5ddc4Srjs
409096c5ddc4Srjs    case BI_OPCODE_S8_TO_F32:
409196c5ddc4Srjs
409296c5ddc4Srjs
409396c5ddc4Srjs        fputs(" ", fp);
409496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
409596c5ddc4Srjs
409696c5ddc4Srjs
409796c5ddc4Srjs        break;
409896c5ddc4Srjs
409996c5ddc4Srjs    case BI_OPCODE_S8_TO_S32:
410096c5ddc4Srjs
410196c5ddc4Srjs
410296c5ddc4Srjs        fputs(" ", fp);
410396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
410496c5ddc4Srjs
410596c5ddc4Srjs
410696c5ddc4Srjs        break;
410796c5ddc4Srjs
410896c5ddc4Srjs    case BI_OPCODE_SEG_ADD:
410996c5ddc4Srjs
411096c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
411196c5ddc4Srjs        if (I->preserve_null) fputs(".preserve_null", fp);
411296c5ddc4Srjs
411396c5ddc4Srjs        fputs(" ", fp);
411496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
411596c5ddc4Srjs
411696c5ddc4Srjs
411796c5ddc4Srjs        break;
411896c5ddc4Srjs
411996c5ddc4Srjs    case BI_OPCODE_SEG_ADD_I64:
412096c5ddc4Srjs
412196c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
412296c5ddc4Srjs        if (I->preserve_null) fputs(".preserve_null", fp);
412396c5ddc4Srjs
412496c5ddc4Srjs        fputs(" ", fp);
412596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
412696c5ddc4Srjs
412796c5ddc4Srjs
412896c5ddc4Srjs        fputs(", ", fp);
412996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
413096c5ddc4Srjs
413196c5ddc4Srjs
413296c5ddc4Srjs        break;
413396c5ddc4Srjs
413496c5ddc4Srjs    case BI_OPCODE_SHADDXH_I32:
413596c5ddc4Srjs
413696c5ddc4Srjs
413796c5ddc4Srjs        fputs(" ", fp);
413896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
413996c5ddc4Srjs
414096c5ddc4Srjs
414196c5ddc4Srjs        fputs(", ", fp);
414296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
414396c5ddc4Srjs
414496c5ddc4Srjs
414596c5ddc4Srjs        break;
414696c5ddc4Srjs
414796c5ddc4Srjs    case BI_OPCODE_SHADDXL_I64:
414896c5ddc4Srjs
414996c5ddc4Srjs
415096c5ddc4Srjs        fputs(" ", fp);
415196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
415296c5ddc4Srjs
415396c5ddc4Srjs
415496c5ddc4Srjs        fputs(", ", fp);
415596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
415696c5ddc4Srjs
415796c5ddc4Srjs
415896c5ddc4Srjs        fprintf(fp, ", shift:%u", I->shift);
415996c5ddc4Srjs        break;
416096c5ddc4Srjs
416196c5ddc4Srjs    case BI_OPCODE_SHADDXL_S32:
416296c5ddc4Srjs
416396c5ddc4Srjs
416496c5ddc4Srjs        fputs(" ", fp);
416596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
416696c5ddc4Srjs
416796c5ddc4Srjs
416896c5ddc4Srjs        fputs(", ", fp);
416996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
417096c5ddc4Srjs
417196c5ddc4Srjs
417296c5ddc4Srjs        fprintf(fp, ", shift:%u", I->shift);
417396c5ddc4Srjs        break;
417496c5ddc4Srjs
417596c5ddc4Srjs    case BI_OPCODE_SHADDXL_U32:
417696c5ddc4Srjs
417796c5ddc4Srjs
417896c5ddc4Srjs        fputs(" ", fp);
417996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
418096c5ddc4Srjs
418196c5ddc4Srjs
418296c5ddc4Srjs        fputs(", ", fp);
418396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
418496c5ddc4Srjs
418596c5ddc4Srjs
418696c5ddc4Srjs        fprintf(fp, ", shift:%u", I->shift);
418796c5ddc4Srjs        break;
418896c5ddc4Srjs
418996c5ddc4Srjs    case BI_OPCODE_SHIFT_DOUBLE_I32:
419096c5ddc4Srjs
419196c5ddc4Srjs
419296c5ddc4Srjs        fputs(" ", fp);
419396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
419496c5ddc4Srjs
419596c5ddc4Srjs
419696c5ddc4Srjs        fputs(", ", fp);
419796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
419896c5ddc4Srjs
419996c5ddc4Srjs
420096c5ddc4Srjs        fputs(", ", fp);
420196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
420296c5ddc4Srjs
420396c5ddc4Srjs
420496c5ddc4Srjs        break;
420596c5ddc4Srjs
420696c5ddc4Srjs    case BI_OPCODE_STORE_I128:
420796c5ddc4Srjs
420896c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
420996c5ddc4Srjs
421096c5ddc4Srjs        fputs(" ", fp);
421196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
421296c5ddc4Srjs
421396c5ddc4Srjs
421496c5ddc4Srjs        fputs(", ", fp);
421596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
421696c5ddc4Srjs
421796c5ddc4Srjs
421896c5ddc4Srjs        fputs(", ", fp);
421996c5ddc4Srjs        bi_print_index(fp, I->src[2]);
422096c5ddc4Srjs
422196c5ddc4Srjs
422296c5ddc4Srjs        break;
422396c5ddc4Srjs
422496c5ddc4Srjs    case BI_OPCODE_STORE_I16:
422596c5ddc4Srjs
422696c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
422796c5ddc4Srjs
422896c5ddc4Srjs        fputs(" ", fp);
422996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
423096c5ddc4Srjs
423196c5ddc4Srjs
423296c5ddc4Srjs        fputs(", ", fp);
423396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
423496c5ddc4Srjs
423596c5ddc4Srjs
423696c5ddc4Srjs        fputs(", ", fp);
423796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
423896c5ddc4Srjs
423996c5ddc4Srjs
424096c5ddc4Srjs        break;
424196c5ddc4Srjs
424296c5ddc4Srjs    case BI_OPCODE_STORE_I24:
424396c5ddc4Srjs
424496c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
424596c5ddc4Srjs
424696c5ddc4Srjs        fputs(" ", fp);
424796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
424896c5ddc4Srjs
424996c5ddc4Srjs
425096c5ddc4Srjs        fputs(", ", fp);
425196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
425296c5ddc4Srjs
425396c5ddc4Srjs
425496c5ddc4Srjs        fputs(", ", fp);
425596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
425696c5ddc4Srjs
425796c5ddc4Srjs
425896c5ddc4Srjs        break;
425996c5ddc4Srjs
426096c5ddc4Srjs    case BI_OPCODE_STORE_I32:
426196c5ddc4Srjs
426296c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
426396c5ddc4Srjs
426496c5ddc4Srjs        fputs(" ", fp);
426596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
426696c5ddc4Srjs
426796c5ddc4Srjs
426896c5ddc4Srjs        fputs(", ", fp);
426996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
427096c5ddc4Srjs
427196c5ddc4Srjs
427296c5ddc4Srjs        fputs(", ", fp);
427396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
427496c5ddc4Srjs
427596c5ddc4Srjs
427696c5ddc4Srjs        break;
427796c5ddc4Srjs
427896c5ddc4Srjs    case BI_OPCODE_STORE_I48:
427996c5ddc4Srjs
428096c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
428196c5ddc4Srjs
428296c5ddc4Srjs        fputs(" ", fp);
428396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
428496c5ddc4Srjs
428596c5ddc4Srjs
428696c5ddc4Srjs        fputs(", ", fp);
428796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
428896c5ddc4Srjs
428996c5ddc4Srjs
429096c5ddc4Srjs        fputs(", ", fp);
429196c5ddc4Srjs        bi_print_index(fp, I->src[2]);
429296c5ddc4Srjs
429396c5ddc4Srjs
429496c5ddc4Srjs        break;
429596c5ddc4Srjs
429696c5ddc4Srjs    case BI_OPCODE_STORE_I64:
429796c5ddc4Srjs
429896c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
429996c5ddc4Srjs
430096c5ddc4Srjs        fputs(" ", fp);
430196c5ddc4Srjs        bi_print_index(fp, I->src[0]);
430296c5ddc4Srjs
430396c5ddc4Srjs
430496c5ddc4Srjs        fputs(", ", fp);
430596c5ddc4Srjs        bi_print_index(fp, I->src[1]);
430696c5ddc4Srjs
430796c5ddc4Srjs
430896c5ddc4Srjs        fputs(", ", fp);
430996c5ddc4Srjs        bi_print_index(fp, I->src[2]);
431096c5ddc4Srjs
431196c5ddc4Srjs
431296c5ddc4Srjs        break;
431396c5ddc4Srjs
431496c5ddc4Srjs    case BI_OPCODE_STORE_I8:
431596c5ddc4Srjs
431696c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
431796c5ddc4Srjs
431896c5ddc4Srjs        fputs(" ", fp);
431996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
432096c5ddc4Srjs
432196c5ddc4Srjs
432296c5ddc4Srjs        fputs(", ", fp);
432396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
432496c5ddc4Srjs
432596c5ddc4Srjs
432696c5ddc4Srjs        fputs(", ", fp);
432796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
432896c5ddc4Srjs
432996c5ddc4Srjs
433096c5ddc4Srjs        break;
433196c5ddc4Srjs
433296c5ddc4Srjs    case BI_OPCODE_STORE_I96:
433396c5ddc4Srjs
433496c5ddc4Srjs        fputs(bi_seg_as_str(I->seg), fp);
433596c5ddc4Srjs
433696c5ddc4Srjs        fputs(" ", fp);
433796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
433896c5ddc4Srjs
433996c5ddc4Srjs
434096c5ddc4Srjs        fputs(", ", fp);
434196c5ddc4Srjs        bi_print_index(fp, I->src[1]);
434296c5ddc4Srjs
434396c5ddc4Srjs
434496c5ddc4Srjs        fputs(", ", fp);
434596c5ddc4Srjs        bi_print_index(fp, I->src[2]);
434696c5ddc4Srjs
434796c5ddc4Srjs
434896c5ddc4Srjs        break;
434996c5ddc4Srjs
435096c5ddc4Srjs    case BI_OPCODE_ST_CVT:
435196c5ddc4Srjs
435296c5ddc4Srjs        fputs(bi_register_format_as_str(I->register_format), fp);
435396c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
435496c5ddc4Srjs
435596c5ddc4Srjs        fputs(" ", fp);
435696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
435796c5ddc4Srjs
435896c5ddc4Srjs
435996c5ddc4Srjs        fputs(", ", fp);
436096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
436196c5ddc4Srjs
436296c5ddc4Srjs
436396c5ddc4Srjs        fputs(", ", fp);
436496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
436596c5ddc4Srjs
436696c5ddc4Srjs
436796c5ddc4Srjs        fputs(", ", fp);
436896c5ddc4Srjs        bi_print_index(fp, I->src[3]);
436996c5ddc4Srjs
437096c5ddc4Srjs
437196c5ddc4Srjs        break;
437296c5ddc4Srjs
437396c5ddc4Srjs    case BI_OPCODE_ST_TILE:
437496c5ddc4Srjs
437596c5ddc4Srjs        fputs(bi_vecsize_as_str(I->vecsize), fp);
437696c5ddc4Srjs
437796c5ddc4Srjs        fputs(" ", fp);
437896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
437996c5ddc4Srjs
438096c5ddc4Srjs
438196c5ddc4Srjs        fputs(", ", fp);
438296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
438396c5ddc4Srjs
438496c5ddc4Srjs
438596c5ddc4Srjs        fputs(", ", fp);
438696c5ddc4Srjs        bi_print_index(fp, I->src[2]);
438796c5ddc4Srjs
438896c5ddc4Srjs
438996c5ddc4Srjs        fputs(", ", fp);
439096c5ddc4Srjs        bi_print_index(fp, I->src[3]);
439196c5ddc4Srjs
439296c5ddc4Srjs
439396c5ddc4Srjs        break;
439496c5ddc4Srjs
439596c5ddc4Srjs    case BI_OPCODE_SWZ_V2I16:
439696c5ddc4Srjs
439796c5ddc4Srjs
439896c5ddc4Srjs        fputs(" ", fp);
439996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
440096c5ddc4Srjs
440196c5ddc4Srjs
440296c5ddc4Srjs        break;
440396c5ddc4Srjs
440496c5ddc4Srjs    case BI_OPCODE_SWZ_V4I8:
440596c5ddc4Srjs
440696c5ddc4Srjs
440796c5ddc4Srjs        fputs(" ", fp);
440896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
440996c5ddc4Srjs
441096c5ddc4Srjs
441196c5ddc4Srjs        break;
441296c5ddc4Srjs
441396c5ddc4Srjs    case BI_OPCODE_TEXC:
441496c5ddc4Srjs
441596c5ddc4Srjs        if (I->skip) fputs(".skip", fp);
441696c5ddc4Srjs        if (I->lod_mode) fputs(".lod_mode", fp);
441796c5ddc4Srjs
441896c5ddc4Srjs        fputs(" ", fp);
441996c5ddc4Srjs        bi_print_index(fp, I->src[0]);
442096c5ddc4Srjs
442196c5ddc4Srjs
442296c5ddc4Srjs        fputs(", ", fp);
442396c5ddc4Srjs        bi_print_index(fp, I->src[1]);
442496c5ddc4Srjs
442596c5ddc4Srjs
442696c5ddc4Srjs        fputs(", ", fp);
442796c5ddc4Srjs        bi_print_index(fp, I->src[2]);
442896c5ddc4Srjs
442996c5ddc4Srjs
443096c5ddc4Srjs        fputs(", ", fp);
443196c5ddc4Srjs        bi_print_index(fp, I->src[3]);
443296c5ddc4Srjs
443396c5ddc4Srjs
443496c5ddc4Srjs        fprintf(fp, ", sr_count:%u", I->sr_count);
443596c5ddc4Srjs        break;
443696c5ddc4Srjs
443796c5ddc4Srjs    case BI_OPCODE_TEXS_2D_F16:
443896c5ddc4Srjs
443996c5ddc4Srjs        if (I->skip) fputs(".skip", fp);
444096c5ddc4Srjs        if (I->lod_mode) fputs(".lod_mode", fp);
444196c5ddc4Srjs
444296c5ddc4Srjs        fputs(" ", fp);
444396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
444496c5ddc4Srjs
444596c5ddc4Srjs
444696c5ddc4Srjs        fputs(", ", fp);
444796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
444896c5ddc4Srjs
444996c5ddc4Srjs
445096c5ddc4Srjs        fprintf(fp, ", sampler_index:%u", I->sampler_index);
445196c5ddc4Srjs        fprintf(fp, ", texture_index:%u", I->texture_index);
445296c5ddc4Srjs        break;
445396c5ddc4Srjs
445496c5ddc4Srjs    case BI_OPCODE_TEXS_2D_F32:
445596c5ddc4Srjs
445696c5ddc4Srjs        if (I->skip) fputs(".skip", fp);
445796c5ddc4Srjs        if (I->lod_mode) fputs(".lod_mode", fp);
445896c5ddc4Srjs
445996c5ddc4Srjs        fputs(" ", fp);
446096c5ddc4Srjs        bi_print_index(fp, I->src[0]);
446196c5ddc4Srjs
446296c5ddc4Srjs
446396c5ddc4Srjs        fputs(", ", fp);
446496c5ddc4Srjs        bi_print_index(fp, I->src[1]);
446596c5ddc4Srjs
446696c5ddc4Srjs
446796c5ddc4Srjs        fprintf(fp, ", sampler_index:%u", I->sampler_index);
446896c5ddc4Srjs        fprintf(fp, ", texture_index:%u", I->texture_index);
446996c5ddc4Srjs        break;
447096c5ddc4Srjs
447196c5ddc4Srjs    case BI_OPCODE_TEXS_CUBE_F16:
447296c5ddc4Srjs
447396c5ddc4Srjs        if (I->skip) fputs(".skip", fp);
447496c5ddc4Srjs
447596c5ddc4Srjs        fputs(" ", fp);
447696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
447796c5ddc4Srjs
447896c5ddc4Srjs
447996c5ddc4Srjs        fputs(", ", fp);
448096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
448196c5ddc4Srjs
448296c5ddc4Srjs
448396c5ddc4Srjs        fputs(", ", fp);
448496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
448596c5ddc4Srjs
448696c5ddc4Srjs
448796c5ddc4Srjs        fprintf(fp, ", sampler_index:%u", I->sampler_index);
448896c5ddc4Srjs        fprintf(fp, ", texture_index:%u", I->texture_index);
448996c5ddc4Srjs        break;
449096c5ddc4Srjs
449196c5ddc4Srjs    case BI_OPCODE_TEXS_CUBE_F32:
449296c5ddc4Srjs
449396c5ddc4Srjs        if (I->skip) fputs(".skip", fp);
449496c5ddc4Srjs
449596c5ddc4Srjs        fputs(" ", fp);
449696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
449796c5ddc4Srjs
449896c5ddc4Srjs
449996c5ddc4Srjs        fputs(", ", fp);
450096c5ddc4Srjs        bi_print_index(fp, I->src[1]);
450196c5ddc4Srjs
450296c5ddc4Srjs
450396c5ddc4Srjs        fputs(", ", fp);
450496c5ddc4Srjs        bi_print_index(fp, I->src[2]);
450596c5ddc4Srjs
450696c5ddc4Srjs
450796c5ddc4Srjs        fprintf(fp, ", sampler_index:%u", I->sampler_index);
450896c5ddc4Srjs        fprintf(fp, ", texture_index:%u", I->texture_index);
450996c5ddc4Srjs        break;
451096c5ddc4Srjs
451196c5ddc4Srjs    case BI_OPCODE_U16_TO_F32:
451296c5ddc4Srjs
451396c5ddc4Srjs
451496c5ddc4Srjs        fputs(" ", fp);
451596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
451696c5ddc4Srjs
451796c5ddc4Srjs
451896c5ddc4Srjs        break;
451996c5ddc4Srjs
452096c5ddc4Srjs    case BI_OPCODE_U16_TO_U32:
452196c5ddc4Srjs
452296c5ddc4Srjs
452396c5ddc4Srjs        fputs(" ", fp);
452496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
452596c5ddc4Srjs
452696c5ddc4Srjs
452796c5ddc4Srjs        break;
452896c5ddc4Srjs
452996c5ddc4Srjs    case BI_OPCODE_U32_TO_F32:
453096c5ddc4Srjs
453196c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
453296c5ddc4Srjs
453396c5ddc4Srjs        fputs(" ", fp);
453496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
453596c5ddc4Srjs
453696c5ddc4Srjs
453796c5ddc4Srjs        break;
453896c5ddc4Srjs
453996c5ddc4Srjs    case BI_OPCODE_U8_TO_F32:
454096c5ddc4Srjs
454196c5ddc4Srjs
454296c5ddc4Srjs        fputs(" ", fp);
454396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
454496c5ddc4Srjs
454596c5ddc4Srjs
454696c5ddc4Srjs        break;
454796c5ddc4Srjs
454896c5ddc4Srjs    case BI_OPCODE_U8_TO_U32:
454996c5ddc4Srjs
455096c5ddc4Srjs
455196c5ddc4Srjs        fputs(" ", fp);
455296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
455396c5ddc4Srjs
455496c5ddc4Srjs
455596c5ddc4Srjs        break;
455696c5ddc4Srjs
455796c5ddc4Srjs    case BI_OPCODE_V2F16_TO_V2S16:
455896c5ddc4Srjs
455996c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
456096c5ddc4Srjs
456196c5ddc4Srjs        fputs(" ", fp);
456296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
456396c5ddc4Srjs
456496c5ddc4Srjs
456596c5ddc4Srjs        break;
456696c5ddc4Srjs
456796c5ddc4Srjs    case BI_OPCODE_V2F16_TO_V2U16:
456896c5ddc4Srjs
456996c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
457096c5ddc4Srjs
457196c5ddc4Srjs        fputs(" ", fp);
457296c5ddc4Srjs        bi_print_index(fp, I->src[0]);
457396c5ddc4Srjs
457496c5ddc4Srjs
457596c5ddc4Srjs        break;
457696c5ddc4Srjs
457796c5ddc4Srjs    case BI_OPCODE_V2F32_TO_V2F16:
457896c5ddc4Srjs
457996c5ddc4Srjs        fputs(bi_clamp_as_str(I->clamp), fp);
458096c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
458196c5ddc4Srjs
458296c5ddc4Srjs        fputs(" ", fp);
458396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
458496c5ddc4Srjs
458596c5ddc4Srjs
458696c5ddc4Srjs        fputs(", ", fp);
458796c5ddc4Srjs        bi_print_index(fp, I->src[1]);
458896c5ddc4Srjs
458996c5ddc4Srjs
459096c5ddc4Srjs        break;
459196c5ddc4Srjs
459296c5ddc4Srjs    case BI_OPCODE_V2S16_TO_V2F16:
459396c5ddc4Srjs
459496c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
459596c5ddc4Srjs
459696c5ddc4Srjs        fputs(" ", fp);
459796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
459896c5ddc4Srjs
459996c5ddc4Srjs
460096c5ddc4Srjs        break;
460196c5ddc4Srjs
460296c5ddc4Srjs    case BI_OPCODE_V2S8_TO_V2F16:
460396c5ddc4Srjs
460496c5ddc4Srjs
460596c5ddc4Srjs        fputs(" ", fp);
460696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
460796c5ddc4Srjs
460896c5ddc4Srjs
460996c5ddc4Srjs        break;
461096c5ddc4Srjs
461196c5ddc4Srjs    case BI_OPCODE_V2S8_TO_V2S16:
461296c5ddc4Srjs
461396c5ddc4Srjs
461496c5ddc4Srjs        fputs(" ", fp);
461596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
461696c5ddc4Srjs
461796c5ddc4Srjs
461896c5ddc4Srjs        break;
461996c5ddc4Srjs
462096c5ddc4Srjs    case BI_OPCODE_V2U16_TO_V2F16:
462196c5ddc4Srjs
462296c5ddc4Srjs        fputs(bi_round_as_str(I->round), fp);
462396c5ddc4Srjs
462496c5ddc4Srjs        fputs(" ", fp);
462596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
462696c5ddc4Srjs
462796c5ddc4Srjs
462896c5ddc4Srjs        break;
462996c5ddc4Srjs
463096c5ddc4Srjs    case BI_OPCODE_V2U8_TO_V2F16:
463196c5ddc4Srjs
463296c5ddc4Srjs
463396c5ddc4Srjs        fputs(" ", fp);
463496c5ddc4Srjs        bi_print_index(fp, I->src[0]);
463596c5ddc4Srjs
463696c5ddc4Srjs
463796c5ddc4Srjs        break;
463896c5ddc4Srjs
463996c5ddc4Srjs    case BI_OPCODE_V2U8_TO_V2U16:
464096c5ddc4Srjs
464196c5ddc4Srjs
464296c5ddc4Srjs        fputs(" ", fp);
464396c5ddc4Srjs        bi_print_index(fp, I->src[0]);
464496c5ddc4Srjs
464596c5ddc4Srjs
464696c5ddc4Srjs        break;
464796c5ddc4Srjs
464896c5ddc4Srjs    case BI_OPCODE_VAR_TEX_F16:
464996c5ddc4Srjs
465096c5ddc4Srjs        fputs(bi_update_as_str(I->update), fp);
465196c5ddc4Srjs        if (I->skip) fputs(".skip", fp);
465296c5ddc4Srjs        if (I->lod_mode) fputs(".lod_mode", fp);
465396c5ddc4Srjs        fputs(bi_sample_as_str(I->sample), fp);
465496c5ddc4Srjs
465596c5ddc4Srjs        fputs(" ", fp);
465696c5ddc4Srjs        fprintf(fp, ", texture_index:%u", I->texture_index);
465796c5ddc4Srjs        fprintf(fp, ", varying_index:%u", I->varying_index);
465896c5ddc4Srjs        break;
465996c5ddc4Srjs
466096c5ddc4Srjs    case BI_OPCODE_VAR_TEX_F32:
466196c5ddc4Srjs
466296c5ddc4Srjs        fputs(bi_update_as_str(I->update), fp);
466396c5ddc4Srjs        if (I->skip) fputs(".skip", fp);
466496c5ddc4Srjs        if (I->lod_mode) fputs(".lod_mode", fp);
466596c5ddc4Srjs        fputs(bi_sample_as_str(I->sample), fp);
466696c5ddc4Srjs
466796c5ddc4Srjs        fputs(" ", fp);
466896c5ddc4Srjs        fprintf(fp, ", texture_index:%u", I->texture_index);
466996c5ddc4Srjs        fprintf(fp, ", varying_index:%u", I->varying_index);
467096c5ddc4Srjs        break;
467196c5ddc4Srjs
467296c5ddc4Srjs    case BI_OPCODE_VN_ASST1_F16:
467396c5ddc4Srjs
467496c5ddc4Srjs        if (I->h) fputs(".h", fp);
467596c5ddc4Srjs        if (I->l) fputs(".l", fp);
467696c5ddc4Srjs
467796c5ddc4Srjs        fputs(" ", fp);
467896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
467996c5ddc4Srjs
468096c5ddc4Srjs
468196c5ddc4Srjs        fputs(", ", fp);
468296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
468396c5ddc4Srjs
468496c5ddc4Srjs
468596c5ddc4Srjs        fputs(", ", fp);
468696c5ddc4Srjs        bi_print_index(fp, I->src[2]);
468796c5ddc4Srjs
468896c5ddc4Srjs
468996c5ddc4Srjs        break;
469096c5ddc4Srjs
469196c5ddc4Srjs    case BI_OPCODE_VN_ASST1_F32:
469296c5ddc4Srjs
469396c5ddc4Srjs
469496c5ddc4Srjs        fputs(" ", fp);
469596c5ddc4Srjs        bi_print_index(fp, I->src[0]);
469696c5ddc4Srjs
469796c5ddc4Srjs
469896c5ddc4Srjs        fputs(", ", fp);
469996c5ddc4Srjs        bi_print_index(fp, I->src[1]);
470096c5ddc4Srjs
470196c5ddc4Srjs
470296c5ddc4Srjs        fputs(", ", fp);
470396c5ddc4Srjs        bi_print_index(fp, I->src[2]);
470496c5ddc4Srjs
470596c5ddc4Srjs
470696c5ddc4Srjs        fputs(", ", fp);
470796c5ddc4Srjs        bi_print_index(fp, I->src[3]);
470896c5ddc4Srjs
470996c5ddc4Srjs
471096c5ddc4Srjs        break;
471196c5ddc4Srjs
471296c5ddc4Srjs    case BI_OPCODE_VN_ASST2_F32:
471396c5ddc4Srjs
471496c5ddc4Srjs        if (I->scale) fputs(".scale", fp);
471596c5ddc4Srjs
471696c5ddc4Srjs        fputs(" ", fp);
471796c5ddc4Srjs        bi_print_index(fp, I->src[0]);
471896c5ddc4Srjs
471996c5ddc4Srjs
472096c5ddc4Srjs        break;
472196c5ddc4Srjs
472296c5ddc4Srjs    case BI_OPCODE_VN_ASST2_V2F16:
472396c5ddc4Srjs
472496c5ddc4Srjs
472596c5ddc4Srjs        fputs(" ", fp);
472696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
472796c5ddc4Srjs
472896c5ddc4Srjs
472996c5ddc4Srjs        break;
473096c5ddc4Srjs
473196c5ddc4Srjs    case BI_OPCODE_WMASK:
473296c5ddc4Srjs
473396c5ddc4Srjs        fputs(bi_subgroup_as_str(I->subgroup), fp);
473496c5ddc4Srjs
473596c5ddc4Srjs        fputs(" ", fp);
473696c5ddc4Srjs        bi_print_index(fp, I->src[0]);
473796c5ddc4Srjs
473896c5ddc4Srjs
473996c5ddc4Srjs        fprintf(fp, ", fill:%u", I->fill);
474096c5ddc4Srjs        break;
474196c5ddc4Srjs
474296c5ddc4Srjs    case BI_OPCODE_ZS_EMIT:
474396c5ddc4Srjs
474496c5ddc4Srjs        if (I->stencil) fputs(".stencil", fp);
474596c5ddc4Srjs        if (I->z) fputs(".z", fp);
474696c5ddc4Srjs
474796c5ddc4Srjs        fputs(" ", fp);
474896c5ddc4Srjs        bi_print_index(fp, I->src[0]);
474996c5ddc4Srjs
475096c5ddc4Srjs
475196c5ddc4Srjs        fputs(", ", fp);
475296c5ddc4Srjs        bi_print_index(fp, I->src[1]);
475396c5ddc4Srjs
475496c5ddc4Srjs
475596c5ddc4Srjs        fputs(", ", fp);
475696c5ddc4Srjs        bi_print_index(fp, I->src[2]);
475796c5ddc4Srjs
475896c5ddc4Srjs
475996c5ddc4Srjs        break;
476096c5ddc4Srjs    default:
476196c5ddc4Srjs        unreachable("Invalid opcode");
476296c5ddc4Srjs    }
476396c5ddc4Srjs
476496c5ddc4Srjs    if (I->branch_target)
476596c5ddc4Srjs            fprintf(fp, " -> block%u", I->branch_target->name);
476696c5ddc4Srjs
476796c5ddc4Srjs    fputs("\n", fp);
476896c5ddc4Srjs
476996c5ddc4Srjs}
4770