diff options
author | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2000-08-23 04:39:56 +0900 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2000-08-22 20:39:56 +0100 |
commit | 89e43e33153195963cf124b257a322f0b7f9c2df (patch) | |
tree | 7fe06cf6c995654ed8649782fbd20893f45b5b68 /gcc/config/sh/sh.md | |
parent | 7405dc3753cde327b396793e219268e7b378b39e (diff) | |
download | gcc-89e43e33153195963cf124b257a322f0b7f9c2df.zip gcc-89e43e33153195963cf124b257a322f0b7f9c2df.tar.gz gcc-89e43e33153195963cf124b257a322f0b7f9c2df.tar.bz2 |
sh.md (cmpeqdi_t splitter): Fix a reverse testing.
* config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
* config/sh/sh.c (prepare_scc_operands): Apply force_reg to
sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
const0_rtx.
From-SVN: r35889
Diffstat (limited to 'gcc/config/sh/sh.md')
-rw-r--r-- | gcc/config/sh/sh.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 8702114..051acb8 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -636,7 +636,7 @@ (match_operand:DI 1 "arith_reg_or_0_operand" "N,r")))] "reload_completed" [(set (reg:SI 18) (eq:SI (match_dup 2) (match_dup 3))) - (set (pc) (if_then_else (ne (reg:SI 18) (const_int 0)) + (set (pc) (if_then_else (eq (reg:SI 18) (const_int 0)) (label_ref (match_dup 6)) (pc))) (set (reg:SI 18) (eq:SI (match_dup 4) (match_dup 5))) |