aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ft32
diff options
context:
space:
mode:
authorJames Bowman <james.bowman@ftdichip.com>2015-11-13 01:44:27 +0000
committerJames Bowman <jamesbowman@gcc.gnu.org>2015-11-13 01:44:27 +0000
commit6d82151f8c08d123eaab63409cd8ba6f85d0539c (patch)
treefb39c33de27dbbd05476c94842f668dea5a8a366 /gcc/config/ft32
parent982ef953af6d5bd4c205bb0b9cce28496a3f231e (diff)
downloadgcc-6d82151f8c08d123eaab63409cd8ba6f85d0539c.zip
gcc-6d82151f8c08d123eaab63409cd8ba6f85d0539c.tar.gz
gcc-6d82151f8c08d123eaab63409cd8ba6f85d0539c.tar.bz2
ft32.md (*sne): New insn pattern.
2015-11-13 James Bowman <james.bowman@ftdichip.com> * config/ft32/ft32.md (*sne): New insn pattern. From-SVN: r230283
Diffstat (limited to 'gcc/config/ft32')
-rw-r--r--gcc/config/ft32/ft32.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/ft32/ft32.md b/gcc/config/ft32/ft32.md
index 1eac74d..5c1594d 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)]
""