brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 8046ea9 Raw
34 lines · cpp
1// RUN: %clang_cc1 -triple arm-linux-guneabi \2// RUN:   -target-cpu cortex-a8 \3// RUN:   -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-ARM %s4 5// RUN: %clang_cc1 -triple arm64-linux-gnueabi \6// RUN:   -target-feature +neon \7// RUN:   -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-AARCH64 %s8 9// RUN: %clang_cc1 -triple arm-linux-guneabi \10// RUN:   -target-cpu cortex-a8 -fexperimental-new-constant-interpreter \11// RUN:   -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-ARM %s12 13// RUN: %clang_cc1 -triple arm64-linux-gnueabi \14// RUN:   -target-feature +neon -fexperimental-new-constant-interpreter \15// RUN:   -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-AARCH64 %s16 17// REQUIRES: aarch64-registered-target || arm-registered-target18 19// Test if int64_t and uint64_t can be correctly mangled.20 21#include "arm_neon.h"22// CHECK-ARM: f1x(23// CHECK-AARCH64: f1l(24void f1(int64_t a) {}25// CHECK-ARM: f2y(26// CHECK-AARCH64: f2m(27void f2(uint64_t a) {}28// CHECK-ARM: f3Px(29// CHECK-AARCH64: f3Pl(30void f3(int64_t *ptr) {}31// CHECK-ARM: f4Py(32// CHECK-AARCH64: f4Pm(33void f4(uint64_t *ptr) {}34