From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10544 Path: news.gmane.org!.POSTED!not-for-mail From: Jan Vorlicek Newsgroups: gmane.linux.lib.musl.general Subject: RE: Need "_fpx_sw_bytes", "FP_XSTATE_MAGIC2_SIZE" and "FP_XSTATE_MAGIC{1,2}" definition to compile CoreCLR Date: Sat, 1 Oct 2016 10:28:08 +0000 Message-ID: References: <20160830214251.GO15995@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1475317712 27718 195.159.176.226 (1 Oct 2016 10:28:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Oct 2016 10:28:32 +0000 (UTC) To: Rich Felker , "musl@lists.openwall.com" Original-X-From: musl-return-10557-gllmg-musl=m.gmane.org@lists.openwall.com Sat Oct 01 12:28:28 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1bqHWq-0006QX-KF for gllmg-musl@m.gmane.org; Sat, 01 Oct 2016 12:28:24 +0200 Original-Received: (qmail 30107 invoked by uid 550); 1 Oct 2016 10:28:23 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 30089 invoked from network); 1 Oct 2016 10:28:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dqkK4KZYNV+XyVWrfbivfNLpBB18tJu8kqG3bBFkb2g=; b=UTcuRpfWl5BgPRA2YQaky+8/tTo7jlNYdNUfpEap0k5h+IBZMHEEVaG1aKM9lnwbGj1pjeCuI1vzOIuL2FyAuItCnfHyCeaX2+kNw1LlR8d/zbZhwMiONaZYVZ/z2lKaS3eLnCxFRLyU5cB5+4FFwkivmvKMtMLjkV530PxR/YU= Thread-Topic: [musl] Need "_fpx_sw_bytes", "FP_XSTATE_MAGIC2_SIZE" and "FP_XSTATE_MAGIC{1,2}" definition to compile CoreCLR Thread-Index: AQHSG83F4+6Rx+7YxUiuE7B0HhjGa6CTZCag In-Reply-To: <20160830214251.GO15995@brightrain.aerifal.cx> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=janvorli@microsoft.com; x-originating-ip: [89.177.13.111] x-ms-office365-filtering-correlation-id: e031dc02-2c46-4d65-ef29-08d3e9e5a39f x-microsoft-exchange-diagnostics: 1;HE1PR83MB0060;7:ISXcb0tETf7k6znD3Y+M2t+UTiPMgiHg6+kbY8b+mwtE+razIG5xzdFww0e4m+O8arAFnkeOUbfkkBoVIWIbAjdnyQTTISbqsvV1H672t1+pMgEPpZxB/98CxCposSABX2BxRF/DjY1Y5vA21+dQf71CC8SnpYQoeYfzMcBsJ1Xrl/V1EhblYk8loRmptJyw/HEq9FyLs4R8jW+eQZy++JuOvkqlcHQ6b7PftPcGspHiP3Phfw98lgZ0pIXSWH7HhhUtHGIvXrXEx1VN3m0/Jb9JYt455OGnvV9NkxZI9kp8N5Tf8V/tDqZoemOPmlTOHfH+EZvlwNz6VJcQlRjYGQ== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR83MB0060; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040176)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(61426038)(61427038);SRVR:HE1PR83MB0060;BCL:0;PCL:0;RULEID:;SRVR:HE1PR83MB0060; x-forefront-prvs: 00826B6158 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(24454002)(13464003)(377454003)(199003)(189002)(81156014)(8676002)(81166006)(7696004)(10090500001)(3660700001)(86362001)(3280700002)(86612001)(33656002)(11100500001)(8936002)(2950100002)(68736007)(5002640100001)(6116002)(189998001)(97736004)(5001770100001)(2501003)(87936001)(2906002)(586003)(3846002)(9686002)(102836003)(92566002)(107886002)(76576001)(5890100001)(76176999)(5660300001)(15975445007)(50986999)(122556002)(101416001)(66066001)(74316002)(2900100001)(10400500002)(8990500004)(10290500002)(19580405001)(105586002)(106116001)(305945005)(54356999)(7736002)(106356001)(19580395003)(7846002)(5005710100001)(15760500001);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR83MB0060;H:HE1PR83MB0058.EURPRD83.prod.outlook.com;FPR:;SPF:None;PTR: InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Oct 2016 10:28:08.5347 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR83MB0060 Xref: news.gmane.org gmane.linux.lib.musl.general:10544 Archived-At: In addition to that, we would also need the _xstate struct (and obviously a= lso the structs it refers to, like _ymmh_state, _xsave_hdr, ...).=20 We only need that for x64. Thanks, Jan -----Original Message----- From: Rich Felker [mailto:dalias@libc.org]=20 Sent: Tuesday, August 30, 2016 11:43 PM To: musl@lists.openwall.com Subject: Re: [musl] Need "_fpx_sw_bytes", "FP_XSTATE_MAGIC2_SIZE" and "FP_X= STATE_MAGIC{1,2}" definition to compile CoreCLR On Thu, Aug 04, 2016 at 09:15:40PM +0000, Dangling Pointer wrote: > Please provide the user-facing definitions of "struct _fpx_sw_bytes" and = macros "FP_XSTATE_MAGIC2_SIZE", "FP_XSTATE_MAGIC1" and "FP_XSTATE_MAGIC2" t= o compile CoreCLR. >=20 >=20 > Related issue:=20 > https://github.com/dotnet/coreclr/issues/917#issuecomment-236907708 >=20 > Usage: =20 > https://github.com/dotnet/coreclr/blob/9585fc2/src/pal/src/include/pal > /context.h#L142-L178 Would a patch like the attached me sufficient? Does 32-bit x86 need somethi= ng like this too? Rich