Return-Path: <tiff-bounces@lists.osgeo.org>
Received: from mailgate207.isp.belgacom.be ([195.238.22.39])
          by mailfep023.skynet.be
          (InterMail vM.8.04.03.28.4 201-2389-100-182-103-20180124)
          with ESMTP
          id <20210503210952.IRBR11462.mailfep023.skynet.be@mailgate207.isp.belgacom.be>
          for <chris.lindelaan@skynet.be>; Mon, 3 May 2021 23:09:52 +0200
Authentication-Results: mx201.skynet.be; dkim=none (message not signed) header.i=none; spf=None smtp.pra=tiff-bounces@lists.osgeo.org; spf=Pass smtp.mailfrom=tiff-bounces@lists.osgeo.org; spf=Pass smtp.helo=postmaster@lists.osgeo.org
Received-SPF: None (mx201.skynet.be: no sender authenticity
  information available from domain of
  tiff-bounces@lists.osgeo.org) identity=pra;
  client-ip=140.211.15.3; receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible
Received-SPF: Pass (mx201.skynet.be: domain of
  tiff-bounces@lists.osgeo.org designates 140.211.15.3 as
  permitted sender) identity=mailfrom; client-ip=140.211.15.3;
  receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible; x-record-type="v=spf1";
  x-record-text="v=spf1 mx a:mail.osgeo.org a:lists.osgeo.org
  a:mail.osgeo.osuosl.org a:tracsvn.osgeo.osuosl.org -all"
Received-SPF: Pass (mx201.skynet.be: domain of
  postmaster@lists.osgeo.org designates 140.211.15.3 as
  permitted sender) identity=helo; client-ip=140.211.15.3;
  receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="postmaster@lists.osgeo.org";
  x-conformance=sidf_compatible; x-record-type="v=spf1";
  x-record-text="v=spf1 mx a:mail.osgeo.org a:lists.osgeo.org
  a:mail.osgeo.osuosl.org a:tracsvn.osgeo.osuosl.org -all"
X-Ironport-Dmarc-Check-Result: validskip
IronPort-SDR: 9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1H8PsP
 3h5ygtJN5y7XS5RBDQnTLI1xP72Dgjr1/OoGXo4kfLmNf0Tj42B81KietiA2HkwnEttt19z6
 5Htljx3/E8YS/opyjz68PFUBtnjCOPwEYKq+IVgnBFOLFuHYN5l5AV/09eDf47bVvHwb0ged
 MAMOjh/vpMNXuVY3fF11MfpeCEbzAZEhuAf0kPocD96UkvoFlJi28RxMkalnBFy54nUZlD4I
 3/Q99VvYALaNQXY6J7DPoARsXyKlWle3/xDF4=
X-IronPort-Anti-Spam-Filtered: true
X-MGA-submission: =?us-ascii?q?MDHphtKTf6fHlGglHOZq4IUfcN+I14UM93o+9S?=
 =?us-ascii?q?j+w2pWGx5LMQxtArRSyoCzKWyhyDb3+ztPfjcaYhCT8CFM9ziOn3p6Rw?=
 =?us-ascii?q?FFeDlQuiKNAtvLQ3lDmOOlhNv0udJd/eVKKdg=3D?=
Received: from osgeo6.osgeo.osuosl.org (HELO lists.osgeo.org) ([140.211.15.3])
  by mx201.skynet.be with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2021 23:09:50 +0200
Received: from osgeo6.osgeo.osuosl.org (localhost [127.0.0.1])
	by lists.osgeo.org (Postfix) with ESMTP id B61F061346B1;
	Mon,  3 May 2021 14:09:46 -0700 (PDT)
Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net
 [217.70.183.196])
 by lists.osgeo.org (Postfix) with ESMTPS id 99F286145933
 for <tiff@lists.osgeo.org>; Mon,  3 May 2021 14:09:44 -0700 (PDT)
X-Originating-IP: 88.165.221.176
Received: from [192.168.0.17] (unknown [88.165.221.176])
 (Authenticated sender: even.rouault@spatialys.com)
 by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 0A5ABE0004;
 Mon,  3 May 2021 21:09:41 +0000 (UTC)
To: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>,
 Jeff Breidenbach <breidenbach@gmail.com>
Cc: Tiff List <tiff@lists.osgeo.org>
References: <CAHYwHP5NmH+--ckEVeidjxrBVHbFSptCH0CD5d600t8gq7Xafw@mail.gmail.com>
 <07baca89-e473-8e24-1d54-309152b05774@spatialys.com>
 <alpine.GSO.2.20.2105020845140.2569@scrappy.simplesystems.org>
 <b8216947-5c3c-a262-f1ba-6167ea10805f@spatialys.com>
 <CAHYwHP73qCquxDUB5jkSTKDp=OgS4iWfGa_iLipjeAFZJ2ur2w@mail.gmail.com>
 <CAHjiUbrVATL1CLrfHGHbqBZAMPF8cphHJ7SSMYpNXdEW-3ZSPA@mail.gmail.com>
 <alpine.GSO.2.20.2105031514320.19110@scrappy.simplesystems.org>
From: Even Rouault <even.rouault@spatialys.com>
Message-ID: <3febfaa7-ab0f-2fd4-5637-00a663becf23@spatialys.com>
Date: Mon, 3 May 2021 23:09:41 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.7.1
MIME-Version: 1.0
In-Reply-To: <alpine.GSO.2.20.2105031514320.19110@scrappy.simplesystems.org>
Content-Language: en-US
Subject: Re: [Tiff] SIMD optimizations
X-BeenThere: tiff@lists.osgeo.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.osgeo.org>
List-Unsubscribe: <https://lists.osgeo.org/mailman/options/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=unsubscribe>
List-Post: <mailto:tiff@lists.osgeo.org>
List-Help: <mailto:tiff-request@lists.osgeo.org?subject=help>
List-Subscribe: <https://lists.osgeo.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: tiff-bounces@lists.osgeo.org
Sender: "Tiff" <tiff-bounces@lists.osgeo.org>

Bob,
>
> There is a cost associated with any target-specific optimizations and 
> that cost pertains to the continual maintenance and testing required 
> to support them. The optimizations should have proven value with 
> real-world test cases (e.g. the whole time and not just the time for 
> the part sped-up in isolation) before a project agrees to assimilate 
> them because there is also a cost.
The few tests I reported about yesterday were on whole image decoding, 
not just the optimized part.
>
> If Larry Bank (the expert) loses interest after the code has been 
> submitted then there might not be another expert to take his place if 
> a problem comes up.
My quick look at the SSE optimizations is that it is not too complicated 
SIMD usage, at least I have written in the past similar or more involved 
SSE code. At worse, that should be something easily removable if that 
becomes a pain in the future, as the generic C code paths would remain.
>
> If access to Apple's M1 processor is needed in order to verify that 
> SIMD code is working, but access to it is not available, then that 
> would be a problem for the libtiff maintainers.
Hopefully that should be only generic Neon stuff, or at least ARM64 one, 
that could be run as well on other ARM64 platforms such as Graviton2. I 
presume this is testable on x86 with a gcc ARM cross compiler + qemu 
user mode emulation.

-- 
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
Tiff mailing list
Tiff@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/tiff
