diff options
| author | thorpej <thorpej@NetBSD.org> | 2001-12-16 18:47:47 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2001-12-16 18:47:47 +0000 |
| commit | c8a285e81393fde14dd9a4e482fcd99ad81d82ea (patch) | |
| tree | 373ff3774d52d10d48a3bf06bb88a7e07face810 | |
| parent | ff7287ad08532f1745b5610f84ceb46e5e298a72 (diff) | |
Apply rev. 1.7 of gnu/dist/config/sh/sh.c:
apply gcc original rev. 1.59:
> * 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.
| -rw-r--r-- | gnu/dist/toolchain/gcc/config/sh/sh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/dist/toolchain/gcc/config/sh/sh.c b/gnu/dist/toolchain/gcc/config/sh/sh.c index 5613e0a7e14..e76dfd61823 100644 --- a/gnu/dist/toolchain/gcc/config/sh/sh.c +++ b/gnu/dist/toolchain/gcc/config/sh/sh.c @@ -515,6 +515,7 @@ prepare_scc_operands (code) if ((code != EQ && code != NE && (sh_compare_op1 != const0_rtx || code == GTU || code == GEU || code == LTU || code == LEU)) + || (mode == DImode && sh_compare_op1 != const0_rtx) || TARGET_SH3E && GET_MODE_CLASS (mode) == MODE_FLOAT) sh_compare_op1 = force_reg (mode, sh_compare_op1); |
