qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 03/38] tests/multiarch: Add test-aes


From: Richard Henderson
Subject: Re: [PATCH v2 03/38] tests/multiarch: Add test-aes
Date: Wed, 14 Jun 2023 05:40:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 6/12/23 16:46, Alex Bennée wrote:

Richard Henderson <richard.henderson@linaro.org> writes:

Use a shared driver and backends for i386, aarch64, ppc64, riscv64.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  tests/tcg/aarch64/test-aes.c            |  58 ++++++++
  tests/tcg/i386/test-aes.c               |  68 +++++++++
  tests/tcg/ppc64/test-aes.c              | 116 +++++++++++++++
  tests/tcg/riscv64/test-aes.c            |  76 ++++++++++
  tests/tcg/multiarch/test-aes-main.c.inc | 183
++++++++++++++++++++++++

I find it odd the file with the main function is the c.inc and the per
guest impl's are the plain .c files. Is it possible to have it the other
way around?

Not with the way tests/tcg is structured, no.

If we have a fallback library function for aes then we could
enable the test for all targets (a true multiarch test) with some having CPU 
specific
accelerations where available.

We don't have that either.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]