1 // REQUIRES: powerpc-registered-target 2 // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-cpu pwr10 \ 3 // RUN: -emit-llvm %s -o - | FileCheck %s 4 5 unsigned long long ulla, ullb; 6 test_pdepd(void)7unsigned long long test_pdepd(void) { 8 // CHECK: @llvm.ppc.pdepd 9 return __builtin_pdepd(ulla, ullb); 10 } 11 test_pextd(void)12unsigned long long test_pextd(void) { 13 // CHECK: @llvm.ppc.pextd 14 return __builtin_pextd(ulla, ullb); 15 } 16 test_cfuged(void)17unsigned long long test_cfuged(void) { 18 // CHECK: @llvm.ppc.cfuged 19 return __builtin_cfuged(ulla, ullb); 20 } 21 test_cntlzdm(void)22unsigned long long test_cntlzdm(void) { 23 // CHECK: @llvm.ppc.cntlzdm 24 return __builtin_cntlzdm(ulla, ullb); 25 } 26 test_cnttzdm(void)27unsigned long long test_cnttzdm(void) { 28 // CHECK: @llvm.ppc.cnttzdm 29 return __builtin_cnttzdm(ulla, ullb); 30 } 31