From: James Bowman Date: Fri, 13 Nov 2015 01:44:27 +0000 (+0000) Subject: ft32.md (*sne): New insn pattern. X-Git-Tag: releases/gcc-6.1.0~3090 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6d82151f8c08d123eaab63409cd8ba6f85d0539c;p=thirdparty%2Fgcc.git ft32.md (*sne): New insn pattern. 2015-11-13 James Bowman * config/ft32/ft32.md (*sne): New insn pattern. From-SVN: r230283 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d8da275bcc2..4fb5504312e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-11-13 James Bowman + + * config/ft32/ft32.md (*sne): New insn pattern. + 2015-11-12 Brad Lucier * gcc/cprop.c (is_too_expensive): Remove. diff --git a/gcc/config/ft32/ft32.md b/gcc/config/ft32/ft32.md index 1eac74ddb794..5c1594d5e457 100644 --- a/gcc/config/ft32/ft32.md +++ b/gcc/config/ft32/ft32.md @@ -255,6 +255,13 @@ ;; SImode +(define_insn "*sne" + [(set (match_operand:SI 0 "register_operand" "=r") + (reg:SI CC_REG))] + "" + "bextu.l %0,$cc,32|0\;xor.l %0,%0,-1" +) + ;; Push a register onto the stack (define_insn "movsi_push" [(set (mem:SI (pre_dec:SI (reg:SI SP_REG))) @@ -884,6 +891,7 @@ DONE; }) + (define_expand "epilogue" [(return)] ""