From: Paul Koning Date: Fri, 19 Nov 2010 01:57:00 +0000 (-0500) Subject: pdp11.md (abshi2): Delete TARGET_ABSHI_BUILTIN. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13478fb03982669ad0d8230f3a9220d10b80cb13;p=gcc.git pdp11.md (abshi2): Delete TARGET_ABSHI_BUILTIN. * config/pdp11/pdp11.md (abshi2): Delete TARGET_ABSHI_BUILTIN. * config/pdp11/pdp11.c (TARGET_DEFAULT_TARGET_FLAGS): Ditto. * config/pdp11/pdp11.opt (-mabshi): Delete. From-SVN: r166928 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6a5f5541f30..3f6bbf6c82e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-11-18 Paul Koning + + * config/pdp11/pdp11.md (abshi2): Delete TARGET_ABSHI_BUILTIN. + * config/pdp11/pdp11.c (TARGET_DEFAULT_TARGET_FLAGS): Ditto. + * config/pdp11/pdp11.opt (-mabshi): Delete. + 2010-11-19 Mingjie Xing * resource.h (struct resources): Fix typo in the comment. diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c index 3c6c9c5c97b..760026df7d2 100644 --- a/gcc/config/pdp11/pdp11.c +++ b/gcc/config/pdp11/pdp11.c @@ -187,7 +187,7 @@ static const struct default_options pdp11_option_optimization_table[] = #undef TARGET_DEFAULT_TARGET_FLAGS #define TARGET_DEFAULT_TARGET_FLAGS \ - (MASK_FPU | MASK_45 | MASK_ABSHI_BUILTIN | TARGET_UNIX_ASM_DEFAULT) + (MASK_FPU | MASK_45 | TARGET_UNIX_ASM_DEFAULT) #undef TARGET_HANDLE_OPTION #define TARGET_HANDLE_OPTION pdp11_handle_option #undef TARGET_OPTION_OPTIMIZATION_TABLE diff --git a/gcc/config/pdp11/pdp11.md b/gcc/config/pdp11/pdp11.md index 8f5f9197518..1176440179f 100644 --- a/gcc/config/pdp11/pdp11.md +++ b/gcc/config/pdp11/pdp11.md @@ -1068,7 +1068,7 @@ (define_insn "abshi2" [(set (match_operand:HI 0 "nonimmediate_operand" "=r,o") (abs:HI (match_operand:HI 1 "general_operand" "0,0")))] - "TARGET_ABSHI_BUILTIN" + "" "* { static int count = 0; diff --git a/gcc/config/pdp11/pdp11.opt b/gcc/config/pdp11/pdp11.opt index 229b7295764..6fff5ffa789 100644 --- a/gcc/config/pdp11/pdp11.opt +++ b/gcc/config/pdp11/pdp11.opt @@ -30,10 +30,6 @@ m45 Target Report Mask(45) Generate code for an 11/45 -mabshi -Target Report Mask(ABSHI_BUILTIN) -Use 16-bit abs patterns - mac0 Target Report Mask(AC0) Return floating-point results in ac0 (fr0 in Unix assembler syntax)