linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] fix & extend mask related testcases
@ 2020-09-06 21:16 Luc Van Oostenryck
  2020-09-06 21:16 ` [PATCH v2 1/3] optim: fix some testcases related to bitfield manipulation Luc Van Oostenryck
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Luc Van Oostenryck @ 2020-09-06 21:16 UTC (permalink / raw)
  To: linux-sparse; +Cc: Ramsay Jones, Luc Van Oostenryck

This is a preparatory step for some incoming series.

Changes since v1:
* take in account Ramsay's remarks:
  * add some short explanation of the expected simplification
  * add a few tests of the absence of %arg[12]
  * s/shl_or_constant1/shl_or_constant2/ in shl_or_constant2.c
* move patch fixng existing testcases first.

Luc Van Oostenryck (3):
  optim: fix some testcases related to bitfield manipulation
  add more testcases for existing AND/OR simplifications
  add more testcases for AND/OR simplification

 validation/optim/and-lsr-or-shl0.c  | 13 +++++++++++++
 validation/optim/and-lsr-or-shl1.c  | 13 +++++++++++++
 validation/optim/and-shl-or-and0.c  | 15 +++++++++++++++
 validation/optim/and-shl-or-lsr0.c  | 13 +++++++++++++
 validation/optim/lsr-or-and0.c      | 22 ++++++++++++++++++++++
 validation/optim/lsr-or-lsr0.c      | 22 ++++++++++++++++++++++
 validation/optim/sext.c             |  7 +++----
 validation/optim/shl-or-constant0.c | 12 ++++++++++++
 validation/optim/shl-or-constant1.c | 12 ++++++++++++
 validation/optim/shl-or-constant2.c | 12 ++++++++++++
 validation/optim/trunc-or-shl.c     |  7 ++++++-
 validation/optim/trunc-or-shl0.c    | 22 ++++++++++++++++++++++
 12 files changed, 165 insertions(+), 5 deletions(-)
 create mode 100644 validation/optim/and-lsr-or-shl0.c
 create mode 100644 validation/optim/and-lsr-or-shl1.c
 create mode 100644 validation/optim/and-shl-or-and0.c
 create mode 100644 validation/optim/and-shl-or-lsr0.c
 create mode 100644 validation/optim/lsr-or-and0.c
 create mode 100644 validation/optim/lsr-or-lsr0.c
 create mode 100644 validation/optim/shl-or-constant0.c
 create mode 100644 validation/optim/shl-or-constant1.c
 create mode 100644 validation/optim/shl-or-constant2.c
 create mode 100644 validation/optim/trunc-or-shl0.c

-- 
2.28.0


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

end of thread, other threads:[~2020-09-08 19:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-06 21:16 [PATCH v2 0/3] fix & extend mask related testcases Luc Van Oostenryck
2020-09-06 21:16 ` [PATCH v2 1/3] optim: fix some testcases related to bitfield manipulation Luc Van Oostenryck
2020-09-06 21:16 ` [PATCH v2 2/3] add more testcases for existing AND/OR simplifications Luc Van Oostenryck
2020-09-06 21:54   ` Ramsay Jones
2020-09-07 22:28     ` Luc Van Oostenryck
2020-09-06 21:16 ` [PATCH v2 3/3] add more testcases for AND/OR simplification Luc Van Oostenryck
2020-09-07  0:15   ` Ramsay Jones
2020-09-07 22:21     ` Luc Van Oostenryck
2020-09-08 15:39       ` Ramsay Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).