From 2ca129355b55fab730c22877399a83a7fae8dcc7 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Mon, 25 Oct 1999 19:24:40 +0000 Subject: [PATCH] arm.c (arm_override_options): Correct initialization of arm_fast_multiply... * arm.c (arm_override_options): Correct initialization of arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched, arm_is_strong, and arm_is_6_or_7. From-SVN: r30169 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/arm.c | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d3dec30183c..94a72a6ff34 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -4,6 +4,10 @@ Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com) + * arm.c (arm_override_options): Correct initialization of + arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched, + arm_is_strong, and arm_is_6_or_7. + * loop.c (note_set_pseudo_multiple_uses_retval): New variable. (note_set_pseudo_multiple_uses): New function. (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 5b8497e7de9..01f4175c017 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -504,14 +504,14 @@ arm_override_options () warning ("Passing floating point arguments in fp regs not yet supported"); /* Initialise boolean versions of the flags, for use in the arm.md file. */ - arm_fast_multiply = insn_flags & FL_FAST_MULT; - arm_arch4 = insn_flags & FL_ARCH4; - arm_arch5 = insn_flags & FL_ARCH5; + arm_fast_multiply = (insn_flags & FL_FAST_MULT) != 0; + arm_arch4 = (insn_flags & FL_ARCH4) != 0; + arm_arch5 = (insn_flags & FL_ARCH5) != 0; - arm_ld_sched = tune_flags & FL_LDSCHED; - arm_is_strong = tune_flags & FL_STRONG; + arm_ld_sched = (tune_flags & FL_LDSCHED) != 0; + arm_is_strong = (tune_flags & FL_STRONG) != 0; arm_is_6_or_7 = ((tune_flags & (FL_MODE26 | FL_MODE32)) - && !(tune_flags & FL_ARCH4)); + && !(tune_flags & FL_ARCH4)) != 0; /* Default value for floating point code... if no co-processor bus, then schedule for emulated floating point. Otherwise,