tests/tcg: build sha1-vector with O3 and compare
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 25 Feb 2022 17:20:14 +0000 (17:20 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 28 Feb 2022 16:42:25 +0000 (16:42 +0000)
commitc96e593a7e88a746b20d06dbfd98f0efffcb59de
tree206844141369d5219caf947ecfef4df2b7567dc8
parent93f44896c9fa15d02d93eb396537c91c0efa8c11
tests/tcg: build sha1-vector with O3 and compare

The aim of this is to test code generation for vectorised operations.
Unfortunately gcc struggles to do much with the messy sha1 code (try
-fopt-info-vec-missed to see why). However it's better than nothing.

We assume the non-vectorised output is gold and baring compiler bugs
the outputs should match.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220225172021.3493923-12-alex.bennee@linaro.org>
tests/tcg/aarch64/Makefile.target
tests/tcg/arm/Makefile.target