All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] teach memory simplification about ASM instructions
@ 2021-02-21 22:34 Luc Van Oostenryck
  2021-02-21 22:34 ` [PATCH 1/5] reorg dominates() Luc Van Oostenryck
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Luc Van Oostenryck @ 2021-02-21 22:34 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

This series fixes simplify_memops() which didn't took in account the
fact that ASM instructions can also modify the content of the memory:
either because it contains an output memory operand, or because
it explicetly clobbers memory in some other way.

Luc Van Oostenryck (5):
  reorg dominates()
  asm-mem: add testcase for missing reload after asm memops
  asm-mem: does it clobber memory?
  asm-mem: does it output to memory?
  asm-mem: teach dominates() about OP_ASM

 flow.c                           | 17 +++++++++++++----
 linearize.c                      |  9 ++++++++-
 linearize.h                      |  2 ++
 validation/mem2reg/asm-reload0.c | 14 ++++++++++++++
 4 files changed, 37 insertions(+), 5 deletions(-)
 create mode 100644 validation/mem2reg/asm-reload0.c


base-commit: 2494587e823700458923052b17b0b981be92d776
-- 
2.30.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-21 22:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-21 22:34 [PATCH 0/5] teach memory simplification about ASM instructions Luc Van Oostenryck
2021-02-21 22:34 ` [PATCH 1/5] reorg dominates() Luc Van Oostenryck
2021-02-21 22:34 ` [PATCH 2/5] asm-mem: add testcase for missing reload after asm memops Luc Van Oostenryck
2021-02-21 22:34 ` [PATCH 3/5] asm-mem: does it clobber memory? Luc Van Oostenryck
2021-02-21 22:34 ` [PATCH 4/5] asm-mem: does it output to memory? Luc Van Oostenryck
2021-02-21 22:34 ` [PATCH 5/5] asm-mem: teach dominates() about OP_ASM Luc Van Oostenryck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.