diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-10-25 19:24:40 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-10-25 13:24:40 -0600 |
commit | 2ca129355b55fab730c22877399a83a7fae8dcc7 (patch) | |
tree | 95e1c8e13da729f4f6ccb62b31cfed89bf0157b1 | |
parent | 627dba375cd3722f06b1277bb35bf56f805519c3 (diff) | |
download | gcc-2ca129355b55fab730c22877399a83a7fae8dcc7.zip gcc-2ca129355b55fab730c22877399a83a7fae8dcc7.tar.gz gcc-2ca129355b55fab730c22877399a83a7fae8dcc7.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d3dec30..94a72a6 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 5b8497e..01f4175 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, |