mips.h (UNITS_PER_SIMD_WORD): Define.
authorChao-ying Fu <fu@mips.com>
Mon, 4 Oct 2004 18:33:16 +0000 (18:33 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 4 Oct 2004 18:33:16 +0000 (18:33 +0000)
2004-10-04  Chao-ying Fu  <fu@mips.com>

* config/mips/mips.h (UNITS_PER_SIMD_WORD): Define.

From-SVN: r88518

gcc/ChangeLog
gcc/config/mips/mips.h

index 780e06d..90235dd 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-04  Chao-ying Fu  <fu@mips.com>
+
+       * config/mips/mips.h (UNITS_PER_SIMD_WORD): Define.
+
 2004-10-04  Diego Novillo  <dnovillo@redhat.com>
 
        * tree-ssa-dom.c (tree_ssa_dominator_optimize):
index fbfdc1f..6ec5407 100644 (file)
@@ -1263,6 +1263,8 @@ extern const struct mips_cpu_info *mips_tune_info;
 /* The number of bytes in a double.  */
 #define UNITS_PER_DOUBLE (TYPE_PRECISION (double_type_node) / BITS_PER_UNIT)
 
+#define UNITS_PER_SIMD_WORD (TARGET_PAIRED_SINGLE_FLOAT ? 8 : 0)
+
 /* Set the sizes of the core types.  */
 #define SHORT_TYPE_SIZE 16
 #define INT_TYPE_SIZE (TARGET_INT64 ? 64 : 32)