]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/rl78/rl78-expand.md (one_cmplqi2): Make constant signed.
authorDJ Delorie <dj@redhat.com>
Sat, 14 Dec 2013 03:45:14 +0000 (22:45 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Sat, 14 Dec 2013 03:45:14 +0000 (22:45 -0500)
From-SVN: r205981

gcc/ChangeLog
gcc/config/rl78/rl78-expand.md

index 1d7c12e522382058608518c4f29792e70fcf83e1..e9ee35f7c30b8071e86266f0263a8d7218d2d6e7 100644 (file)
@@ -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.
index 863037d7edab618be681a84d9cb20ae6c8996289..a662d32c181e630676329ccc386d1d2d79256e9d 100644 (file)
 (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))