mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-05 01:36:39 +08:00
33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
From af106d252693b6af5c94d241fabed1c04cbb2fc6 Mon Sep 17 00:00:00 2001
|
|
From: Robert Jordens <jordens@gmail.com>
|
|
Date: Tue, 8 Jul 2014 22:35:58 -0600
|
|
Subject: [PATCH] exclude some broken aarch64 builtins
|
|
|
|
---
|
|
lib/CodeGen/CGBuiltin.cpp | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp
|
|
index 52e40db..d089ad3 100644
|
|
--- a/lib/CodeGen/CGBuiltin.cpp
|
|
+++ b/lib/CodeGen/CGBuiltin.cpp
|
|
@@ -1760,6 +1760,7 @@ static Value *EmitAArch64ScalarBuiltinExpr(CodeGenFunction &CGF,
|
|
// argument that specifies the vector type, need to handle each case.
|
|
switch (BuiltinID) {
|
|
default: break;
|
|
+#if 0
|
|
// Scalar Add
|
|
case AArch64::BI__builtin_neon_vaddd_s64:
|
|
Int = Intrinsic::aarch64_neon_vaddds;
|
|
@@ -1945,6 +1946,7 @@ static Value *EmitAArch64ScalarBuiltinExpr(CodeGenFunction &CGF,
|
|
case AArch64::BI__builtin_neon_vminnmvq_f32:
|
|
Int = Intrinsic::aarch64_neon_vminnmv;
|
|
AcrossVec = true; ExtendEle = false; s = "vminnmv"; break;
|
|
+#endif
|
|
}
|
|
|
|
if (!Int)
|
|
--
|
|
1.9.1
|
|
|