Commit 529ce461 by Kaz Kojima

[config/sh/sh.c] Fix PR68091: Return false for non shmedia targets in sh_vector_mode_supported_p

	PR target/68091
	* config/sh/sh.c (sh_vector_mode_supported_p): Use
	TARGET_SHMEDIA_FPU instead of TARGET_FPU_ANY.

From-SVN: r229336
parent e310115e
2015-10-26 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/68091
* config/sh/sh.c (sh_vector_mode_supported_p): Use
TARGET_SHMEDIA_FPU instead of TARGET_FPU_ANY.
2015-10-26 Tom de Vries <tom@codesourcery.com>
* tree-ssa-structalias.c (make_restrict_var_constraints): New function,
......@@ -12133,7 +12133,7 @@ sh_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update)
bool
sh_vector_mode_supported_p (machine_mode mode)
{
if (TARGET_FPU_ANY
if (TARGET_SHMEDIA_FPU
&& ((mode == V2SFmode)
|| (mode == V4SFmode)
|| (mode == V16SFmode)))
......
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