brintos

brintos / llvm-project-archived public Read only

0
0
Text · 661 B · 717a7d7 Raw
17 lines · c
1// REQUIRES: systemz-registered-target2// RUN: %clang_cc1 -target-cpu z17 -triple s390x-ibm-linux -Wall -Wno-unused -Werror -emit-llvm %s -o - | FileCheck %s3// RUN: %clang_cc1 -target-cpu z17 -triple s390x-ibm-linux -Wall -Wno-unused -Werror -emit-llvm -x c++ %s -o - | FileCheck %s4 5unsigned long test_bdepg(unsigned long a, unsigned long b) {6// CHECK-LABEL: test_bdepg7// CHECK: call i64 @llvm.s390.bdepg(i64 {{.*}}, i64 {{.*}})8  return __builtin_s390_bdepg(a, b);9}10 11unsigned long test_bextg(unsigned long a, unsigned long b) {12// CHECK-LABEL: test_bextg13// CHECK: call i64 @llvm.s390.bextg(i64 {{.*}}, i64 {{.*}})14  return __builtin_s390_bextg(a, b);15}16 17