From b0057783c7ce406c83b4dbd6a8cfe76ed8540e0e Mon Sep 17 00:00:00 2001 From: Prathamesh Kulkarni Date: Fri, 14 Oct 2016 05:57:33 +0000 Subject: [PATCH] optabs.def: Remove optab function gen_int_libfunc for sdivmod_optab and udivmod_optab. 2016-10-14 Prathamesh Kulkarni * optabs.def: Remove optab function gen_int_libfunc for sdivmod_optab and udivmod_optab. From-SVN: r241147 --- gcc/ChangeLog | 5 +++++ gcc/optabs.def | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae99273eb3a..48bcdb8d8e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-10-14 Prathamesh Kulkarni + + * optabs.def: Remove optab function gen_int_libfunc for sdivmod_optab and + udivmod_optab. + 2016-10-13 Andreas Schwab * config/m68k/m68k.c (m68k_option_override): Check diff --git a/gcc/optabs.def b/gcc/optabs.def index 8875e30d416..8a64ce17210 100644 --- a/gcc/optabs.def +++ b/gcc/optabs.def @@ -116,8 +116,8 @@ OPTAB_NL(ssdiv_optab, "ssdiv$Q$a3", SS_DIV, "ssdiv", '3', gen_signed_fixed_libfu OPTAB_NL(udiv_optab, "udiv$I$a3", UDIV, "udiv", '3', gen_int_unsigned_fixed_libfunc) OPTAB_NX(udiv_optab, "udiv$Q$a3") OPTAB_NL(usdiv_optab, "usdiv$Q$a3", US_DIV, "usdiv", '3', gen_unsigned_fixed_libfunc) -OPTAB_NL(sdivmod_optab, "divmod$a4", UNKNOWN, "divmod", '4', gen_int_libfunc) -OPTAB_NL(udivmod_optab, "udivmod$a4", UNKNOWN, "udivmod", '4', gen_int_libfunc) +OPTAB_NC(sdivmod_optab, "divmod$a4", UNKNOWN) +OPTAB_NC(udivmod_optab, "udivmod$a4", UNKNOWN) OPTAB_NL(smod_optab, "mod$a3", MOD, "mod", '3', gen_int_libfunc) OPTAB_NL(umod_optab, "umod$a3", UMOD, "umod", '3', gen_int_libfunc) OPTAB_NL(ftrunc_optab, "ftrunc$F$a2", UNKNOWN, "ftrunc", '2', gen_fp_libfunc) -- 2.30.2