From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id BEBB57F787 for ; Mon, 7 Nov 2016 16:48:44 +0100 (CET) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=rich@annexia.org; spf=Pass smtp.mailfrom=rich@annexia.org; spf=Pass smtp.helo=postmaster@annexia.org Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of rich@annexia.org) identity=pra; client-ip=80.68.91.176; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="rich@annexia.org"; x-sender="rich@annexia.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of rich@annexia.org designates 80.68.91.176 as permitted sender) identity=mailfrom; client-ip=80.68.91.176; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="rich@annexia.org"; x-sender="rich@annexia.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@annexia.org designates 80.68.91.176 as permitted sender) identity=helo; client-ip=80.68.91.176; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="rich@annexia.org"; x-sender="postmaster@annexia.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" IronPort-PHdr: =?us-ascii?q?9a23=3AbnYkyh1f98uiFotesmDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?segVL/ad9pjvdHbS+e9qxAeQG96KsbQV16GN6ejJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL2PbrnD61zMOABK3bVMz?= =?us-ascii?q?fbWvXN+OxJ/tn8mJuLTrKz1SgzS8Zb4gZD6Xli728vcsvI15N6wqwQHIqHYbM8?= =?us-ascii?q?5fxGdvOE7B102kvpT4r9Zf9HFbsvclsspBSrnSfqIiTLUeAi51HXoy4ZihjxjI?= =?us-ascii?q?TQKV6jMjFEBQ2jhPBQXeplmuRJb6sgPzsOxwyCiTe8rsQuZnCnyZ8653RUqw22?= =?us-ascii?q?88PDkj/TSPhw=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ArAgCmoSBY/7BbRFBdHAEBBAEBCgEBF?= =?us-ascii?q?wEBBAEBCgEBgwMBAQEBAR9YfIJ5ij+VWQEBAQEBAQaBHJRSgggphXsCggk/FAE?= =?us-ascii?q?BAQEBAQEBAQEBYSiCMxiCFwEBBDpPCxgJExIPBSiJEAq0NYtADCAFhXRAhF+FE?= =?us-ascii?q?4UUBYhFh0yKFgGGNIoEgWOOOI0qhAYeN3obhQ8+NAGHSQEBAQ?= X-IPAS-Result: =?us-ascii?q?A0ArAgCmoSBY/7BbRFBdHAEBBAEBCgEBFwEBBAEBCgEBgwM?= =?us-ascii?q?BAQEBAR9YfIJ5ij+VWQEBAQEBAQaBHJRSgggphXsCggk/FAEBAQEBAQEBAQEBY?= =?us-ascii?q?SiCMxiCFwEBBDpPCxgJExIPBSiJEAq0NYtADCAFhXRAhF+FE4UUBYhFh0yKFgG?= =?us-ascii?q?GNIoEgWOOOI0qhAYeN3obhQ8+NAGHSQEBAQ?= X-IronPort-AV: E=Sophos;i="5.31,606,1473112800"; d="scan'208";a="199498784" Received: from annexia.org ([80.68.91.176]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 07 Nov 2016 16:48:44 +0100 Received: from rich by annexia.org with local (Exim 4.84_2) (envelope-from ) id 1c3mA7-0004Vk-9p for caml-list@inria.fr; Mon, 07 Nov 2016 15:48:43 +0000 Date: Mon, 7 Nov 2016 15:48:43 +0000 From: "Richard W.M. Jones" To: caml-list@inria.fr Message-ID: <20161107154843.GH27249@annexia.org> References: <20161107132201.GG27249@annexia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161107132201.GG27249@annexia.org> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [Caml-list] Zarith problems on ppc64le On Mon, Nov 07, 2016 at 01:22:01PM +0000, Richard W.M. Jones wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=1392247 > > Zarith fails tests on OCaml 4.04.0 + ppc64le with some fairly gross > errors, eg: > > of_float -1. > - = -1 > + = 0 > > (It passes fine on OCaml 4.04.0 + ppc64) > > The implementation of Zarith is quite complex and I've so far failed > to understand what's going on. FWIW this seems like it is invoking undefined behaviour in C. See my analysis here: https://bugzilla.redhat.com/show_bug.cgi?id=1392247#c3 Rich.