public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] OpenRISC Remove 64-bit support to fit 32-bit hosts (PR 25184)
@ 2020-05-02  2:20 Stafford Horne
  2020-05-02  2:20 ` [PATCH v2 1/2] or1k: Remove 64-bit support, it's not used and it breaks 32-bit hosts Stafford Horne
  2020-05-02  2:20 ` [PATCH v2 2/2] or1k: Regenerate opcodes after removing 32-bit support Stafford Horne
  0 siblings, 2 replies; 3+ messages in thread
From: Stafford Horne @ 2020-05-02  2:20 UTC (permalink / raw)
  To: GNU Binutils; +Cc: blue, stefan.kristiansson, Stafford Horne

Changes since v1:

 - Rebased, regenerate and retested

The issue was reported by Rich Felker, OpenRISC gas fails to calculate negative
offsets when running on 32-bit hosts.  I traced this back to having 64-bit
address space support in the CPU definitions.  It seems we could fix this by
either adding some fixes for cgen to support this case or by adding some custom
C to do the jump offset calculations.

However, realizing that OpenRISC 64-bit support is not tested, not used and no
hardware or simulators exist I am deciding removing it is easiest.

Stafford Horne (2):
  or1k: Remove 64-bit support, it's not used and it breaks 32-bit hosts
  or1k: Regenerate opcodes after removing 32-bit support

 cpu/or1k.cpu          |   35 +-
 cpu/or1kcommon.cpu    |   14 -
 cpu/or1korfpx.cpu     |   64 --
 opcodes/or1k-asm.c    |    9 -
 opcodes/or1k-desc.c   | 1811 +++++++++++++++++++----------------------
 opcodes/or1k-desc.h   |  332 ++++----
 opcodes/or1k-dis.c    |    9 -
 opcodes/or1k-ibld.c   |   62 +-
 opcodes/or1k-opc.c    |  152 ----
 opcodes/or1k-opc.h    |   28 +-
 opcodes/or1k-opinst.c |  428 +++++-----
 11 files changed, 1186 insertions(+), 1758 deletions(-)

-- 
2.21.0


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

end of thread, other threads:[~2020-05-02  2:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-02  2:20 [PATCH v2 0/2] OpenRISC Remove 64-bit support to fit 32-bit hosts (PR 25184) Stafford Horne
2020-05-02  2:20 ` [PATCH v2 1/2] or1k: Remove 64-bit support, it's not used and it breaks 32-bit hosts Stafford Horne
2020-05-02  2:20 ` [PATCH v2 2/2] or1k: Regenerate opcodes after removing 32-bit support Stafford Horne

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 read-only IMAP folder(s) and NNTP newsgroup(s).