[RFC PATCH 0/2] use a single multiplication instruction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux