diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2018-07-04 12:13:17 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2018-07-04 12:13:17 +0000 |
commit | 80283b2af41749739742b53ce7100b248386ff68 (patch) | |
tree | 46530b8ee5843c9bd87a6a4da44536af752cb4c6 /clang/unittests/AST/ASTImporterTest.cpp | |
parent | bf591794f4abaeb167f077c859b661bc38c2e7a2 (diff) | |
download | bcm5719-llvm-80283b2af41749739742b53ce7100b248386ff68.tar.gz bcm5719-llvm-80283b2af41749739742b53ce7100b248386ff68.zip |
[AArch64][SVE] Asm: Support for FP conversion instructions.
The variants added are:
- fcvt (FP convert precision)
- scvtf (signed int -> FP)
- ucvtf (unsigned int -> FP)
- fcvtzs (FP -> signed int (round to zero))
- fcvtzu (FP -> unsigned int (round to zero))
For example:
fcvt z0.h, p0/m, z0.s (single- to half-precision FP)
scvtf z0.h, p0/m, z0.s (32-bit int to half-precision FP)
ucvtf z0.h, p0/m, z0.s (32-bit unsigned int to half-precision FP)
fcvtzs z0.s, p0/m, z0.h (half-precision FP to 32-bit int)
fcvtzu z0.s, p0/m, z0.h (half-precision FP to 32-bit unsigned int)
llvm-svn: 336265
Diffstat (limited to 'clang/unittests/AST/ASTImporterTest.cpp')
0 files changed, 0 insertions, 0 deletions