Code: Select all
movdqa xmm0, dqword[testmem]
Code: Select all
align 32
testmem: rb 128
Code: Select all
vmovdqa ymm0, qqword[testmem]
Code: Select all
mov rcx, 0
xgetbv
or rax, 0007h
xsetbv
What am I missing?
Code: Select all
movdqa xmm0, dqword[testmem]
Code: Select all
align 32
testmem: rb 128
Code: Select all
vmovdqa ymm0, qqword[testmem]
Code: Select all
mov rcx, 0
xgetbv
or rax, 0007h
xsetbv
Code: Select all
; enable AVX
mov rax, cr4
or eax, 0x40000
mov cr4, rax
mov rcx, 0
xgetbv
or eax, 6
mov rcx, 0
xsetbv
THANK YOU SOOOO MUCH!!! I've spent hours googling and reading intel manuals etc and your code just works! Awesome man!omarrx024 wrote:I enable AVX this way.Code: Select all
; enable AVX mov rax, cr4 or eax, 0x40000 mov cr4, rax mov rcx, 0 xgetbv or eax, 6 mov rcx, 0 xsetbv