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 780e06dbd73f36a2a31aa18276e4d1469385f393..90235ddbc43eb55e0643cadf676e6c2c80d1b908 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 fbfdc1f43109a19f168a5c2a4944b9b7132d5ad9..6ec5407274950932297783c65359d62bda8f7a36 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)