Hi Krste,
Why don’t we decouple FP16 from vector, as it should be a stand alone extension.
Best,
Po-wei
> kr...@berkeley.edu 於 2017年4月26日 下午5:11 寫道:
>
>
> FP16 is added as part of the V vector spec.
>
>
> Krste
>
>>>>>> On Wed, 26 Apr 2017 17:10:20 +0800, joxie xie <tshm...@gmail.com> said:
>
> | Hello RISC-V community,
> | We are evaluating if a RISC-V processor can be used in deep learning use cases,
> | for deep learning a FP16 is already good enough. AFAIK ARM provides
> | instructions to convert between FP16 and FP32 in VFPV3, I was wondering why
> | RISC-V does not have something similar, an extension with FP16 instructions
> | would be even better for small implementations using compressed ISA.
>
> | Any thoughts?
>
> | -Thanks
>
> | --
> | 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 post to this group, send email to isa...@groups.riscv.org.
> | Visit this group at https://groups.google.com/a/groups.riscv.org/group/isa-dev/
> | .
> | To view this discussion on the web visit https://groups.google.com/a/
> | groups.riscv.org/d/msgid/isa-dev/
> | CAGBX-%3DBHa3VmNKbqK6W8dB7kwCHvXEHY65k3XfGYrLSc5P3n3A%40mail.gmail.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+unsubscribe@groups.riscv.org.
> To post to this group, send email to isa...@groups.riscv.org.
> Visit this group at https://groups.google.com/a/groups.riscv.org/group/isa-dev/.
Hi Krste,
Why don’t we decouple FP16 from vector, as it should be a stand alone extension.
Best,
Po-wei
> kr...@berkeley.edu 於 2017年4月26日 下午5:11 寫道:
>
>
> FP16 is added as part of the V vector spec.
>
>
> Krste
>
>>>>>> On Wed, 26 Apr 2017 17:10:20 +0800, joxie xie <tshm...@gmail.com> said:
>
> | Hello RISC-V community,
> | We are evaluating if a RISC-V processor can be used in deep learning use cases,
> | for deep learning a FP16 is already good enough. AFAIK ARM provides
> | instructions to convert between FP16 and FP32 in VFPV3, I was wondering why
> | RISC-V does not have something similar, an extension with FP16 instructions
> | would be even better for small implementations using compressed ISA.
>
> | Any thoughts?
>
> | -Thanks
>
> | --
> | 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 post to this group, send email to isa...@groups.riscv.org.
> | Visit this group at https://groups.google.com/a/groups.riscv.org/group/isa-dev/
> | .
> | To view this discussion on the web visit https://groups.google.com/a/
> | groups.riscv.org/d/msgid/isa-dev/
> | CAGBX-%3DBHa3VmNKbqK6W8dB7kwCHvXEHY65k3XfGYrLSc5P3n3A%40mail.gmail.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+unsubscribe@groups.riscv.org.
> To post to this group, send email to isa...@groups.riscv.org.
> Visit this group at https://groups.google.com/a/groups.riscv.org/group/isa-dev/.
> To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/22784.25640.545433.712308%40KAMacBookPro2016.local.
--
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+unsubscribe@groups.riscv.org.
To post to this group, send email to isa...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/isa-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/583E0F37-00B1-4050-86FB-D5EAAA223A04%40gmail.com.
|| | to isa-dev+unsubscribe@groups.riscv.org.
|| | To post to this group, send email to isa...@groups.riscv.org.
|| | Visit this group at https://groups.google.com/a/groups.riscv.org/group/isa-dev/
|| | .
|| | To view this discussion on the web visit https://groups.google.com/a/
|| | groups.riscv.org/d/msgid/isa-dev/
|| | CAGBX-%3DBHa3VmNKbqK6W8dB7kwCHvXEHY65k3XfGYrLSc5P3n3A%40mail.gmail.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+unsubscribe@groups.riscv.org.
|| | to isa-dev+u...@groups.riscv.org.
|| | To post to this group, send email to isa...@groups.riscv.org.
|| | Visit this group at https://groups.google.com/a/groups.riscv.org/group/isa-dev/
|| | .
|| | To view this discussion on the web visit https://groups.google.com/a/
|| | groups.riscv.org/d/msgid/isa-dev/
|| | CAGBX-%3DBHa3VmNKbqK6W8dB7kwCHvXEHY65k3XfGYrLSc5P3n3A%40mail.gmail.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 post to this group, send email to isa...@groups.riscv.org.
|| Visit this group at https://groups.google.com/a/groups.riscv.org/group/isa-dev/.
|| To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/22784.25640.545433.712308%40KAMacBookPro2016.local.
--
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+unsubscribe@groups.riscv.org.
To post to this group, send email to isa...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/isa-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/CAGBX-%3DD3Yk7xLXF%3D41sS4j1txD-4eBFBCsZXS1ifpNapnmq_6A%40mail.gmail.com.
Rather than define separate load/stores that convert
in/out of FP16, we'd recommend fusing:
FLH f1, ...; FCVT.S.H f1, f1
and
FCVT.H.S f0, f1; FSH f0, ... # Can reuse f1 if dead after store.
if your application needs this.
I don't think we'd want to specify a subextension or profile for only
this subset.
Krste
-s
So far we've avoided a la carte-ing the user extensions to avoid a
proliferation of build modes. Right now V is not standard so any
subset of V is also not standard; I don't think it makes sense to
spend a lot of time discussing standard ways to subset nonstandard
extensions.