On Tue, Jun 18, 2024 at 10:00 PM Takayuki 'January June' Suwa <jjsuwa_sys3...@yahoo.co.jp> wrote: > > This patch makes avoid inserting a MEMW instruction before a load/store > nstruction with volatile memory reference if there is already a MEMW > immediately before it. > > gcc/ChangeLog: > > * config/xtensa/xtensa.cc (print_operand): > When outputting MEMW before the instruction, check if the previous > instruction is already that. > --- > gcc/config/xtensa/xtensa.cc | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-)
Regtested for target=xtensa-linux-uclibc, no new regressions. Committed to master. -- Thanks. -- Max