Commit e73caa00 by H.J. Lu Committed by H.J. Lu

i386.c (ix86_expand_vector_init_general): Use GET_MODE_NUNITS (mode).

2008-05-21  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_expand_vector_init_general): Use
	GET_MODE_NUNITS (mode).

From-SVN: r135732
parent fbf5a473
2008-05-21 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_expand_vector_init_general): Use
GET_MODE_NUNITS (mode).
2008-05-21 Peter Bergner <bergner@vnet.ibm.com>
* doc/invoke.texi: Add cpu_type's 464 and 464fp.
......
......@@ -24090,7 +24090,7 @@ ix86_expand_vector_init_general (bool mmx_ok, enum machine_mode mode,
case V4SImode:
case V2DFmode:
case V2DImode:
n = GET_MODE_SIZE (mode) / GET_MODE_SIZE (GET_MODE_INNER (mode));
n = GET_MODE_NUNITS (mode);
for (i = 0; i < n; i++)
ops[i] = XVECEXP (vals, 0, i);
ix86_expand_vector_init_concat (mode, target, ops, n);
......@@ -24105,7 +24105,7 @@ ix86_expand_vector_init_general (bool mmx_ok, enum machine_mode mode,
if (!TARGET_SSE2)
break;
n = GET_MODE_SIZE (mode) / GET_MODE_SIZE (GET_MODE_INNER (mode));
n = GET_MODE_NUNITS (mode);
for (i = 0; i < n; i++)
ops[i] = XVECEXP (vals, 0, i);
ix86_expand_vector_init_interleave (mode, target, ops, n >> 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment