diff options
author | Phoebe Wang <phoebe.wang@intel.com> | 2022-06-11 23:19:25 +0800 |
---|---|---|
committer | Phoebe Wang <phoebe.wang@intel.com> | 2022-06-12 11:40:00 +0800 |
commit | 2d2da259c8726fd5c974c01122a9689981a12196 (patch) | |
tree | 395c4c224bb5933bf49ce1d1e21de6da48113812 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 98052b6463e1df56e2a3b15ba12c889ea1fe38a7 (diff) | |
download | llvm-2d2da259c8726fd5c974c01122a9689981a12196.zip llvm-2d2da259c8726fd5c974c01122a9689981a12196.tar.gz llvm-2d2da259c8726fd5c974c01122a9689981a12196.tar.bz2 |
[X86][RFC] Enable `_Float16` type support on X86 following the psABI
GCC and Clang/LLVM will support `_Float16` on X86 in C/C++, following
the latest X86 psABI. (https://gitlab.com/x86-psABIs)
_Float16 arithmetic will be performed using native half-precision. If
native arithmetic instructions are not available, it will be performed
at a higher precision (currently always float) and then truncated down
to _Float16 immediately after each single arithmetic operation.
Reviewed By: LuoYuanke
Differential Revision: https://reviews.llvm.org/D107082
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions