- if (get_Proj_proj(proj1) == pn_Cond_true) {
- snprintf(cmd_buf, SNPRINTF_BUF_LEN, "j%s %s",
- get_cmp_suffix(get_ia32_pncode(irn), is_unsigned),
- get_cfop_target(proj1, buf));
- snprintf(cmnt_buf, SNPRINTF_BUF_LEN, "/* cmp(a, b) == TRUE */");
- }
- else {
- snprintf(cmd_buf, SNPRINTF_BUF_LEN, "j%s %s",
- get_cmp_suffix(get_negated_pnc(get_ia32_pncode(irn), mode), is_unsigned),
- get_cfop_target(proj1, buf));
- snprintf(cmnt_buf, SNPRINTF_BUF_LEN, "/* cmp(a, b) == FALSE */");
- }
+ snprintf(cmd_buf, SNPRINTF_BUF_LEN, "j%s %s",
+ get_cmp_suffix(pnc, is_unsigned),
+ get_cfop_target(proj_true, buf));
+ snprintf(cmnt_buf, SNPRINTF_BUF_LEN, "/* %s(a, b) %s*/",
+ get_pnc_string(pnc), flipped ? "(was flipped)" : "");