================
@@ -0,0 +1,74 @@
+// RUN: %clang_cc1 -x c -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse4.1
-emit-llvm -o - -Wall -Werror | FileCheck %s --check-prefixes=CHECK
+// RUN: %clang_cc1 -x c -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse4.1
-fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s
--check-prefixes=CHECK
+// RUN: %clang_cc1 -x c -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=i386-apple-darwin -target-feature +sse4.1 -emit-llvm
-o - -Wall -Werror | FileCheck %s --check-prefixes=CHECK
+// RUN: %clang_cc1 -x c -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=i386-apple-darwin -target-feature +sse4.1
-fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s
--check-prefixes=CHECK
+// RUN: %clang_cc1 -x c++ -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse4.1
-emit-llvm -o - -Wall -Werror | FileCheck %s --check-prefixes=CHECK
+// RUN: %clang_cc1 -x c++ -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse4.1
-fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s
--check-prefixes=CHECK
+// RUN: %clang_cc1 -x c++ -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=i386-apple-darwin -target-feature +sse4.1 -emit-llvm
-o - -Wall -Werror | FileCheck %s --check-prefixes=CHECK
+// RUN: %clang_cc1 -x c++ -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=i386-apple-darwin -target-feature +sse4.1
-fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s
--check-prefixes=CHECK
+
+// RUN: %clang_cc1 -x c -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse4.1
-emit-llvm -o - -Wall -Werror -fexperimental-new-constant-interpreter |
FileCheck %s --check-prefixes=CHECK
+// RUN: %clang_cc1 -x c -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse4.1
-fno-signed-char -emit-llvm -o - -Wall -Werror
-fexperimental-new-constant-interpreter | FileCheck %s --check-prefixes=CHECK
+// RUN: %clang_cc1 -x c -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=i386-apple-darwin -target-feature +sse4.1 -emit-llvm
-o - -Wall -Werror -fexperimental-new-constant-interpreter | FileCheck %s
--check-prefixes=CHECK
+// RUN: %clang_cc1 -x c -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=i386-apple-darwin -target-feature +sse4.1
-fno-signed-char -emit-llvm -o - -Wall -Werror
-fexperimental-new-constant-interpreter | FileCheck %s --check-prefixes=CHECK
+// RUN: %clang_cc1 -x c++ -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse4.1
-emit-llvm -o - -Wall -Werror -fexperimental-new-constant-interpreter |
FileCheck %s --check-prefixes=CHECK
+// RUN: %clang_cc1 -x c++ -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse4.1
-fno-signed-char -emit-llvm -o - -Wall -Werror
-fexperimental-new-constant-interpreter | FileCheck %s --check-prefixes=CHECK
+// RUN: %clang_cc1 -x c++ -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=i386-apple-darwin -target-feature +sse4.1 -emit-llvm
-o - -Wall -Werror -fexperimental-new-constant-interpreter | FileCheck %s
--check-prefixes=CHECK
+// RUN: %clang_cc1 -x c++ -frounding-math -flax-vector-conversions=none
-ffreestanding %s -triple=i386-apple-darwin -target-feature +sse4.1
-fno-signed-char -emit-llvm -o - -Wall -Werror
-fexperimental-new-constant-interpreter | FileCheck %s --check-prefixes=CHECK
+
+
+#include <immintrin.h>
+#include "builtin_test_helpers.h"
+
+__m128d test_mm_round_pd1(__m128d x) {
----------------
RKSimon wrote:
avoid sequential numbering of tests - improve the descriptions with something
like test_mm_round_pd_nearbyint
https://github.com/llvm/llvm-project/pull/171227
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits