Revision 8a56e840 tcg/sparc/tcg-target.c

b/tcg/sparc/tcg-target.c
520 520
    tcg_out_arithc(s, TCG_REG_G0, c1, c2, c2const, ARITH_SUBCC);
521 521
}
522 522

  
523
static void tcg_out_brcond_i32(TCGContext *s, int cond,
523
static void tcg_out_brcond_i32(TCGContext *s, TCGCond cond,
524 524
                               TCGArg arg1, TCGArg arg2, int const_arg2,
525 525
                               int label_index)
526 526
{
......
530 530
}
531 531

  
532 532
#if TCG_TARGET_REG_BITS == 64
533
static void tcg_out_brcond_i64(TCGContext *s, int cond,
533
static void tcg_out_brcond_i64(TCGContext *s, TCGCond cond,
534 534
                               TCGArg arg1, TCGArg arg2, int const_arg2,
535 535
                               int label_index)
536 536
{
......
539 539
    tcg_out_nop(s);
540 540
}
541 541
#else
542
static void tcg_out_brcond2_i32(TCGContext *s, int cond,
542
static void tcg_out_brcond2_i32(TCGContext *s, TCGCond cond,
543 543
                                TCGArg al, TCGArg ah,
544 544
                                TCGArg bl, int blconst,
545 545
                                TCGArg bh, int bhconst, int label_dest)
......
587 587
}
588 588
#endif
589 589

  
590
static void tcg_out_setcond_i32(TCGContext *s, int cond, TCGArg ret,
590
static void tcg_out_setcond_i32(TCGContext *s, TCGCond cond, TCGArg ret,
591 591
                                TCGArg c1, TCGArg c2, int c2const)
592 592
{
593 593
    TCGArg t;
......
643 643
}
644 644

  
645 645
#if TCG_TARGET_REG_BITS == 64
646
static void tcg_out_setcond_i64(TCGContext *s, int cond, TCGArg ret,
646
static void tcg_out_setcond_i64(TCGContext *s, TCGCond cond, TCGArg ret,
647 647
                                TCGArg c1, TCGArg c2, int c2const)
648 648
{
649 649
    tcg_out_cmp(s, c1, c2, c2const);
......
653 653
               | MOVCC_XCC | INSN_IMM11(1));
654 654
}
655 655
#else
656
static void tcg_out_setcond2_i32(TCGContext *s, int cond, TCGArg ret,
656
static void tcg_out_setcond2_i32(TCGContext *s, TCGCond cond, TCGArg ret,
657 657
                                 TCGArg al, TCGArg ah,
658 658
                                 TCGArg bl, int blconst,
659 659
                                 TCGArg bh, int bhconst)

Also available in: Unified diff