Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Lauri Kasanen <cand@gmx.com>
To: libre-riscv-dev@lists.libre-riscv.org
Subject: Re: [libre-riscv-dev] more compatible alternative to BE instructions on LE processor
Date: Wed, 13 May 2020 09:29:53 +0300
Message-ID: <20200513092953.f9475239874f2b1ff1f29fd3@gmx.com> (raw)
In-Reply-To: <CAC2bXD4xp7+4qWk1Frg4mW+ukuLPBs0=2wCB=ZCz4=pWeV46Gw@mail.gmail.com>

On Tue, 12 May 2020 19:56:45 -0700
Jacob Lifshay <programmerjake@gmail.com> wrote:

> Since having the instruction stream be BE is not directly compatible with
> existing LE instructions since calling between them requires a mode switch
> to switch endian, I propose a different solution that doesn't require any
> mode switch, is compatible with LE instructions, and allows supporting
> instructions that are any size, though will probably be limited to
> multiples of 16 bits.

The PowerISA 3.1 doc adds a 32-bit prefix (page 46 of the pdf (reader),
page 22 of the official naming). I didn't go into details, but for such
plans it'd be good to take into account.

- Lauri

_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13  2:56 Jacob Lifshay
2020-05-13  6:29 ` Lauri Kasanen [this message]
2020-05-13  8:09   ` Luke Kenneth Casson Leighton
2020-05-13  8:17 ` Luke Kenneth Casson Leighton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200513092953.f9475239874f2b1ff1f29fd3@gmx.com \
    --to=cand@gmx.com \
    --cc=libre-riscv-dev@lists.libre-riscv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git