Joseph Myers via llvm-dev
2021-Jul-01 22:40 UTC
[llvm-dev] [PATCH] Add optional _Float16 support
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. -- Joseph S. Myers joseph at codesourcery.com
H.J. Lu via llvm-dev
2021-Jul-01 23:01 UTC
[llvm-dev] [PATCH] Add optional _Float16 support
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.