Message ID | bafddb71-5993-eea4-8d5b-ab74cbd28654@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] Adjust rtx_costs for h8300 | expand |
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 89cd793277a..31f7805f057 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -1205,6 +1205,16 @@ h8300_rtx_costs (rtx x, machine_mode mode ATTRIBUTE_UNUSED, int outer_code, return true; case COMPARE: + case NE: + case EQ: + case GE: + case GT: + case LE: + case LT: + case GEU: + case GTU: + case LEU: + case LTU: if (XEXP (x, 1) == const0_rtx) *total = 0; return false;