Commit 3bd104d1 by Aldy Hernandez Committed by Aldy Hernandez

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
parent 1ce53769
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> 2003-03-13 Nick Clifton <nickc@redhat.com>
* config/arm/arm.c (print_multi_reg): Do not generate a type 2 * config/arm/arm.c (print_multi_reg): Do not generate a type 2
......
...@@ -695,7 +695,7 @@ rs6000_override_options (default_cpu) ...@@ -695,7 +695,7 @@ rs6000_override_options (default_cpu)
/* The e500 does not have string instructions, and we set /* The e500 does not have string instructions, and we set
MASK_STRING above when optimizing for size. */ 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; target_flags = target_flags & ~MASK_STRING;
/* Handle -m(no-)longcall option. This is a bit of a cheap hack, /* Handle -m(no-)longcall option. This is a bit of a cheap hack,
...@@ -13759,12 +13759,13 @@ rs6000_dwarf_register_span (reg) ...@@ -13759,12 +13759,13 @@ rs6000_dwarf_register_span (reg)
64-bits. */ 64-bits. */
return return
gen_rtx_PARALLEL (VOIDmode, gen_rtx_PARALLEL (VOIDmode,
gen_rtvec (2, BYTES_BIG_ENDIAN
gen_rtx_REG (SImode, regno), ? gen_rtvec (2,
/* Who, where, what? 1200? This gen_rtx_REG (SImode, regno + 1200),
will get changed to a sane value gen_rtx_REG (SImode, regno))
when the SPE ABI finalizes. */ : gen_rtvec (2,
gen_rtx_REG (SImode, regno + 1200))); gen_rtx_REG (SImode, regno),
gen_rtx_REG (SImode, regno + 1200)));
} }
#include "gt-rs6000.h" #include "gt-rs6000.h"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment