From ecec9b57e1825df79d570b084495c7428fa39e46 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 13 Dec 2013 22:45:14 -0500 Subject: [PATCH] * config/rl78/rl78-expand.md (one_cmplqi2): Make constant signed. From-SVN: r205981 --- gcc/ChangeLog | 2 ++ gcc/config/rl78/rl78-expand.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d7c12e5223..e9ee35f7c30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2013-12-13 DJ Delorie + * config/rl78/rl78-expand.md (one_cmplqi2): Make constant signed. + * config/msp430/msp430.md (movqi): replace general_operand with msp_general_operand and nonimmediate_operand with msp_nonimmediate_operand to allow volatile operands. diff --git a/gcc/config/rl78/rl78-expand.md b/gcc/config/rl78/rl78-expand.md index 863037d7eda..a662d32c181 100644 --- a/gcc/config/rl78/rl78-expand.md +++ b/gcc/config/rl78/rl78-expand.md @@ -177,7 +177,7 @@ (define_expand "one_cmplqi2" [(set (match_operand:QI 0 "nonimmediate_operand") (xor:QI (match_operand:QI 1 "general_operand") - (const_int 255))) + (const_int -1))) ] "" "if (rl78_force_nonfar_2 (operands, gen_one_cmplqi2))