rs6000: Delete VECTOR_OTHER
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 20 Sep 2018 17:21:54 +0000 (19:21 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 20 Sep 2018 17:21:54 +0000 (19:21 +0200)
It's never used.

* config/rs6000/rs6000-opts.h (enum rs6000_vector): Delete
VECTOR_OTHER.
* config/rs6000/rs6000.c (rs6000_debug_vector_unit): Delete
case VECTOR_OTHER.

From-SVN: r264444

gcc/ChangeLog
gcc/config/rs6000/rs6000-opts.h
gcc/config/rs6000/rs6000.c

index 1e35c6d1850041addeff3c1600d8c8bd2aff9e71..28f7308cf8aebfa8f88906f83f0fa5e92380b252 100644 (file)
@@ -1,3 +1,10 @@
+2018-09-20  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * config/rs6000/rs6000-opts.h (enum rs6000_vector): Delete
+       VECTOR_OTHER.
+       * config/rs6000/rs6000.c (rs6000_debug_vector_unit): Delete
+       case VECTOR_OTHER.
+
 2018-09-20  Marek Polacek  <polacek@redhat.com>
 
        * doc/invoke.texi: Add -Wno-init-list-lifetime to C++ Language Options.
index bd0eea32cc5a8cfefb99591a6742ba4da0fe5941..1212d114aa17a94134d0ab30f463d79c6aa60e17 100644 (file)
@@ -137,8 +137,7 @@ enum rs6000_vector {
   VECTOR_NONE,                 /* Type is not  a vector or not supported */
   VECTOR_ALTIVEC,              /* Use altivec for vector processing */
   VECTOR_VSX,                  /* Use VSX for vector processing */
-  VECTOR_P8_VECTOR,            /* Use ISA 2.07 VSX for vector processing */
-  VECTOR_OTHER                 /* Some other vector unit */
+  VECTOR_P8_VECTOR             /* Use ISA 2.07 VSX for vector processing */
 };
 
 /* Where to get the canary for the stack protector.  */
index a36e6140ecb7f9587b66eec246c02b4ec5a674f1..340490c46e902f2ff7ede4c978419ee7ad228c9d 100644 (file)
@@ -2300,7 +2300,6 @@ rs6000_debug_vector_unit (enum rs6000_vector v)
     case VECTOR_ALTIVEC:   ret = "altivec";   break;
     case VECTOR_VSX:      ret = "vsx";       break;
     case VECTOR_P8_VECTOR: ret = "p8_vector"; break;
-    case VECTOR_OTHER:    ret = "other";     break;
     default:              ret = "unknown";   break;
     }