Commit 41067f07 by Andreas Krebbel Committed by Andreas Krebbel

S/390: Set the preferred mode for float vectors

gcc/ChangeLog:

2017-09-26  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/s390/s390.c (s390_preferred_simd_mode): Return V4SFmode
	for SFmode.

From-SVN: r253196
parent d55409bf
2017-09-26 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/s390.c (s390_preferred_simd_mode): Return V4SFmode
for SFmode.
2017-09-26 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/vector.md ("vec_unpacks_low_v16qi"): Rename to
vec_unpacks_lo_v16qi.
("vec_unpacku_low_v16qi"): Rename to vec_unpacku_lo_v16qi.
......@@ -15859,6 +15859,14 @@ s390_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update)
static machine_mode
s390_preferred_simd_mode (scalar_mode mode)
{
if (TARGET_VXE)
switch (mode)
{
case E_SFmode:
return V4SFmode;
default:;
}
if (TARGET_VX)
switch (mode)
{
......
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