|
Re: [RISC-V] [tech-unprivileged] [RISC-V] [tech-vector-ext] FP Trapped exceptions needed for portability
The question I have is whether having this in scalar only would be sufficient? If porting an application were to need exception traps, it seems plausible to disable compiler vectorization.
The MIPS
The question I have is whether having this in scalar only would be sufficient? If porting an application were to need exception traps, it seems plausible to disable compiler vectorization.
The MIPS
|
By
Earl Killian
·
#772
·
|
|
Re: [RISC-V] [tech-unprivileged] [RISC-V] [tech-vector-ext] FP Trapped exceptions needed for portability
Yes, this would be the obvious path to take.
Some use cases, including maybe this one, might prefer FP traps to be horizontal into user mode.
There is the old MIPS FPU pipeline trick of conservative
Yes, this would be the obvious path to take.
Some use cases, including maybe this one, might prefer FP traps to be horizontal into user mode.
There is the old MIPS FPU pipeline trick of conservative
|
By
Krste Asanovic
·
#771
·
|
|
Re: [EXT] Re: [RISC-V] [tech-vector-ext] FP Trapped exceptions needed for portability
Completely agree. Was very happy RISC-V did not include FPU exceptions.
Jeff
From: tech-vector-ext@... <tech-vector-ext@...>On Behalf Of Andrew Waterman via lists.riscv.org
Sent: Friday,
Completely agree. Was very happy RISC-V did not include FPU exceptions.
Jeff
From: tech-vector-ext@... <tech-vector-ext@...>On Behalf Of Andrew Waterman via lists.riscv.org
Sent: Friday,
|
By
Jeff Scott
·
#770
·
|
|
Re: FP Trapped exceptions needed for portability
Defining a standard extension that provides precise traps on FP exceptions seems like a reasonable thing to do, if only to facilitate the use case you mention in a standard way. The strategy would
Defining a standard extension that provides precise traps on FP exceptions seems like a reasonable thing to do, if only to facilitate the use case you mention in a standard way. The strategy would
|
By
Andrew Waterman
·
#769
·
|
|
FP Trapped exceptions needed for portability
While I understand that it had been decided long ago (relatively speaking) that RISC-V would not support trapping on floating-point exceptions, I am wondering if we need to revisit this.
I have heard
While I understand that it had been decided long ago (relatively speaking) that RISC-V would not support trapping on floating-point exceptions, I am wondering if we need to revisit this.
I have heard
|
By
Ken Dockser
·
#768
·
|
|
Re: The Width of vcsr and vstart
For the current V extension, it's correct to treat both vcsr and vstart as 32-bit registers. I agree the spec should clearly indicate whether or not these registers will always be 32 bits (like
For the current V extension, it's correct to treat both vcsr and vstart as 32-bit registers. I agree the spec should clearly indicate whether or not these registers will always be 32 bits (like
|
By
Andrew Waterman
·
#767
·
|
|
The Width of vcsr and vstart
Hi,all
Debuggers can use abstract commands to access CSRs. When using abstract commands, debuggers need to specify the bit width of CSRs. The bit widths of vcsr and vstart are not clearly defined in
Hi,all
Debuggers can use abstract commands to access CSRs. When using abstract commands, debuggers need to specify the bit width of CSRs. The bit widths of vcsr and vstart are not clearly defined in
|
By
Tianyi Xia <tianshi.xty@...>
·
#766
·
|
|
Re: Vector Memory Ordering
| Reviving this old thread with a question and a suggestion:
| Question: What is the use case for supporting non-idempotent memory in a RISC-V Vector implementation as a part of a general-purpose
|
| Reviving this old thread with a question and a suggestion:
| Question: What is the use case for supporting non-idempotent memory in a RISC-V Vector implementation as a part of a general-purpose
|
|
By
Krste Asanovic
·
#765
·
|
|
Re: RVV assembler and simulation
Upstream maniline binutils had rvv 1.0 support added recently. This isn't in any release yet, so you have to use the top of the development tree. Upstream LLVM has had rvv support for a while,
Upstream maniline binutils had rvv 1.0 support added recently. This isn't in any release yet, so you have to use the top of the development tree. Upstream LLVM has had rvv support for a while,
|
By
Jim Wilson
·
#764
·
|
|
Re: Vector Memory Ordering
Reviving this old thread with a question and a suggestion:
Question: What is the use case for supporting non-idempotent memory in a RISC-V Vector implementation as a part of a general-purpose rich-OS
Reviving this old thread with a question and a suggestion:
Question: What is the use case for supporting non-idempotent memory in a RISC-V Vector implementation as a part of a general-purpose rich-OS
|
By
Ken Dockser
·
#763
·
|
|
RVV assembler and simulation
I am working on some experiment and I need to simulate RVV r1.0. Is spike my best bet for this?
All I want to start with is writing bare metal assembly, and copy some memory buffers between the sim
I am working on some experiment and I need to simulate RVV r1.0. Is spike my best bet for this?
All I want to start with is writing bare metal assembly, and copy some memory buffers between the sim
|
By
Peter Lieber
·
#762
·
|
|
Re: RISC-V Vector Extension post-public review updates - fault flagging
Simple implementations could simply execute it sequentially. Or have the trap handler execute the loads sequentially if any of them fault.
We don't care how slowly malicious code runs.
It plays just
Simple implementations could simply execute it sequentially. Or have the trap handler execute the loads sequentially if any of them fault.
We don't care how slowly malicious code runs.
It plays just
|
By
Bruce Hoult
·
#761
·
|
|
Re: RISC-V Vector Extension post-public review updates - fault flagging
On 2021-11-17 10:33 p.m., Bill Huffman wrote:
First there is currently no ff gather.
But if there were, the vl would need to be truncated to the first in sequence that
On 2021-11-17 10:33 p.m., Bill Huffman wrote:
First there is currently no ff gather.
But if there were, the vl would need to be truncated to the first in sequence that
|
By
David Horner
·
#760
·
|
|
Re: RISC-V Vector Extension post-public review updates - fault flagging
So if I set up indexes on a ff gather so that I ensure the first one is legal while the rest access pages I want to probe, how does the higher privilege software know I learned about all those
So if I set up indexes on a ff gather so that I ensure the first one is legal while the rest access pages I want to probe, how does the higher privilege software know I learned about all those
|
By
Bill Huffman
·
#759
·
|
|
Re: RISC-V Vector Extension post-public review updates - fault flagging
The trap if first address bad is stipulated behaviour.
The other are not specified in the vector extension , but
1. the counter is part of the generalized performance spec.
2. Always trap but allow
The trap if first address bad is stipulated behaviour.
The other are not specified in the vector extension , but
1. the counter is part of the generalized performance spec.
2. Always trap but allow
|
By
David Horner
·
#758
·
|
|
Re: RISC-V Vector Extension post-public review updates - fault flagging
Are the mechanisms you mentioned hypothetical future ISA extensions, or something included in the current vector extension? In particular, I don't see anything about M-mode and/or HS-mode requesting a
Are the mechanisms you mentioned hypothetical future ISA extensions, or something included in the current vector extension? In particular, I don't see anything about M-mode and/or HS-mode requesting a
|
By
Jonathan Behrens <behrensj@...>
·
#757
·
|
|
Re: RISC-V Vector Extension post-public review updates - fault flagging
that should have been "The HS is in control, it can "leak" or not as it sees fit" obviously.
On 2021-11-17 9:16 p.m., David Horner via lists.riscv.org wrote:
that should have been "The HS is in control, it can "leak" or not as it sees fit" obviously.
On 2021-11-17 9:16 p.m., David Horner via lists.riscv.org wrote:
|
By
David Horner
·
#756
·
|
|
Re: RISC-V Vector Extension post-public review updates - fault flagging
On 2021-11-17 8:45 p.m., Andrew Waterman wrote:
The VS having this awareness can be very beneficial.
It allows the OS to better manage its resources. It can switch to
On 2021-11-17 8:45 p.m., Andrew Waterman wrote:
The VS having this awareness can be very beneficial.
It allows the OS to better manage its resources. It can switch to
|
By
David Horner
·
#755
·
|
|
Re: RISC-V Vector Extension post-public review updates - fault flagging
Yeah, agreed that detecting paged-out pages is a similar information leak. (Though I think COW is not relevant here, since we're only talking about load instructions.)
Yeah, agreed that detecting paged-out pages is a similar information leak. (Though I think COW is not relevant here, since we're only talking about load instructions.)
|
By
Andrew Waterman
·
#754
·
|
|
Re: RISC-V Vector Extension post-public review updates - fault flagging
The physical address space that the hypervisor tells the guest about may not match the one installed in hgatp. For instance, some pages of the guest's memory might be marked copy-on-write or swapped
The physical address space that the hypervisor tells the guest about may not match the one installed in hgatp. For instance, some pages of the guest's memory might be marked copy-on-write or swapped
|
By
Jonathan Behrens <behrensj@...>
·
#753
·
|