linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] simplify CMP(AND(x,M), C) and CMP(OR(x,M), C)
@ 2021-03-10 21:49 Luc Van Oostenryck
  2021-03-10 21:49 ` [PATCH 1/9] change testing of signed compares against SMIN or SMAX Luc Van Oostenryck
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Luc Van Oostenryck @ 2021-03-10 21:49 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

This series contains simplifications of compaes between a constant
and a constant AND/OR mask.

Luc Van Oostenryck (9):
  change testing of signed compares against SMIN or SMAX
  add testcases for constant compares against AND/OR
  simplify (x & M) cmps C
  simplify (x & M) cmpu C
  simplify (x & M) cmps 0
  simplify (x & M) {==,!=} C
  simplify (x | M) {==,!=} C
  simplify (x | M) cmps C
  simplify (x | M) cmpu C

 simplify.c                     | 98 ++++++++++++++++++++++++++++++++++
 validation/optim/cmpe-and0.c   | 10 ++++
 validation/optim/cmpe-or0.c    | 10 ++++
 validation/optim/cmps-and0.c   | 21 ++++++++
 validation/optim/cmps-minmax.c |  8 +--
 validation/optim/cmps-or0.c    | 21 ++++++++
 validation/optim/cmps0-and0.c  | 12 +++++
 validation/optim/cmpu-and0.c   | 17 ++++++
 validation/optim/cmpu-or0.c    | 18 +++++++
 9 files changed, 211 insertions(+), 4 deletions(-)
 create mode 100644 validation/optim/cmpe-and0.c
 create mode 100644 validation/optim/cmpe-or0.c
 create mode 100644 validation/optim/cmps-and0.c
 create mode 100644 validation/optim/cmps-or0.c
 create mode 100644 validation/optim/cmps0-and0.c
 create mode 100644 validation/optim/cmpu-and0.c
 create mode 100644 validation/optim/cmpu-or0.c

-- 
2.30.0


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

end of thread, other threads:[~2021-03-10 22:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 21:49 [PATCH 0/9] simplify CMP(AND(x,M), C) and CMP(OR(x,M), C) Luc Van Oostenryck
2021-03-10 21:49 ` [PATCH 1/9] change testing of signed compares against SMIN or SMAX Luc Van Oostenryck
2021-03-10 21:49 ` [PATCH 2/9] add testcases for constant compares against AND/OR Luc Van Oostenryck
2021-03-10 21:49 ` [PATCH 3/9] simplify (x & M) cmps C Luc Van Oostenryck
2021-03-10 21:49 ` [PATCH 4/9] simplify (x & M) cmpu C Luc Van Oostenryck
2021-03-10 21:49 ` [PATCH 5/9] simplify (x & M) cmps 0 Luc Van Oostenryck
2021-03-10 21:49 ` [PATCH 6/9] simplify (x & M) {==,!=} C Luc Van Oostenryck
2021-03-10 21:49 ` [PATCH 7/9] simplify (x | " Luc Van Oostenryck
2021-03-10 21:49 ` [PATCH 8/9] simplify (x | M) cmps C Luc Van Oostenryck
2021-03-10 21:49 ` [PATCH 9/9] simplify (x | M) cmpu C Luc Van Oostenryck

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).