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

Joseph Myers via llvm-dev llvm-dev at lists.llvm.org
Thu Jul 1 15:40:16 PDT 2021


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


More information about the llvm-dev mailing list