History log of /art/test/660-checker-simd-sad-char/src/Main.java
Revision Date Author Comments
38e380b3c5139c0993495a7a0f040bfe8aa1e9e9 30-Oct-2017 Lena Djokic <Lena.Djokic@imgtec.com> MIPS: Implement Sum-of-Abs-Differences

Test: test-art-host test-art-target

Change-Id: I32a3e21f96cdcbab2e108d71746670408deb901a
68ca702c800d40b3e1f9aecdb6d5385b3492fda1 27-Sep-2017 Aart Bik <ajcbik@google.com> Added SAD test. Generalized vector analysis of narrow type.

Rationale:
The new example shows that scalar type of array reference does not
reflect signed-ness or unsigned-ness of vector operation. Instead
the vectorizer's analysis looks at zero or sign extension to determine
what operation is required and passes this as explicit or implicit
attribute to the code generator. So don't use packed data type to
decide what operation to perform. This become relevant while switching
to explicit signed and unsigned data types, where we want to pass the
right type to make this decision in the future

Test: test-art-host test-art-target

Bug: 64091002

Change-Id: I49a8827a13dd703910effcb5a5ebc4b9646cd1e8
dbbac8f812a866b1b53f3007721f66038d208549 01-Sep-2017 Aart Bik <ajcbik@google.com> Implement Sum-of-Abs-Differences idiom recognition.

Rationale:
Currently just on ARM64 (x86 lacks proper support),
using the SAD idiom yields great speedup on loops
that compute the sum-of-abs-difference operation.
Also includes some refinements around type conversions.

Speedup ExoPlayerAudio (golem run):
1.3x on ARM64
1.1x on x86

Test: test-art-host test-art-target

Bug: 64091002

Change-Id: Ia2b711d2bc23609a2ed50493dfe6719eedfe0130