* [libre-riscv-dev] AMD ISAs
@ 2020-06-09 23:15 Yehowshua
2020-06-09 23:16 ` Yehowshua
2020-06-09 23:21 ` Luke Kenneth Casson Leighton
0 siblings, 2 replies; 8+ messages in thread
From: Yehowshua @ 2020-06-09 23:15 UTC (permalink / raw)
To: Libre-RISCV General Development
All of AMDs ISA are open here.
https://gpuopen.com/documentation/amd-isa-documentation/ <https://gpuopen.com/documentation/amd-isa-documentation/>
It may be worthwhile trying to make our GPU “appear” to be an AMD device.
We wouldn’t have to write any drivers. At all.
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [libre-riscv-dev] AMD ISAs
2020-06-09 23:15 [libre-riscv-dev] AMD ISAs Yehowshua
@ 2020-06-09 23:16 ` Yehowshua
2020-06-09 23:18 ` Yehowshua
2020-06-09 23:25 ` Jacob Lifshay
2020-06-09 23:21 ` Luke Kenneth Casson Leighton
1 sibling, 2 replies; 8+ messages in thread
From: Yehowshua @ 2020-06-09 23:16 UTC (permalink / raw)
To: Libre-RISCV General Development
We could have a fake "PCIE AMD-like GPU" that AMD drivers talk to.
This device then issues instructions on the CPU/GPU hybrid.
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [libre-riscv-dev] AMD ISAs
2020-06-09 23:16 ` Yehowshua
@ 2020-06-09 23:18 ` Yehowshua
2020-06-09 23:25 ` Jacob Lifshay
1 sibling, 0 replies; 8+ messages in thread
From: Yehowshua @ 2020-06-09 23:18 UTC (permalink / raw)
To: Libre-RISCV General Development
I still support the path of writing our own drivers tailored to our
hybrid device in the future - but the AMD approach could definitely
be a low resistance path for our initial efforts.
Thoughts?
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [libre-riscv-dev] AMD ISAs
2020-06-09 23:16 ` Yehowshua
2020-06-09 23:18 ` Yehowshua
@ 2020-06-09 23:25 ` Jacob Lifshay
2020-06-10 0:59 ` Yehowshua
1 sibling, 1 reply; 8+ messages in thread
From: Jacob Lifshay @ 2020-06-09 23:25 UTC (permalink / raw)
To: Libre-RISCV General Development
On Tue, Jun 9, 2020, 16:17 Yehowshua <yimmanuel3@gatech.edu> wrote:
> We could have a fake "PCIE AMD-like GPU" that AMD drivers talk to.
> This device then issues instructions on the CPU/GPU hybrid.
>
we would run into issues with AMD's (and other's) patents, I'm pretty sure
they haven't licensed the patents necessary to implement an AMD-compatible
GPU.
Also, that would defeat the purpose of a lot of what we're implementing
with a Power compatible ISA, having the CPU and GPU be the same processor,
and having an extensible design such that someone could add their own
custom operations on top of our code if they wanted.
Jacob
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [libre-riscv-dev] AMD ISAs
2020-06-09 23:25 ` Jacob Lifshay
@ 2020-06-10 0:59 ` Yehowshua
2020-06-10 11:28 ` Luke Kenneth Casson Leighton
0 siblings, 1 reply; 8+ messages in thread
From: Yehowshua @ 2020-06-10 0:59 UTC (permalink / raw)
To: Libre-RISCV General Development
> Also, that would defeat the purpose of a lot of what we're implementing
> with a Power compatible ISA, having the CPU and GPU be the same processor,
> and having an extensible design such that someone could add their own
> custom operations on top of our code if they wanted.
Noted. Well, it was an interesting idea while it lasted.
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [libre-riscv-dev] AMD ISAs
2020-06-10 0:59 ` Yehowshua
@ 2020-06-10 11:28 ` Luke Kenneth Casson Leighton
0 siblings, 0 replies; 8+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-06-10 11:28 UTC (permalink / raw)
To: Libre-RISCV General Development
On Wed, Jun 10, 2020 at 1:59 AM Yehowshua <yimmanuel3@gatech.edu> wrote:
> > Also, that would defeat the purpose of a lot of what we're implementing
> > with a Power compatible ISA, having the CPU and GPU be the same processor,
> > and having an extensible design such that someone could add their own
> > custom operations on top of our code if they wanted.
>
> Noted. Well, it was an interesting idea while it lasted.
it's worth going over. in a similar way, we exhaustively evaluated
different ISAs to consider: MIPS, OpenRISC1200, and so on. AMDGPU did
have the advantage of MIAOW being a subset implementation of that ISA:
still as you can see it's not enough, because of the strong
simplification advantages of a hybrid CPU.
l.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [libre-riscv-dev] AMD ISAs
2020-06-09 23:15 [libre-riscv-dev] AMD ISAs Yehowshua
2020-06-09 23:16 ` Yehowshua
@ 2020-06-09 23:21 ` Luke Kenneth Casson Leighton
2020-06-09 23:23 ` Yehowshua
1 sibling, 1 reply; 8+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-06-09 23:21 UTC (permalink / raw)
To: Libre-RISCV General Development
On Wed, Jun 10, 2020 at 12:15 AM Yehowshua <yimmanuel3@gatech.edu> wrote:
>
> All of AMDs ISA are open here.
> https://gpuopen.com/documentation/amd-isa-documentation/ <https://gpuopen.com/documentation/amd-isa-documentation/>
>
> It may be worthwhile trying to make our GPU “appear” to be an AMD device.
the problem with doing so is that the processor effectively becomes
"Dual ISA". everyone that we've talked to with significant experience
in processor design has raised eyebrows at the complexity involved in
a dual-ISA design.
it is not an insurmountable issue: it just should in no way be
underestimated, for the trade-off of not having to write any kinds of
drivers.
in addition, we need to consider that the level of instruction
compression (which reduces shared L1 I-Cache usage) anticipated
through the hardware-level compression in SimpleV will be completely
unobtainable for AMDGPU ISA interoperability... because we will be
forced *to* have AMDGPU ISA interoperability.
l.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [libre-riscv-dev] AMD ISAs
2020-06-09 23:21 ` Luke Kenneth Casson Leighton
@ 2020-06-09 23:23 ` Yehowshua
0 siblings, 0 replies; 8+ messages in thread
From: Yehowshua @ 2020-06-09 23:23 UTC (permalink / raw)
To: Libre-RISCV General Development
> On Jun 9, 2020, at 7:21 PM, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:
>
> in addition, we need to consider that the level of instruction
> compression (which reduces shared L1 I-Cache usage) anticipated
> through the hardware-level compression in SimpleV will be completely
> unobtainable for AMDGPU ISA interoperability... because we will be
> forced *to* have AMDGPU ISA interoperability.
This is a valid point.
I’ll get back to you on this.
I feel like there is a good way to do this...
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, back to index
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09 23:15 [libre-riscv-dev] AMD ISAs Yehowshua
2020-06-09 23:16 ` Yehowshua
2020-06-09 23:18 ` Yehowshua
2020-06-09 23:25 ` Jacob Lifshay
2020-06-10 0:59 ` Yehowshua
2020-06-10 11:28 ` Luke Kenneth Casson Leighton
2020-06-09 23:21 ` Luke Kenneth Casson Leighton
2020-06-09 23:23 ` Yehowshua
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