r197069 - [AArch64] Refactor the NEON scalar floating-point reciprocal estimate, floating-
Chad Rosier
mcrosier at codeaurora.org
Wed Dec 11 13:03:53 PST 2013
Author: mcrosier
Date: Wed Dec 11 15:03:52 2013
New Revision: 197069
URL: http://llvm.org/viewvc/llvm-project?rev=197069&view=rev
Log:
[AArch64] Refactor the NEON scalar floating-point reciprocal estimate, floating-
point reciprocal exponent, and floating-point reciprocal square root estimate
LLVM AArch64 intrinsics to use f32/f64 types, rather than their vector
equivalents.
Modified:
cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuiltin.cpp?rev=197069&r1=197068&r2=197069&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Wed Dec 11 15:03:52 2013
@@ -2185,18 +2185,18 @@ static Value *EmitAArch64ScalarBuiltinEx
// Scalar Floating-point Reciprocal Estimate
case AArch64::BI__builtin_neon_vrecpes_f32:
case AArch64::BI__builtin_neon_vrecped_f64:
- Int = Intrinsic::arm_neon_vrecpe;
- s = "vrecpe"; IntTypes = VectorRet; break;
+ Int = Intrinsic::aarch64_neon_vrecpe;
+ s = "vrecpe"; IntTypes = ScalarRet; break;
// Scalar Floating-point Reciprocal Exponent
case AArch64::BI__builtin_neon_vrecpxs_f32:
case AArch64::BI__builtin_neon_vrecpxd_f64:
Int = Intrinsic::aarch64_neon_vrecpx;
- s = "vrecpx"; IntTypes = VectorRet; break;
+ s = "vrecpx"; IntTypes = ScalarRet; break;
// Scalar Floating-point Reciprocal Square Root Estimate
case AArch64::BI__builtin_neon_vrsqrtes_f32:
case AArch64::BI__builtin_neon_vrsqrted_f64:
- Int = Intrinsic::arm_neon_vrsqrte;
- s = "vrsqrte"; IntTypes = VectorRet; break;
+ Int = Intrinsic::aarch64_neon_vrsqrte;
+ s = "vrsqrte"; IntTypes = ScalarRet; break;
// Scalar Compare Equal
case AArch64::BI__builtin_neon_vceqd_s64:
case AArch64::BI__builtin_neon_vceqd_u64:
More information about the cfe-commits
mailing list