1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-svn: 98499
This commit is contained in:
Anton Korobeynikov 2010-03-14 18:42:08 +00:00
parent e29762e78e
commit 2f953c5850

View File

@ -451,14 +451,12 @@ def int_trap : Intrinsic<[llvm_void_ty]>,
GCCBuiltin<"__builtin_trap">;
// Intrisics to support half precision floating point format
def int_convert_to_fp16 : Intrinsic<[llvm_i16_ty],
[llvm_float_ty],
[IntrNoMem]>,
let Properties = [IntrNoMem] in {
def int_convert_to_fp16 : Intrinsic<[llvm_i16_ty], [llvm_float_ty]>,
GCCBuiltin<"__gnu_f2h_ieee">;
def int_convert_from_fp16 : Intrinsic<[llvm_float_ty],
[llvm_i16_ty],
[IntrNoMem]>,
def int_convert_from_fp16 : Intrinsic<[llvm_float_ty], [llvm_i16_ty]>,
GCCBuiltin<"__gnu_h2f_ieee">;
}
// These convert intrinsics are to support various conversions between
// various types with rounding and saturation. NOTE: avoid using these