Revision be210acb tcg/tcg.c

b/tcg/tcg.c
670 670
}
671 671
#endif
672 672

  
673

  
673 674
static void tcg_reg_alloc_start(TCGContext *s)
674 675
{
675 676
    int i;
......
888 889
                fprintf(outfile, "%s",
889 890
                        tcg_get_arg_str_idx(s, buf, sizeof(buf), args[k++]));
890 891
            }
891
            if (c == INDEX_op_brcond_i32
892
            switch (c) {
893
            case INDEX_op_brcond_i32:
894
#if TCG_TARGET_REG_BITS == 32
895
            case INDEX_op_brcond2_i32:
896
#elif TCG_TARGET_REG_BITS == 64
897
            case INDEX_op_brcond_i64:
898
#endif
899
            case INDEX_op_setcond_i32:
892 900
#if TCG_TARGET_REG_BITS == 32
893
                || c == INDEX_op_brcond2_i32
901
            case INDEX_op_setcond2_i32:
894 902
#elif TCG_TARGET_REG_BITS == 64
895
                || c == INDEX_op_brcond_i64
903
            case INDEX_op_setcond_i64:
896 904
#endif
897
                ) {
898 905
                if (args[k] < ARRAY_SIZE(cond_name) && cond_name[args[k]])
899 906
                    fprintf(outfile, ",%s", cond_name[args[k++]]);
900 907
                else
901 908
                    fprintf(outfile, ",$0x%" TCG_PRIlx, args[k++]);
902 909
                i = 1;
903
            }
904
            else
910
                break;
911
            default:
905 912
                i = 0;
913
                break;
914
            }
906 915
            for(; i < nb_cargs; i++) {
907 916
                if (k != 0)
908 917
                    fprintf(outfile, ",");

Also available in: Unified diff