mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/i386: Introduce 256-bit vector helpers
The new implementation of SSE will cover AVX from the get go, because all the work for the helper functions is already done. We just need to build them. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6e0cac782a
commit
b98f886c8f
4 changed files with 14 additions and 0 deletions
|
@ -35,7 +35,11 @@
|
|||
#define W(n) ZMM_W(n)
|
||||
#define L(n) ZMM_L(n)
|
||||
#define Q(n) ZMM_Q(n)
|
||||
#if SHIFT == 1
|
||||
#define SUFFIX _xmm
|
||||
#else
|
||||
#define SUFFIX _ymm
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define LANE_WIDTH (SHIFT ? 16 : 8)
|
||||
|
@ -2379,6 +2383,7 @@ void glue(helper_aeskeygenassist, SUFFIX)(CPUX86State *env, Reg *d, Reg *s,
|
|||
|
||||
#undef SSE_HELPER_S
|
||||
|
||||
#undef LANE_WIDTH
|
||||
#undef SHIFT
|
||||
#undef XMM_ONLY
|
||||
#undef Reg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue