From: Chung-Ju Wu Date: Sat, 19 May 2018 10:18:23 +0000 (+0000) Subject: [NDS32] Use machine mode with E_ prefix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34dbe5e5abe67a9439a6d7fcd2ba9e76fa285d5b;p=gcc.git [NDS32] Use machine mode with E_ prefix. gcc/ * config/nds32/nds32-predicates.c (const_vector_to_hwint): Use machine mode with E_ prefix. From-SVN: r260391 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ceabfc19b62..a5663e0eea5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-05-19 Chung-Ju Wu + + * config/nds32/nds32-predicates.c (const_vector_to_hwint): Use machine + mode with E_ prefix. + 2018-05-19 Kuan-Lin Chen Chung-Ju Wu diff --git a/gcc/config/nds32/nds32-predicates.c b/gcc/config/nds32/nds32-predicates.c index 2363b967976..6561828c1d7 100644 --- a/gcc/config/nds32/nds32-predicates.c +++ b/gcc/config/nds32/nds32-predicates.c @@ -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;