From: Maciej W. Rozycki Date: Wed, 16 Nov 2016 21:37:59 +0000 (+0000) Subject: MIPS16/GCC: Correct `casesi_internal_mips16_'s RTL pattern X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d2082e72de26d70e0fcb84aeba2fa0a2ca5ba5d;p=gcc.git MIPS16/GCC: Correct `casesi_internal_mips16_'s RTL pattern gcc/ * config/mips/mips.md (casesi_internal_mips16_): Use the `ltu' rather than `leu' operation in the RTL pattern From-SVN: r242515 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30161a022ea..a8ff380c180 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-11-16 Maciej W. Rozycki + + * config/mips/mips.md (casesi_internal_mips16_): Use the + `ltu' rather than `leu' operation in the RTL pattern + 2016-11-16 Maciej W. Rozycki * config/mips/mips.md (casesi_internal_mips16_): Add diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 0ccee9ead45..3aea5a7a4f3 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -6401,7 +6401,7 @@ (define_insn "casesi_internal_mips16_" [(set (pc) (if_then_else - (leu (match_operand:SI 0 "register_operand" "d") + (ltu (match_operand:SI 0 "register_operand" "d") (match_operand:SI 1 "arith_operand" "dI")) (unspec:P [(match_dup 0)