|
Re: reliably set vtype.vill
As usual, Krste is completely right. This was a matter of OpenOCD not doing what I thought it was doing. Thanks for your help.
Tim
As usual, Krste is completely right. This was a matter of OpenOCD not doing what I thought it was doing. Thanks for your help.
Tim
|
By
Tim Newsome
·
#707
·
|
|
Re: reliably set vtype.vill
Still could be worth a non-normative comment saying something like “even though there may not be a separate bit for vill, if the source register of a vsetvl instruction has bit XLEN-1 set, vtype
Still could be worth a non-normative comment saying something like “even though there may not be a separate bit for vill, if the source register of a vsetvl instruction has bit XLEN-1 set, vtype
|
By
Bill Huffman
·
#706
·
|
|
Re: reliably set vtype.vill
(newType >> 8) != 0;
This last clause in spike code would seem to catch the case in question ??
Krste
(newType >> 8) != 0;
This last clause in spike code would seem to catch the case in question ??
Krste
|
By
Krste Asanovic
·
#705
·
|
|
Re: reliably set vtype.vill
I think that deserves at least a non-normative comment. I think many won't intuit from what's below that a bit that's otherwise stated doesn't need to exist will be "set" that way.
But I agree
I think that deserves at least a non-normative comment. I think many won't intuit from what's below that a bit that's otherwise stated doesn't need to exist will be "set" that way.
But I agree
|
By
Bill Huffman
·
#704
·
|
|
Re: reliably set vtype.vill
vsetvli x1, x0, e8, m8
vsetvli x0, x0, e16, m8
Alex
vsetvli x1, x0, e8, m8
vsetvli x0, x0, e16, m8
Alex
|
By
Alex Solomatnikov
·
#703
·
|
|
Re: reliably set vtype.vill
From 1.0 spec:
"
The vsetvl variant operates similarly to vsetvli except that it takes a vtype value from rs2 and can be used for context restore.
If the vtype setting is not supported by the
From 1.0 spec:
"
The vsetvl variant operates similarly to vsetvli except that it takes a vtype value from rs2 and can be used for context restore.
If the vtype setting is not supported by the
|
By
Krste Asanovic
·
#702
·
|
|
Re: reliably set vtype.vill
Thanks. spike infers vill from the other bits when executing vsetvl (link), so the only way to set vill is to find an illegal combination from the other bits. The spec doesn't seem to explicitly say
Thanks. spike infers vill from the other bits when executing vsetvl (link), so the only way to set vill is to find an illegal combination from the other bits. The spec doesn't seem to explicitly say
|
By
Tim Newsome
·
#701
·
|
|
Re: reliably set vtype.vill
Put that value in a register and use the vsetvl instruction which takes a register argument for vtype.
Krste
Put that value in a register and use the vsetvl instruction which takes a register argument for vtype.
Krste
|
By
Krste Asanovic
·
#700
·
|
|
reliably set vtype.vill
I'm trying to set vill, and I can't think of a reliable way to do it.
This comes up when OpenOCD (a debugger) connects to a RV32 target where vtype contains (for instance) 0x80000000. The user asks to
I'm trying to set vill, and I can't think of a reliable way to do it.
This comes up when OpenOCD (a debugger) connects to a RV32 target where vtype contains (for instance) 0x80000000. The user asks to
|
By
Tim Newsome
·
#699
·
|
|
Re: Basic options for chaining vector loads?
Historically, vector machines have employed a wide variety of strategies here. Simply not executing past a vector memory access until exception checks have been performed is the simplest thing to do.
Historically, vector machines have employed a wide variety of strategies here. Simply not executing past a vector memory access until exception checks have been performed is the simplest thing to do.
|
By
andrew@...
·
#698
·
|
|
Basic options for chaining vector loads?
Hello all,
Could somebody please comment on the basic options related to chaining vector loads? It is easy to see how arithmetic vector instructions can be chained together. However, if a vector load
Hello all,
Could somebody please comment on the basic options related to chaining vector loads? It is easy to see how arithmetic vector instructions can be chained together. However, if a vector load
|
By
Arjan Bink
·
#697
·
|
|
Re: Is it safe to extend LMUL's maximum value based on current rc2 version?
I'm trying to understand the reason for this.
Do you need more than 32 register variables for some algorithm? (of course unrolling a loop can use arbitrary numbers of registers) How will you address
I'm trying to understand the reason for this.
Do you need more than 32 register variables for some algorithm? (of course unrolling a loop can use arbitrary numbers of registers) How will you address
|
By
Bruce Hoult
·
#696
·
|
|
Re: Is it safe to extend LMUL's maximum value based on current rc2 version?
Thank you for this very important consideration.
On 2021-10-05 6:29 a.m., Feng Chuang wrote:
Yes. The expectation is that many of the current constraints will be relaxed
Thank you for this very important consideration.
On 2021-10-05 6:29 a.m., Feng Chuang wrote:
Yes. The expectation is that many of the current constraints will be relaxed
|
By
David Horner
·
#695
·
|
|
Is it safe to extend LMUL's maximum value based on current rc2 version?
hi Krste and all friends,
Per my understanding, if I extend the vector architecture register number (to be larger than 32) and extend maximum LMUL value to be larger than 8, current vector extension
hi Krste and all friends,
Per my understanding, if I extend the vector architecture register number (to be larger than 32) and extend maximum LMUL value to be larger than 8, current vector extension
|
By
Feng Chuang
·
#694
·
|
|
Re: Configuring qemu for Vector Extension
Hi Mick,
This is what I do for 32-bit RISC-V Vector on ubuntu1804, admittedly it took me a long time to find a combination that worked and I had help to get the correct switches:
Risc-V
Hi Mick,
This is what I do for 32-bit RISC-V Vector on ubuntu1804, admittedly it took me a long time to find a combination that worked and I had help to get the correct switches:
Risc-V
|
By
Tony Cole
·
#693
·
|
|
Re: Configuring qemu for Vector Extension
That's true. :)
Providing full support for Vector extension is already on the todo-list of
CAS/PLCT Lab.
Vector extension is one of the extensions that are included in an
all-in-one developer
That's true. :)
Providing full support for Vector extension is already on the todo-list of
CAS/PLCT Lab.
Vector extension is one of the extensions that are included in an
all-in-one developer
|
By
Wei Wu (吴伟)
·
#692
·
|
|
Vector 1.0 ready for public review
I’ve made a frozen release of version 1.0 ready for public review.
The release is tagged:
https://github.com/riscv/riscv-v-spec/releases/tag/v1.0
and I’ve attached pdf below.
The main repo has
I’ve made a frozen release of version 1.0 ready for public review.
The release is tagged:
https://github.com/riscv/riscv-v-spec/releases/tag/v1.0
and I’ve attached pdf below.
The main repo has
|
By
Krste Asanovic
·
#691
·
|
|
Re: Configuring qemu for Vector Extension
I don't do LLVM work, and can't offer any suggestions there.
In general, I'd say that if you don't have a half dozen people doing assembler, compiler, simulator, kernel, library, etc work, then you
I don't do LLVM work, and can't offer any suggestions there.
In general, I'd say that if you don't have a half dozen people doing assembler, compiler, simulator, kernel, library, etc work, then you
|
By
Jim Wilson
·
#690
·
|
|
Re: Configuring qemu for Vector Extension
I see.
I'm ashamed to admit, but I am now really lost between all the permutations of Vector ext. revisions and toolchain versions that I've attempted without success.
At this point, I'd just like to
I see.
I'm ashamed to admit, but I am now really lost between all the permutations of Vector ext. revisions and toolchain versions that I've attempted without success.
At this point, I'd just like to
|
By
Mick Thomas Lim
·
#689
·
|
|
Re: Configuring qemu for Vector Extension
V-extension version 1.0 hasn't been frozen yet. Its second release candidate was posted just yesterday:
https://github.com/riscv/riscv-v-spec/releases/tag/v1.0-rc2
I wouldn't expect toolchain support
V-extension version 1.0 hasn't been frozen yet. Its second release candidate was posted just yesterday:
https://github.com/riscv/riscv-v-spec/releases/tag/v1.0-rc2
I wouldn't expect toolchain support
|
By
Nick Knight
·
#688
·
|