[Bug middle-end/47397] Alignment of array element is not optimal in AVX mode due to use of TARGET_MEM_REFs

2021-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |5.5 Known to work|

[Bug middle-end/47397] Alignment of array element is not optimal in AVX mode due to use of TARGET_MEM_REFs

2021-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397 Andrew Pinski changed: What|Removed |Added Known to work||6.4.0, 7.1.0, 7.5.0 Known to fail|

[Bug middle-end/47397] Alignment of array element is not optimal in AVX mode due to use of TARGET_MEM_REFs

2011-01-21 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug middle-end/47397] Alignment of array element is not optimal in AVX mode due to use of TARGET_MEM_REFs

2011-01-21 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397 --- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2011-01-21 14:22:40 UTC --- Thus, the real reason is that we lack alignment information on MEM_REFs/TARGET_MEM_REFs but only have pointer alignment information for now.

[Bug middle-end/47397] Alignment of array element is not optimal in AVX mode due to use of TARGET_MEM_REFs

2011-01-21 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397 --- Comment #6 from H.J. Lu hjl.tools at gmail dot com 2011-01-21 14:45:31 UTC --- (In reply to comment #5) Thus, the real reason is that we lack alignment information on MEM_REFs/TARGET_MEM_REFs but only have pointer alignment information for

[Bug middle-end/47397] Alignment of array element is not optimal in AVX mode due to use of TARGET_MEM_REFs

2011-01-21 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397 --- Comment #7 from Richard Guenther rguenth at gcc dot gnu.org 2011-01-21 15:35:29 UTC --- (In reply to comment #6) (In reply to comment #5) Thus, the real reason is that we lack alignment information on MEM_REFs/TARGET_MEM_REFs but only

[Bug middle-end/47397] Alignment of array element is not optimal in AVX mode due to use of TARGET_MEM_REFs

2011-01-21 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397 --- Comment #8 from Richard Guenther rguenth at gcc dot gnu.org 2011-01-21 15:37:33 UTC --- And before you start fiddling with set_mem_attributes_minus_bitpos, most alignment related pieces in it should simply re-use get_object_alignment (a

[Bug middle-end/47397] Alignment of array element is not optimal in AVX mode due to use of TARGET_MEM_REFs

2011-01-21 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397 --- Comment #9 from H.J. Lu hjl.tools at gmail dot com 2011-01-21 16:03:41 UTC --- (In reply to comment #7) Note that this shouldn't be an issue for AVX/SSE as unaligned moves are as fast as aligned ones if they are really aligned (at least I

[Bug middle-end/47397] Alignment of array element is not optimal in AVX mode due to use of TARGET_MEM_REFs

2011-01-21 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397 --- Comment #10 from Richard Guenther rguenth at gcc dot gnu.org 2011-01-21 16:21:55 UTC --- You can play with a cleanup patch I have lying around, queued for 4.7: Index: emit-rtl.c