OSDN Git Service

2004-10-04 Chao-ying Fu <fu@mips.com>
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Oct 2004 18:33:16 +0000 (18:33 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Oct 2004 18:33:16 +0000 (18:33 +0000)
* config/mips/mips.h (UNITS_PER_SIMD_WORD): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88518 138bc75d-0d04-0410-961f-82ee72b054a4

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)