From patchwork Wed Sep 17 21:38:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 390561 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0C5D31400E2 for ; Thu, 18 Sep 2014 07:38:39 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=Bhs0CzouYLfRtJHT6h65g1S1MLpn+ zhE5FDG71CIscXGkaE4iIEaOgf/XNk/+hKfdCDxZ6Y01PIbS16eq18Qly2GxLOY4 Umj/yFq5ztYPxK0oArslNU3gm+X7BUd9u0pJCkjqkz0DwPiChLEEGR22fY8WwWg5 MDRjZKRoMcCQqM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=kj9t54kgBcor+kgZdPtNkrrHZlo=; b=iXO w/SsP9PZf6v7o0ypI8LMxDPBcbN/mVXNlafuXCB9xBnaHen3RxPkj6t8XWMF1OXx Dd8nkIohj7k+BsjGGzjq6h+SNjysqGAt2aXdsp27o6v+A+Fx+Un1pERU3I6u6LGM bffhiama6rtFtsi7pGS+/VdQQyNnlF1UPOdFs/vY= Received: (qmail 20793 invoked by alias); 17 Sep 2014 21:38:34 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 20782 invoked by uid 89); 17 Sep 2014 21:38:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Date: Wed, 17 Sep 2014 21:38:23 +0000 From: "Joseph S. Myers" To: Subject: soft-fp: Correct _FP_TO_INT formatting Message-ID: MIME-Version: 1.0 This patch corrects some soft-fp formatting that failed to follow the GNU Coding Standards. Tested for powerpc-nofpu that the disassembly of installed shared libraries is unchanged by this patch. Committed as obvious. 2014-09-17 Joseph Myers * soft-fp/op-common.h (_FP_TO_INT): Correct formatting. diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h index 5f37a32..5852a86 100644 --- a/soft-fp/op-common.h +++ b/soft-fp/op-common.h @@ -1373,11 +1373,13 @@ r = 1; \ r <<= rsize - 1; \ r -= 1 - X##_s; \ - } else { \ - r = 0; \ - if (!X##_s) \ - r = ~r; \ - } \ + } \ + else \ + { \ + r = 0; \ + if (!X##_s) \ + r = ~r; \ + } \ \ if (rsigned && X##_s && X##_e == _FP_EXPBIAS_##fs + rsize - 1) \ { \