rs6000.c (rs6000_override_options): Only use DI ops when TARGET_64BIT.
authorDavid Edelsohn <edelsohn@gnu.org>
Tue, 18 Dec 2001 22:00:06 +0000 (22:00 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 18 Dec 2001 22:00:06 +0000 (17:00 -0500)
        * rs6000.c (rs6000_override_options): Only use DI ops when
        TARGET_64BIT.  Fix typo.

From-SVN: r48164

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index b38f75fdaf7009c4ba708d21ff40fadeb025162c..e6291049983940ac0684b1a4b6d797e7de194976 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-18  David Edelsohn  <edelsohn@gnu.org>
+
+       * rs6000.c (rs6000_override_options): Only use DI ops when
+       TARGET_64BIT.  Fix typo.
+
 Tue Dec 18 16:39:46 CET 2001  Jan Hubicka  <jh@suse.cz>
 
        * att.h (ASM_FILE_START): Use asm_dialect.
index 79522a890ba11a2d6a7acb5650e53803cb63d648..3dca0fa0b3bf3ce34a4357ec4c917c1f789a39b3 100644 (file)
@@ -231,7 +231,7 @@ static const char alt_reg_names[][8] =
    for non-ELF systems.  */
 #ifndef OBJECT_FORMAT_ELF
 #ifdef OBJECT_FORMAT_COFF
-/* For ECOFF.  rs6000_assemble_integer will handle unaligned DIs on
+/* For XCOFF.  rs6000_assemble_integer will handle unaligned DIs on
    64-bit targets.  */
 #undef TARGET_ASM_UNALIGNED_HI_OP
 #define TARGET_ASM_UNALIGNED_HI_OP "\t.vbyte\t2,"
@@ -565,7 +565,7 @@ rs6000_override_options (default_cpu)
 
   /* We can only guarantee the availability of DI pseudo-ops when
      assembling for 64-bit targets.  */
-  if (!TARGET_POWERPC64)
+  if (!TARGET_64BIT)
     {
       targetm.asm_out.aligned_op.di = NULL;
       targetm.asm_out.unaligned_op.di = NULL;