rs6000.c (rs6000_dwarf_register_span): Differentiate endianness.

2003-03-13  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_dwarf_register_span):
        Differentiate endianness.
        (s6000_override_options): Use cpu type instead of TARGET_SPE.

From-SVN: r64308
This commit is contained in:
Aldy Hernandez 2003-03-13 15:04:35 +00:00 committed by Aldy Hernandez
parent 1ce537697e
commit 3bd104d1e8
2 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2003-03-13 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_dwarf_register_span):
Differentiate endianness.
(s6000_override_options): Use cpu type instead of TARGET_SPE.
2003-03-13 Nick Clifton <nickc@redhat.com>
* config/arm/arm.c (print_multi_reg): Do not generate a type 2

View File

@ -695,7 +695,7 @@ rs6000_override_options (default_cpu)
/* The e500 does not have string instructions, and we set
MASK_STRING above when optimizing for size. */
if (TARGET_SPE && (target_flags & MASK_STRING) != 0)
if (rs6000_cpu == PROCESSOR_PPC8540 && (target_flags & MASK_STRING) != 0)
target_flags = target_flags & ~MASK_STRING;
/* Handle -m(no-)longcall option. This is a bit of a cheap hack,
@ -13759,12 +13759,13 @@ rs6000_dwarf_register_span (reg)
64-bits. */
return
gen_rtx_PARALLEL (VOIDmode,
gen_rtvec (2,
gen_rtx_REG (SImode, regno),
/* Who, where, what? 1200? This
will get changed to a sane value
when the SPE ABI finalizes. */
gen_rtx_REG (SImode, regno + 1200)));
BYTES_BIG_ENDIAN
? gen_rtvec (2,
gen_rtx_REG (SImode, regno + 1200),
gen_rtx_REG (SImode, regno))
: gen_rtvec (2,
gen_rtx_REG (SImode, regno),
gen_rtx_REG (SImode, regno + 1200)));
}
#include "gt-rs6000.h"