summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-14 03:45:14 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-14 03:45:14 +0000
commitdab3f1ae74a17d9200a7cb2b9e274a9097d8c08e (patch)
tree8e2f4da58af661e8bb080143d3877adc73a4cc65
parentd0bbecef7fdf0fff914037af8f26f29fafb03162 (diff)
downloadgcc-dab3f1ae74a17d9200a7cb2b9e274a9097d8c08e.tar.gz
* config/rl78/rl78-expand.md (one_cmplqi2): Make constant signed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205981 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/rl78/rl78-expand.md2
2 files changed, 3 insertions, 1 deletions
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 <dj@redhat.com>
+ * 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))