This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PING] [PATCH] fixed pr59651 & new test case


Updated: the patch passes aarch64 tests. Added missing ChangeLog entry for testsuite. OK to commit? 

Bingfeng
-----Original Message-----
From: Bingfeng Mei 
Sent: 02 January 2014 15:02
To: gcc-patches@gcc.gnu.org
Cc: 'tbelagod@arm.com'
Subject: [PATCH] fixed pr59651 & new test case

Hi, 
This patch fixes pr59651. The original regression for pr52943 only appears on AArch64 target. I constructed a similar test that also exposes bug on x86-64. The problem is that calculation of address range in alias versioning for loops with negative step is wrong during vectorization. For example, for a loop that access int a[3] -> a[1], the old calculated address range is [a, a+12). It should be [a+4, a+16) instead.

Bootstrapped and passed testsuite on x86-64. Get confirmed by original reporter that regression is fixed on AArch64. OK to commit?

Thanks,
Bingfeng

Attachment: patch_pr59651
Description: patch_pr59651


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]