[PATCH 0/2] cse: compare adjacent instructions

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

 



Currently some CSE opportunities are missed because in a set
of equivalent instructions the comparison is always done with
the first instructions. If it happens that this first instruction
doesn't dominate the others, none of them will be CSEed away.
This series improve this by comparing instead pair of instructions
adjacent in the CSE lists which improves locality and thus
misses less CSE opportunities.


Luc Van Oostenryck (2):
  cse: add testcase for missed opportunity
  cse: move to next comparable instruction

 cse.c                           |  2 ++
 validation/optim/cse-cmp-next.c | 15 +++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 validation/optim/cse-cmp-next.c

-- 
2.17.1

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