1 /* { dg-do compile } */
3 typedef struct rtx_def
*rtx
;
16 extern const enum mode_class mode_class
[(int) MAX_MACHINE_MODE
];
24 unsigned int code
: 16;
25 unsigned int mode
: 8;
27 extern enum rtx_code
reverse_condition (enum rtx_code
);
28 extern enum rtx_code
reverse_condition_maybe_unordered (enum rtx_code
);
30 reversed_comparison_code_parts (enum rtx_code code
, rtx insn
, rtx arg0
,
33 enum machine_mode mode
;
34 mode
= (enum machine_mode
) (arg0
)->mode
;
36 mode
= (enum machine_mode
) (arg1
)->mode
;
37 if ((mode_class
[(int) (mode
)]) == MODE_CC
)
38 return (mode
!= CCFPmode
&& mode
!= CCFPUmode
39 ? reverse_condition (code
)
40 : reverse_condition_maybe_unordered (code
));
44 return reverse_condition (code
);
48 if (((enum rtx_code
) (arg0
)->code
) == CONST_INT
49 || (((enum machine_mode
) (arg0
)->mode
) != VOIDmode
50 && ! ((mode_class
[(int) (mode
)]) == MODE_FLOAT
51 || (mode_class
[(int) (mode
)]) == MODE_COMPLEX_FLOAT
52 || (mode_class
[(int) (mode
)]) == MODE_VECTOR_FLOAT
)))
53 return reverse_condition (code
);