sim: cgen: add MUL2OFSI and MUL1OFSI functions (needed for OR1K l.mul[u])
authorPeter Gavin <pgavin@gmail.com>
Fri, 8 Dec 2017 20:57:25 +0000 (05:57 +0900)
committerStafford Horne <shorne@gmail.com>
Tue, 12 Dec 2017 14:43:02 +0000 (23:43 +0900)
commit58884b0e451043ed2fb4d2fba18134f0fb451ce5
treeafcfc4afe19d19e881a8b142a8d0291867f42dac
parent07b95864f35f19636e2a95eaf3083a8b18ac7cda
sim: cgen: add MUL2OFSI and MUL1OFSI functions (needed for OR1K l.mul[u])

sim/common/ChangeLog:

2017-12-12  Peter Gavin  <pgavin@gmail.com>
    Stafford Horne  <shorne@gmail.com>

* cgen-ops.h (MUL2OFSI): New function, 2's complement overflow
flag.
(MUL1OFSI): New function, 1's complement overflow flag.
sim/common/ChangeLog
sim/common/cgen-ops.h