Commit 9f962469 by Uros Bizjak Committed by Uros Bizjak

re PR target/89021 (Implement mmintrin.h in SSE)

	PR target/89021
	* config/i386/i386.c (ix86_autovectorize_vector_sizes):
	Autovectorize 8-byte vectors for TARGET_MMX_WITH_SSE.

testsuite/ChangeLog:

	PR target/89021
	* lib/target-supports.exp (available_vector_sizes)
	<[istarget i?86-*-*] || [istarget x86_64-*-*]>: Add
	64-bit vectors for !ia32.

From-SVN: r272711
parent 9ff33839
2019-06-26 Uroš Bizjak <ubizjak@gmail.com>
PR target/89021
* config/i386/i386.c (ix86_autovectorize_vector_sizes):
Autovectorize 8-byte vectors for TARGET_MMX_WITH_SSE.
2019-06-26 Iain Sandoe <iain@sandoe.co.uk>
* config/rs6000/rs6000-internal.h (branch_island): New typedef.
......
......@@ -21401,6 +21401,11 @@ ix86_autovectorize_vector_sizes (vector_sizes *sizes, bool all)
sizes->safe_push (16);
sizes->safe_push (32);
}
else if (TARGET_MMX_WITH_SSE)
sizes->safe_push (16);
if (TARGET_MMX_WITH_SSE)
sizes->safe_push (8);
}
/* Implemenation of targetm.vectorize.get_mask_mode. */
......
2019-06-26 Uroš Bizjak <ubizjak@gmail.com>
PR target/89021
* lib/target-supports.exp (available_vector_sizes)
<[istarget i?86-*-*] || [istarget x86_64-*-*]>: Add
64-bit vectors for !ia32.
2019-06-26 Jeff Law <law@redhat.com>
* gcc.c-torture/execute/builtins/builtins.exp: Add -fno-tree-dse
......
......@@ -6603,9 +6603,14 @@ proc available_vector_sizes { } {
} elseif { [istarget arm*-*-*]
&& [check_effective_target_arm_neon_ok] } {
lappend result 128 64
} elseif { (([istarget i?86-*-*] || [istarget x86_64-*-*])
&& ([check_avx_available] && ![check_prefer_avx128])) } {
lappend result 256 128
} elseif { [istarget i?86-*-*] || [istarget x86_64-*-*] } {
if { [check_avx_available] && ![check_prefer_avx128] } {
lappend result 256
}
lappend result 128
if { ![is-effective-target ia32] } {
lappend result 64
}
} elseif { [istarget sparc*-*-*] } {
lappend result 64
} else {
......
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