public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch, AArch64]: Fix test harness to for unaligned vector mem access.
@ 2012-12-19 14:47 Tejas Belagod
  2012-12-19 14:55 ` Richard Earnshaw
  0 siblings, 1 reply; 2+ messages in thread
From: Tejas Belagod @ 2012-12-19 14:47 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 760 bytes --]


Hi,

Currently on the trunk, we have many vect tests that fail for aarch64-*-*
because check_effective_target_vect_no_align () in target-supports.exp returns
true for aarch64 where in fact it should be returning false. This causes the
tests that check for vect_no_align and expect messages for loop versioning to
fail. The attached patch drops aarch64 from the list of targets in
check_effective_target_vect_no_align () as unaligned access is supported.

Tested on trunk for aarch64-none-elf with no regressions. OK for trunk?

Thanks,
Tejas Belagod
ARM.

Changelog:

2012-12-19  Tejas Belagod  <tejas.belagod@arm.com>

testsuite/
	* lib/target-supports.exp
	(check_effective_target_vect_no_align): Remove aarch64 from list of
	targets.

[-- Attachment #2: vect-no-align-2.txt --]
[-- Type: text/plain, Size: 556 bytes --]

diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index e541c12..c20ec5e 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -3488,7 +3488,6 @@ proc check_effective_target_vect_no_align { } {
 	if { [istarget mipsisa64*-*-*]
 	     || [istarget sparc*-*-*]
 	     || [istarget ia64-*-*]
-	     || [istarget aarch64-*-*]
 	     || [check_effective_target_arm_vect_no_misalign]
 	     || ([istarget mips*-*-*]
 		 && [check_effective_target_mips_loongson]) } {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Patch, AArch64]: Fix test harness to for unaligned vector mem access.
  2012-12-19 14:47 [Patch, AArch64]: Fix test harness to for unaligned vector mem access Tejas Belagod
@ 2012-12-19 14:55 ` Richard Earnshaw
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Earnshaw @ 2012-12-19 14:55 UTC (permalink / raw)
  To: Tejas Belagod; +Cc: gcc-patches

On 19/12/12 14:47, Tejas Belagod wrote:
>
> Hi,
>
> Currently on the trunk, we have many vect tests that fail for aarch64-*-*
> because check_effective_target_vect_no_align () in target-supports.exp returns
> true for aarch64 where in fact it should be returning false. This causes the
> tests that check for vect_no_align and expect messages for loop versioning to
> fail. The attached patch drops aarch64 from the list of targets in
> check_effective_target_vect_no_align () as unaligned access is supported.
>
> Tested on trunk for aarch64-none-elf with no regressions. OK for trunk?
>
> Thanks,
> Tejas Belagod
> ARM.
>
> Changelog:
>
> 2012-12-19  Tejas Belagod  <tejas.belagod@arm.com>
>
> testsuite/
> 	* lib/target-supports.exp
> 	(check_effective_target_vect_no_align): Remove aarch64 from list of
> 	targets.
>
>

OK.

R.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-19 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-19 14:47 [Patch, AArch64]: Fix test harness to for unaligned vector mem access Tejas Belagod
2012-12-19 14:55 ` Richard Earnshaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).