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: 2893 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) \ { \