On Tue, Oct 31, 2023 at 08:31:25AM -0700, Carl Love wrote: > > I just found that actually they have the test coverage, because we > > have > > > > #define __builtin_bcdcmpeq(a,b) __builtin_vec_bcdsub_eq(a,b,0) > > #define __builtin_bcdcmpgt(a,b) __builtin_vec_bcdsub_gt(a,b,0) > > #define __builtin_bcdcmplt(a,b) __builtin_vec_bcdsub_lt(a,b,0) > > #define __builtin_bcdcmpge(a,b) __builtin_vec_bcdsub_ge(a,b,0) > > #define __builtin_bcdcmple(a,b) __builtin_vec_bcdsub_le(a,b,0) > > > > in altivec.h and gcc/testsuite/gcc.target/powerpc/bcd-4.c tests all > > these > > OK, my simple scripts are not going to pickup the stuff in altivec.h. > They were just grepping for the built-in name in the test file > directory.
You could use gcov to see which rs6000 builtins are not exercised by anything in the testsuite, maybe. This probably can be automated pretty nicely. Segher