Has there been any discussions of an extension that only includes 16b instructions? Can you have Zc* without RV32I? I assume some things only exist in 32b instructions today that would require a 16b variant to do this?
Jeff
![]() | |
On Feb 3, 2023, at 2:20 PM, Jeff Scott <jeff....@nxp.com> wrote:
Has there been any discussions of an extension that only includes 16b instructions? Can you have Zc* without RV32I? I assume some things only exist in 32b instructions today that would require a 16b variant to do this?
Jeff
--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/PA4PR04MB8014E5AEA8B4D2850417E1FA8DD79%40PA4PR04MB8014.eurprd04.prod.outlook.com.
On Feb 3, 2023, at 2:33 PM, Daniel Petrisko <petr...@cs.washington.edu> wrote:
Not quite “only” but that’s the intention of this project.Best,DanOn Feb 3, 2023, at 2:20 PM, Jeff Scott <jeff....@nxp.com> wrote:Has there been any discussions of an extension that only includes 16b instructions? Can you have Zc* without RV32I? I assume some things only exist in 32b instructions today that would require a 16b variant to do this?Jeff--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/PA4PR04MB8014E5AEA8B4D2850417E1FA8DD79%40PA4PR04MB8014.eurprd04.prod.outlook.com.--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/4A8D9091-B49B-424E-963C-BEA4080076E9%40cs.washington.edu.
Thanks for the info Dan. I’ll take a look at this on Monday.
Krste, any quantitative numbers for impact on code size? Rough guess of penalty?
Jeff
From: Krste Asanovic <kr...@sifive.com>
Sent: Friday, February 3, 2023 5:06 PM
To: Daniel Petrisko <petr...@cs.washington.edu>
Cc: Jeff Scott <jeff....@nxp.com>; isa...@groups.riscv.org
Subject: [EXT] Re: [isa-dev] Only 16b instructions RISC-V
Caution: EXT Email
On Feb 3, 2023, at 3:33 PM, Jeff Scott <jeff....@nxp.com> wrote:Thanks for the info Dan. I’ll take a look at this on Monday.Krste, any quantitative numbers for impact on code size? Rough guess of penalty?
On 2/6/2023 9:11 PM, Krste Asanovic wrote:
>
>
>> On Feb 6, 2023, at 7:07 PM, Jan Gray <j...@fpga.org> wrote:
>>
>> Jeff Scott wrote
>>> An ISA with prefix encodings may or may not count, however with a prefix encoding one needs one of: ...
>>> To block interrupts between a prefix and the following instruction
>>> Any prefix state needs also to be architectural state than can be preserved across an interrupt.
>>
>> When an immediate prefix instruction is uninterruptible a.k.a. interlocked, it need not incur nor expose any architectural state. By definition, no interrupt issues before the instruction that consumes the immediate value issues. Thus there is no microarchitectural immediate prefix state to be preserved. Simple and frugal.
>
> So, can we rebrand RV32IC as a fixed 16b instruction encoding, that just happens to have quite a few prefixes that must be uninterruptible :-)
>
You could, but this would be kinda absurd...
But, admittedly, I don't consider Thumb-2 to be fixed 16-bit, for
similar reasons to why I would not consider RV32IC to be such.
Nor would I consider BJX2 to fit into this category.
...
Even if, yeah, all 3 ISAs make use of 16-bit instructions.
As I can also note, like Thumb2, my ISA had started out originally as a
primarily 16-bit ISA design which then grew 32-bit instructions. A
little later, when re-evaluating whether the fixed-length subset should
be the 16 or 32 bit variant, the fixed-length 32-bit subset was "the
clear winner" in terms of performance. The code-density difference was
small enough that in this case performance ended up being the deciding
factor.
> Krste
>
>>
>> Jan.
>>
>> Jan Gray | Gray Research LLC
>>
>> --
>> You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
>> To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/MWHPR10MB19827F146BF987D0743E35BDDBDB9%40MWHPR10MB1982.namprd10.prod.outlook.com.
>
--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/3e8a0c29-e2cd-dfe4-2ce6-25760c139d19%40gmail.com.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/PA4PR04MB80144902B8571A6671A272098DDA9%40PA4PR04MB8014.eurprd04.prod.outlook.com.
I found this very interesting Shumpei. Thanks for sharing!
Jeff
--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/20230208005010.0C03CEC2F35%40serpent.at.major2nd.com.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/CACmbX7n-Abv1XBk0_O7ZJAimvE%3DpAN88VLsUEGiReZDOA4bJHA%40mail.gmail.com.
Allen,
I am not clear on this statement:
“For example most small ARM designs have 8 or 16 bit wide instruction memory with lots of wait states .”
This is not at all what I have personally seen. Am I misunderstanding what he said?
Jeff
--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/20230208005010.0C03CEC2F35%40serpent.at.major2nd.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/c741b404-78b3-4265-bf2a-3a2abc25cd8en%40groups.riscv.org.