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;