[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
This commit is contained in:
Chung-Ju Wu 2018-05-19 10:18:23 +00:00 committed by Chung-Ju Wu
parent 85a980769e
commit 34dbe5e5ab
2 changed files with 7 additions and 2 deletions

View 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>

View 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;