From c8a285e81393fde14dd9a4e482fcd99ad81d82ea Mon Sep 17 00:00:00 2001 From: thorpej Date: Sun, 16 Dec 2001 18:47:47 +0000 Subject: 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. --- gnu/dist/toolchain/gcc/config/sh/sh.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu') 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); -- cgit