[NDS32] Use machine mode with E_ prefix.
authorChung-Ju Wu <jasonwucj@gmail.com>
Sat, 19 May 2018 10:18:23 +0000 (10:18 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sat, 19 May 2018 10:18:23 +0000 (10:18 +0000)
gcc/
* config/nds32/nds32-predicates.c (const_vector_to_hwint): Use machine
mode with E_ prefix.

From-SVN: r260391

gcc/ChangeLog
gcc/config/nds32/nds32-predicates.c

index ceabfc19b628c7c5e9fc4d91df344d302a5f591f..a5663e0eea5356c898f4921dbecac9fd60fe1c9e 100644 (file)
@@ -1,3 +1,8 @@
+2018-05-19  Chung-Ju Wu  <jasonwucj@gmail.com>
+
+       * config/nds32/nds32-predicates.c (const_vector_to_hwint): Use machine
+       mode with E_ prefix.
+
 2018-05-19  Kuan-Lin Chen <kuanlinchentw@gmail.com>
            Chung-Ju Wu  <jasonwucj@gmail.com>
 
index 2363b9679766aed8ce7b16ca3f04859438f311ba..6561828c1d734ccb9e539f5406bd121df5a4ba5c 100644 (file)
@@ -531,12 +531,12 @@ const_vector_to_hwint (rtx op)
 
   switch (GET_MODE (op))
     {
-      case V2HImode:
+      case E_V2HImode:
        mask = 0xffff;
        shift_adv = 16;
        nelem = 2;
        break;
-      case V4QImode:
+      case E_V4QImode:
        mask = 0xff;
        shift_adv = 8;
        nelem = 4;