[llvm-dev] [PATCH] Add optional _Float16 support

H.J. Lu via llvm-dev llvm-dev at lists.llvm.org
Thu Jul 1 16:01:45 PDT 2021


On Thu, Jul 1, 2021 at 3:40 PM Joseph Myers <joseph at codesourcery.com> wrote:
>
> On Thu, 1 Jul 2021, H.J. Lu wrote:
>
> > BTW, _Float16 software emulation may require more than just SSE
> > since we need to do _Float16 load and store with XMM registers.
> > There is no 16bit load/store for XMM registers without AVX512FP16.
>
> You should be able to make the move go via general-purpose registers (for
> example) if you can't do a direct 16-bit load/store for XMM registers.
>

There is no 16bit move between GPRs and XMM registers without
AVX512FP16.


-- 
H.J.


More information about the llvm-dev mailing list