OSDN Git Service

PR tree-optimization/32215
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2007 20:23:58 +0000 (20:23 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2007 20:23:58 +0000 (20:23 +0000)
        * tree-vectorizer.c (supportable_widening_operation): Return false
        for unsupported FIX_TRUNC_EXPR tree code.
        (supportable_narrowing_operation): Ditto for FLOAT_EXPR tree code.

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

gcc/ChangeLog
gcc/tree-vectorizer.c

index bf664a8..af63916 100644 (file)
@@ -1,3 +1,10 @@
+2007-06-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR tree-optimization/32215
+       * tree-vectorizer.c (supportable_widening_operation): Return false
+       for unsupported FIX_TRUNC_EXPR tree code.
+       (supportable_narrowing_operation): Ditto for FLOAT_EXPR tree code.
+
 2007-06-06  Nathan Froyd  <froydnj@codesourcery.com>
 
        * config/rs6000/rs6000.h (FIXED_SCRATCH): Use r0 as a scratch
index df884f4..be2d6b3 100644 (file)
@@ -1841,6 +1841,12 @@ supportable_widening_operation (enum tree_code code, tree stmt, tree vectype,
         }
       break;
 
+    case FIX_TRUNC_EXPR:
+      /* ??? Not yet implemented due to missing VEC_UNPACK_FIX_TRUNC_HI_EXPR/
+        VEC_UNPACK_FIX_TRUNC_LO_EXPR tree codes and optabs used for
+        computing the operation.  */
+      return false;
+
     default:
       gcc_unreachable ();
     }
@@ -1903,6 +1909,11 @@ supportable_narrowing_operation (enum tree_code code,
       c1 = VEC_PACK_FIX_TRUNC_EXPR;
       break;
 
+    case FLOAT_EXPR:
+      /* ??? Not yet implemented due to missing VEC_PACK_FLOAT_EXPR
+        tree code and optabs used for computing the operation.  */
+      return false;
+
     default:
       gcc_unreachable ();
     }