johannes    02/09/30 14:35:45

  Modified:    live/gcc3/gcc Tag: fearless-kitty-branch tree.c
  Log:
  Don't force all vectors to V4SI for x86.  3053847.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.39.4.1  +8 -3      src/live/gcc3/gcc/tree.c
  
  Index: tree.c
  ===================================================================
  RCS file: /cvs/Darwin/src/live/gcc3/gcc/tree.c,v
  retrieving revision 1.39
  retrieving revision 1.39.4.1
  diff -u -r1.39 -r1.39.4.1
  --- tree.c    2002/05/03 01:07:18     1.39
  +++ tree.c    2002/09/30 21:35:44     1.39.4.1
  @@ -5009,10 +5009,15 @@
   
     t = make_node (VECTOR_TYPE);
     TREE_TYPE (t) = innertype;
  -  /* APPLE LOCAL AltiVec */
  -  TYPE_MODE (t) = V4SImode;
     TREE_UNSIGNED (TREE_TYPE (t)) = unsignedp;
  +  TYPE_MODE (t) = mode;
     finish_vector_type (t);
  -
  +#ifdef TARGET_POWERPC
  +  /* APPLE LOCAL AltiVec */
  +  /* Overwrite the real mode with V4SImode for all vectors.  This is */
  +  /* placed below finish_vector_type so the debug array size is right.  */
  +  /* This is inappropriate for x86 target. */
  +  TYPE_MODE (t) = V4SImode;
  +#endif
     return t;
   }
  
  
  


Reply via email to