I have a simple working UEFI application except avx instructions don't work. Host supports AVX and I'm using the latest version of virtualbox which supports avx and the following works (doesn't hang)
Code:
movdqa xmm0, dqword[testmem]
testmem is defined elsewhere as
Code:
align 32
testmem: rb 128
However the following causes the program to hang up, and not proceed.
Code:
vmovdqa ymm0, qqword[testmem]
I have tried enabling AVX with
Code:
mov rcx, 0
xgetbv
or rax, 0007h
xsetbv
But it doesn't help.
What am I missing?