From patchwork Fri Sep 29 12:58:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilco Dijkstra X-Patchwork-Id: 23229 Received: (qmail 50114 invoked by alias); 29 Sep 2017 12:58:48 -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 49533 invoked by uid 89); 29 Sep 2017 12:58:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1410, imaginary, (unknown) X-HELO: EUR02-VE1-obe.outbound.protection.outlook.com From: Wilco Dijkstra To: "libc-alpha@sourceware.org" CC: nd Subject: [PATCH] Remove old cimag inlines Date: Fri, 29 Sep 2017 12:58:42 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR0801MB2053; 6:RTvoPvznJgRP4YAEUuXwuN1FLowcGNf2slHHtTDyLTdBrjRhNRU1M2tLJxtA7B64vLOhsgyOUuNrmaYJ1cZ0VUFpypzq7tMX7/Nt/hwW4KXFNPxrEGcXCnIeaTDnMOE4IY32fOs42m7xzl2OJg5g4dAxiRY6nHVv2FwZle/8q3p0hrsIRK+FXquK4z8CE2Hg6u/ewS0mKIkembleR9j7CNMueynR7lf4UMGJZArXhPosTCNFRhfQzBtSYDz2UWWx00mguJ4oAIt9F7y1ygJYNg8yc9cF4MnkF304ucA0njpHbQpFJ91DRpr0d73kXblKlg3724C7HClTHrB1kEDumA==; 5:dmRNHU7wo72lTOH71O2qUYtPWjIXuWM7XVu5mD+Xizp+TH0Zku/JgdMG34WR8V7VbU3sd5Vu8qElQczQH4y30NcKuocc4JwORaI3QS2x8grJ5jNcAVRzUHWXgKWrrc2YJ9hf6xaAaivpDX6fegTHVQ==; 24:I38bX/vxtCmgefL28a9iHkKzoD0ICsGLzRC2K5pQDDX/Yyb/F/7RdgZzs3nk9fLbc/xCAzqa7rQQ6C+XrNBLwrpJGDy8txkWoFIhb8fs42g=; 7:Sk4IFTMNO6Sucz7Ue0BKsLKvTyvT4lqox+fLpumuHUw5tWswlKDKvBgD9SeS5QXKTj7wXKdBq5SsqgRQ8I+qTQgRioO2tsHFdMUN/vum0FfpW5FR7YKWrdp22+CeLrEMu/OWz9PpRdZTE5g1xeMHEI78q08GduuMvC0yXZ1uZ3X9OUF6Jj+Y2NGCddPo9+Kk53MZMnO7ecGThTug+RTcxER9o+wC79peCshmDRbRIY0= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 4aa10383-72c4-4b92-d0b0-08d50739cfc9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DB6PR0801MB2053; x-ms-traffictypediagnostic: DB6PR0801MB2053: nodisclaimer: True x-exchange-antispam-report-test: UriScan:(180628864354917); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0801MB2053; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0801MB2053; x-forefront-prvs: 0445A82F82 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(189002)(377424004)(199003)(54534003)(2501003)(106356001)(6506006)(3280700002)(6436002)(478600001)(3660700001)(7736002)(2906002)(105586002)(2351001)(66066001)(9686003)(7696004)(5660300001)(14454004)(102836003)(53936002)(3846002)(4326008)(6916009)(86362001)(189998001)(5640700003)(72206003)(50986999)(68736007)(25786009)(74316002)(316002)(54356999)(99286003)(55016002)(101416001)(6116002)(97736004)(5250100002)(305945005)(2900100001)(8936002)(33656002)(8676002)(81156014)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB2053; H:DB6PR0801MB2053.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2017 12:58:42.2808 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB2053 Remove some old cimag inlines that are only used in GCC 2.96 or older. GLIBC still builds - obviously no effect on binaries, OK for commit? ChangeLog: 2017-09-29 Wilco Dijkstra * math/bits/cmathcalls.h (cimag): Remove inline. (creal): Remove inline. (conj): Remove inline. diff --git a/math/bits/cmathcalls.h b/math/bits/cmathcalls.h index 7f042dbeaa89dff630d86e65ae2c275d52733e7a..bf9cc08a7f4dba38692ffe51676ecdf747269f9b 100644 --- a/math/bits/cmathcalls.h +++ b/math/bits/cmathcalls.h @@ -129,32 +129,3 @@ __MATHDECL (_Mdouble_,cimag, (_Mdouble_complex_ __z)); /* Real part of Z. */ __MATHDECL (_Mdouble_,creal, (_Mdouble_complex_ __z)); - -/* Now some optimized versions. GCC has handy notations for these - functions. Recent GCC handles these as builtin functions so does - not need inlines. */ -#if defined __GNUC__ && !__GNUC_PREREQ (2, 97) && defined __OPTIMIZE__ \ - && defined __extern_inline - -/* Imaginary part of Z. */ -__extern_inline _Mdouble_ -__MATH_PRECNAME(cimag) (_Mdouble_complex_ __z) __THROW -{ - return __imag__ __z; -} - -/* Real part of Z. */ -__extern_inline _Mdouble_ -__MATH_PRECNAME(creal) (_Mdouble_complex_ __z) __THROW -{ - return __real__ __z; -} - -/* Complex conjugate of Z. */ -__extern_inline _Mdouble_complex_ -__MATH_PRECNAME(conj) (_Mdouble_complex_ __z) __THROW -{ - return __extension__ ~__z; -} - -#endif