From 9d2082e72de26d70e0fcb84aeba2fa0a2ca5ba5d Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 16 Nov 2016 21:37:59 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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) -- 2.30.2