From: Sandra Loosemore Date: Thu, 15 Mar 2018 22:33:34 +0000 (-0400) Subject: nios2.md (movsi_internal): Fix thinko in split predicate. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9422357988a125bc1676020ab869a1c50ca6ff7a;p=gcc.git nios2.md (movsi_internal): Fix thinko in split predicate. 2018-03-15 Sandra Loosemore gcc/ * config/nios2/nios2.md (movsi_internal): Fix thinko in split predicate. From-SVN: r258575 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2fe4a21a2fe..060d7e5b96a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-03-15 Sandra Loosemore + + * config/nios2/nios2.md (movsi_internal): Fix thinko in + split predicate. + 2018-03-15 Jakub Jelinek PR c++/79085 diff --git a/gcc/config/nios2/nios2.md b/gcc/config/nios2/nios2.md index e9f5c92c556..a6ddd48e0bf 100644 --- a/gcc/config/nios2/nios2.md +++ b/gcc/config/nios2/nios2.md @@ -298,9 +298,10 @@ } "(nios2_large_constant_memory_operand_p (operands[0]) || nios2_large_constant_memory_operand_p (operands[1]) - || (nios2_large_constant_p (operands[1]) - && !SMALL_INT_UNSIGNED (INTVAL (operands[1])) - && !UPPER16_INT (INTVAL (operands[1]))))" + || (nios2_large_constant_p (operands[1]) + && !(CONST_INT_P (operands[1]) + && (SMALL_INT_UNSIGNED (INTVAL (operands[1])) + || UPPER16_INT (INTVAL (operands[1]))))))" [(set (match_dup 0) (match_dup 1))] { if (nios2_large_constant_memory_operand_p (operands[0]))