linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] use a single multiplication instruction
@ 2018-02-18  9:15 Luc Van Oostenryck
  2018-02-18  9:15 ` [RFC PATCH 1/2] unsigned multiplication is also associative Luc Van Oostenryck
  2018-02-18  9:15 ` [RFC PATCH 2/2] no need for signed & unsigned multiplication Luc Van Oostenryck
  0 siblings, 2 replies; 3+ messages in thread
From: Luc Van Oostenryck @ 2018-02-18  9:15 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

These two patches replace the instrcutions for signed & unsigned
multiplication (OP_MULS & OP_MULU) by a single one: OP_MUL.

There is no reasons to have both since the IR doesn't do
full/widening multiplication.

Luc Van Oostenryck (2):
  unsigned multiplication is also associative
  no need for signed & unsigned multiplication

 Documentation/IR.md |  7 ++-----
 cse.c               |  4 ++--
 example.c           |  5 ++---
 linearize.c         |  9 ++++-----
 linearize.h         |  2 +-
 opcode.c            |  3 +--
 simplify.c          | 15 +++++----------
 sparse-llvm.c       |  6 +-----
 validation/int128.c |  2 +-
 9 files changed, 19 insertions(+), 34 deletions(-)

-- 
2.16.0


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

end of thread, other threads:[~2018-02-18  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-18  9:15 [RFC PATCH 0/2] use a single multiplication instruction Luc Van Oostenryck
2018-02-18  9:15 ` [RFC PATCH 1/2] unsigned multiplication is also associative Luc Van Oostenryck
2018-02-18  9:15 ` [RFC PATCH 2/2] no need for signed & unsigned multiplication 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).