From: Richard Sandiford Date: Thu, 17 Aug 2017 16:31:09 +0000 (+0000) Subject: Add missing ECF_NOTHROW flags to internal.def X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8c770ddb4b5499780a5e2d58c861a9c903cdd29;p=gcc.git Add missing ECF_NOTHROW flags to internal.def This patch adds missing ECF_NOTHROW flags to the vectorisable integer internal functions. 2017-08-17 Richard Sandiford gcc/ * internal-fn.def (CLRSB, CLZ, CTZ, FFS, PARITY, POPCOUNT): Add missing ECF_NOTHROW flags. From-SVN: r251155 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5ccbeddd7a3..a51c2599a77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-08-17 Richard Sandiford + + * internal-fn.def (CLRSB, CLZ, CTZ, FFS, PARITY, POPCOUNT): Add + missing ECF_NOTHROW flags. + 2017-08-17 Peter Bergner PR target/72804 diff --git a/gcc/internal-fn.def b/gcc/internal-fn.def index b1211159845..e21e125a339 100644 --- a/gcc/internal-fn.def +++ b/gcc/internal-fn.def @@ -135,12 +135,12 @@ DEF_INTERNAL_OPTAB_FN (XORSIGN, ECF_CONST, xorsign, binary) DEF_INTERNAL_FLT_FN (LDEXP, ECF_CONST, ldexp, binary) /* Unary integer ops. */ -DEF_INTERNAL_INT_FN (CLRSB, ECF_CONST, clrsb, unary) -DEF_INTERNAL_INT_FN (CLZ, ECF_CONST, clz, unary) -DEF_INTERNAL_INT_FN (CTZ, ECF_CONST, ctz, unary) -DEF_INTERNAL_INT_FN (FFS, ECF_CONST, ffs, unary) -DEF_INTERNAL_INT_FN (PARITY, ECF_CONST, parity, unary) -DEF_INTERNAL_INT_FN (POPCOUNT, ECF_CONST, popcount, unary) +DEF_INTERNAL_INT_FN (CLRSB, ECF_CONST | ECF_NOTHROW, clrsb, unary) +DEF_INTERNAL_INT_FN (CLZ, ECF_CONST | ECF_NOTHROW, clz, unary) +DEF_INTERNAL_INT_FN (CTZ, ECF_CONST | ECF_NOTHROW, ctz, unary) +DEF_INTERNAL_INT_FN (FFS, ECF_CONST | ECF_NOTHROW, ffs, unary) +DEF_INTERNAL_INT_FN (PARITY, ECF_CONST | ECF_NOTHROW, parity, unary) +DEF_INTERNAL_INT_FN (POPCOUNT, ECF_CONST | ECF_NOTHROW, popcount, unary) DEF_INTERNAL_FN (GOMP_USE_SIMT, ECF_NOVOPS | ECF_LEAF | ECF_NOTHROW, NULL) DEF_INTERNAL_FN (GOMP_SIMT_ENTER, ECF_LEAF | ECF_NOTHROW, NULL)