* [libre-riscv-dev] Handling POWERVec Instructions
@ 2020-06-11 21:21 Yehowshua
2020-06-11 21:52 ` Luke Kenneth Casson Leighton
0 siblings, 1 reply; 2+ messages in thread
From: Yehowshua @ 2020-06-11 21:21 UTC (permalink / raw)
To: Libre-RISCV General Development
Just spitballing here…
But what we could do is trap and then scan the next 1024 instruction in software and JIT to SimpleV.
Maybe we should modify the Linux ELF loader so that in general, it scans binaries for any POWER instructions before placing them into memory, and if it sees any, it passes the binary to a POWERVec -> SimpleV jitter.
Jilting isn’t all that bad - after all - Android does it - and we only need it IF we have POWER instructions - which for most SBC use cases - is probably pretty rare.
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] 2+ messages in thread
* Re: [libre-riscv-dev] Handling POWERVec Instructions
2020-06-11 21:21 [libre-riscv-dev] Handling POWERVec Instructions Yehowshua
@ 2020-06-11 21:52 ` Luke Kenneth Casson Leighton
0 siblings, 0 replies; 2+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-06-11 21:52 UTC (permalink / raw)
To: Libre-RISCV General Development
On Thu, Jun 11, 2020 at 10:21 PM Yehowshua <yimmanuel3@gatech.edu> wrote:
>
> Just spitballing here…
>
> But what we could do is trap and then scan the next 1024 instruction in software and JIT to SimpleV.
it sounds reasonable enough to me. could be done as a parallel
project in a simulator.
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] 2+ messages in thread
end of thread, back to index
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 21:21 [libre-riscv-dev] Handling POWERVec Instructions Yehowshua
2020-06-11 21:52 ` Luke Kenneth Casson Leighton
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