aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-06-19 18:26:07 +0000
committerMax Filippov <jcmvbkbc@gcc.gnu.org>2018-06-19 18:26:07 +0000
commit9a775e9df5f72a8a9627fca8d412361562c8186a (patch)
tree4479ffdb6075a786a8317fd3f4c48fdaa7003797 /gcc/tree-vect-patterns.c
parent5f21ea6739d9dae27a1c6ffe94ea28792f02124a (diff)
downloadgcc-9a775e9df5f72a8a9627fca8d412361562c8186a.zip
gcc-9a775e9df5f72a8a9627fca8d412361562c8186a.tar.gz
gcc-9a775e9df5f72a8a9627fca8d412361562c8186a.tar.bz2
xtensa: fix PR target/65416
The issue is caused by reordering of stack pointer update after stack space allocation with instructions that write to the allocated stack space. In windowed ABI register spill area for the previous call frame is located just below the stack pointer and may be reloaded back into the register file on movsp. Implement allocate_stack pattern for windowed ABI configuration and insert an instruction that prevents reordering of frame memory access and stack pointer update. gcc/ 2018-06-19 Max Filippov <jcmvbkbc@gmail.com> * config/xtensa/xtensa.md (UNSPEC_FRAME_BLOCKAGE): New unspec constant. (allocate_stack, frame_blockage, *frame_blockage): New patterns. From-SVN: r261755
Diffstat (limited to 'gcc/tree-vect-patterns.c')
0 files changed, 0 insertions, 0 deletions