Commit f161e158 by H.J. Lu Committed by H.J. Lu

re PR target/39261 (_mm256_set_epi64x failed on 32bit)

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

	PR target/39261
	* config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
	ix86_expand_vector_set for V4DImode in 64bit mode only.
	(ix86_expand_vector_init_one_var): Likewise.

From-SVN: r144366
parent f592b0b3
2008-02-21 H.J. Lu <hongjiu.lu@intel.com>
PR target/39261
* config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
ix86_expand_vector_set for V4DImode in 64bit mode only.
(ix86_expand_vector_init_one_var): Likewise.
2009-02-21 Sebastian Pop <sebastian.pop@amd.com>
* graphite.c (graphite_trans_loop_block): Adjust tile size to 51.
......
......@@ -27129,10 +27129,13 @@ ix86_expand_vector_init_one_nonzero (bool mmx_ok, enum machine_mode mode,
case V16HImode:
case V8SImode:
case V8SFmode:
case V4DImode:
case V4DFmode:
use_vector_set = TARGET_AVX;
break;
case V4DImode:
/* Use ix86_expand_vector_set in 64bit mode only. */
use_vector_set = TARGET_AVX && TARGET_64BIT;
break;
default:
break;
}
......@@ -27271,8 +27274,11 @@ ix86_expand_vector_init_one_var (bool mmx_ok, enum machine_mode mode,
the general case. */
return false;
case V4DFmode:
case V4DImode:
/* Use ix86_expand_vector_set in 64bit mode only. */
if (!TARGET_64BIT)
return false;
case V4DFmode:
case V8SFmode:
case V8SImode:
case V16HImode:
......
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