Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] PowerISA 3.1 (Power10) spec released
Date: Tue, 12 May 2020 09:33:52 +0100
Message-ID: <CAPweEDxqj+YZZyKXHL+=9uhGpRb5GEZeHtQw-Z=mx=_6ZCN3Sg@mail.gmail.com> (raw)
In-Reply-To: <20200512112314.1e2bb6d08199e725106fe98a@gmx.com>

On Tue, May 12, 2020 at 9:22 AM Lauri Kasanen <cand@gmx.com> wrote:

> It's just a name though, even the doc says you can run Linux on the
> lower levels.

yes... you can.... however note the phrase "Linux Compliancy".  this
means that they have plans for actual Compliance Test Suites.  this in
turn will mean that

one option therefore is to have a software-driven emulator mode for
SIMD.  this would be our responsibility to write and maintain.

> It's fine for libresoc to be at the int+fp level, and
> include optional features from above that are useful. I just wanted to
> point out the BE/LE requirement as it surprised me at least.

yeh - in the West it is just not known that the majority of S.E.Asia
industry runs on BE hardware that is often 40 years old (VME Bus).

> BE for instructions is not full BE, as data changes too.

i recall (and could be wrong about) seeing that there's different
bits, one covering instructions, one covering data.  would need to
read them more closely.  are you saying that the BE-for-instructions
bit will flip *data* order as well?

 See Section 1.10 of Book I and its first two subsections. Also see
the description
 of the ILE field of the LPCR in Section 2.2 of Book III and the
description of the
 LE bit of the MSR in Section 4.2.1 of Book III.

p1122:

Interrupt Little-Endian (ILE)
The contents of the ILE bit are copied into
MSRLE by interrupts that set MSRHV to 0 (see

p1146:

63 Little-Endian Mode (LE)
0 The thread is in Big-Endian mode.
1 The thread is in Little-Endian mode.


if we are to flip the instruction stream to BE mode (to support the
SVP/C/VBLOCK capability) we definitely don't want data to flip as
well.

bottom line: if there *isn't* a separate bit for instructions-BE/LE
and data-BE/LE, we definitely need one.

l.

_______________________________________________
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: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 17:34 Lauri Kasanen
2020-05-11 18:25 ` Luke Kenneth Casson Leighton
2020-05-11 18:28   ` Luke Kenneth Casson Leighton
2020-05-11 18:31   ` Yehowshua
2020-05-11 18:37     ` Luke Kenneth Casson Leighton
2020-05-12  6:01 ` Lauri Kasanen
2020-05-12  6:27   ` Jacob Lifshay
2020-05-12  6:44     ` Lauri Kasanen
2020-05-12  7:06       ` Jacob Lifshay
2020-05-12  7:56         ` Luke Kenneth Casson Leighton
2020-05-12 13:55           ` Hendrik Boom
2020-05-12 14:46             ` Luke Kenneth Casson Leighton
2020-05-12 15:11               ` Hendrik Boom
2020-05-12 15:56                 ` Luke Kenneth Casson Leighton
2020-05-12  7:36   ` Luke Kenneth Casson Leighton
2020-05-12  7:50   ` Luke Kenneth Casson Leighton
2020-05-12  8:23     ` Lauri Kasanen
2020-05-12  8:33       ` Luke Kenneth Casson Leighton [this message]
2020-05-12  8:50         ` Lauri Kasanen
2020-05-12  9:09           ` 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='CAPweEDxqj+YZZyKXHL+=9uhGpRb5GEZeHtQw-Z=mx=_6ZCN3Sg@mail.gmail.com' \
    --to=lkcl@lkcl.net \
    --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