From patchwork Fri Nov 19 02:01:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Koning X-Patchwork-Id: 72182 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 9B081B71D2 for ; Fri, 19 Nov 2010 13:01:39 +1100 (EST) Received: (qmail 7138 invoked by alias); 19 Nov 2010 02:01:37 -0000 Received: (qmail 7130 invoked by uid 22791); 19 Nov 2010 02:01:36 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ausc60pc101.us.dell.com (HELO ausc60pc101.us.dell.com) (143.166.85.206) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 19 Nov 2010 02:01:32 +0000 X-Loopcount0: from 10.152.240.141 From: Paul Koning Subject: [PATCH] pdp11: remove -mabshi Date: Thu, 18 Nov 2010 21:01:29 -0500 Message-Id: <0C7AC5B0-BC08-48EF-BD7C-E2BD060FA3D9@dell.com> To: gcc-patches Mime-Version: 1.0 (Apple Message framework v1081) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org The -mabshi switch turns on/off the builtin abs pattern, which is redundant with -builtin-abs; this patch removes that switch. Tested by test build. Committed. paul ChangeLog: 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. Index: config/pdp11/pdp11.md =================================================================== --- config/pdp11/pdp11.md (revision 166927) +++ config/pdp11/pdp11.md (working copy) @@ -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; Index: config/pdp11/pdp11.c =================================================================== --- config/pdp11/pdp11.c (revision 166927) +++ config/pdp11/pdp11.c (working copy) @@ -187,7 +187,7 @@ #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 Index: config/pdp11/pdp11.opt =================================================================== --- config/pdp11/pdp11.opt (revision 166927) +++ config/pdp11/pdp11.opt (working copy) @@ -30,10 +30,6 @@ 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)