AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2021.05.02 00:36 "[Tiff] SIMD optimizations", by Larry Bank
2021.05.02 09:48 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.02 10:33 "Re: [Tiff] SIMD optimizations", by ZdPo Ster
2021.05.02 13:55 "Re: [Tiff] SIMD optimizations", by Bob Friesenhahn
2021.05.02 14:09 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.02 15:35 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.02 17:20 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.02 17:45 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.03 15:58 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.03 17:28 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.03 17:32 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.03 19:16 "Re: [Tiff] SIMD optimizations", by Jeff Breidenbach
2021.05.03 20:40 "Re: [Tiff] SIMD optimizations", by Bob Friesenhahn
2021.05.03 21:09 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.03 21:45 "Re: [Tiff] SIMD optimizations", by Bob Friesenhahn
2021.05.03 22:08 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.04 07:44 "Re: [Tiff] SIMD optimizations", by Roger Leigh
2021.05.04 07:50 "Re: [Tiff] SIMD optimizations", by Roger Leigh
2021.06.06 21:15 "Re: [Tiff] SIMD optimizations", by Roger Leigh
2021.05.03 21:44 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.03 21:55 "Re: [Tiff] SIMD optimizations", by Bob Friesenhahn
2021.05.03 22:50 "Re: [Tiff] SIMD optimizations", by Akira Urushibata
2021.05.04 17:34 "Re: [Tiff] SIMD optimizations", by Steve Underwood
2021.05.04 17:44 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.04 18:07 "Re: [Tiff] SIMD optimizations", by Toby Thain
2021.05.04 20:59 "Re: [Tiff] SIMD optimizations", by Michael Shiels
2021.05.04 21:02 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.05 01:14 "Re: [Tiff] SIMD optimizations", by Steve Underwood

2021.05.03 21:09 "Re: [Tiff] SIMD optimizations", by Even Rouault

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.