[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 13/18] tests/tcg: add vectorised sha512 versions
|
From: |
Richard Henderson |
|
Subject: |
Re: [PATCH v2 13/18] tests/tcg: add vectorised sha512 versions |
|
Date: |
Mon, 28 Feb 2022 10:56:24 -1000 |
|
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 2/25/22 07:20, Alex Bennée wrote:
+# TCG does not yet support all SSE (SIGILL on pshufb)
+# sha512-sse: CFLAGS=-march=core2 -O3
+# sha512-sse: sha512.c
+# $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS)
+
Given
ops_sse.h:void glue(helper_pshufb, SUFFIX)(CPUX86State *env, Reg *d, Reg *s)
ops_sse_header.h:DEF_HELPER_3(glue(pshufb, SUFFIX), void, env, Reg, Reg)
tcg/translate.c: [0x00] = SSSE3_OP(pshufb),
I'm inclined to think -cpu max might work here as well. Yep:
static const X86CPUDefinition builtin_x86_defs[] = {
{
.name = "qemu64",
...
.features[FEAT_1_ECX] =
CPUID_EXT_SSE3 | CPUID_EXT_CX16,
does not include SSE4.
r~
- Re: [PATCH v2 03/18] tests/lcitool: update to latest version, (continued)
[PATCH v2 18/18] tests/tcg: port SYS_HEAPINFO to a system test, Alex Bennée, 2022/02/25
[PATCH v2 11/18] tests/tcg: build sha1-vector with O3 and compare, Alex Bennée, 2022/02/25
[PATCH v2 14/18] travis.yml: Update the s390x jobs to Ubuntu Focal, Alex Bennée, 2022/02/25
[PATCH v2 13/18] tests/tcg: add vectorised sha512 versions, Alex Bennée, 2022/02/25
Re: [PATCH v2 13/18] tests/tcg: add vectorised sha512 versions,
Richard Henderson <=
[PATCH v2 12/18] tests/tcg: add sha512 test, Alex Bennée, 2022/02/25
[PATCH v2 17/18] semihosting/arm-compat: replace heuristic for softmmu SYS_HEAPINFO, Alex Bennée, 2022/02/25
[PATCH v2 15/18] gitlab: upgrade the job definition for s390x to 20.04, Alex Bennée, 2022/02/25
[PATCH v2 16/18] tests/tcg: completely disable threadcount for sh4, Alex Bennée, 2022/02/25