aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-09-29 11:18:23 +0200
committerRichard Biener <rguenther@suse.de>2021-09-29 13:46:39 +0200
commit4c7731081647c22cbd249dc0faa20c3df9ed6411 (patch)
tree174a6e344ceac511ebd4f06a875c851aa473198c /gcc/config.gcc
parenta459ee44c0a74b0df0485ed7a56683816c02aae9 (diff)
downloadgcc-4c7731081647c22cbd249dc0faa20c3df9ed6411.zip
gcc-4c7731081647c22cbd249dc0faa20c3df9ed6411.tar.gz
gcc-4c7731081647c22cbd249dc0faa20c3df9ed6411.tar.bz2
Fix peeling for alignment with negative step
The following fixes a regression causing us to no longer peel negative step loops for alignment. With dr_misalignment now applying the bias for negative step we have to do the reverse when adjusting the misalignment for peeled DRs. 2021-09-29 Richard Biener <rguenther@suse.de> * tree-vect-data-refs.c (vect_dr_misalign_for_aligned_access): New helper. (vect_update_misalignment_for_peel): Use it to update misaligned to the value necessary for an aligned access. (vect_get_peeling_costs_all_drs): Likewise. (vect_enhance_data_refs_alignment): Likewise. * gcc.target/i386/vect-alignment-peeling-1.c: New testcase. * gcc.target/i386/vect-alignment-peeling-2.c: Likewise.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions