You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2 KiB

; Copyright 2002-2019 Intel Corporation.
;
; This software is provided to you as Sample Source Code as defined in the accompanying
; End User License Agreement for the Intel(R) Software Development Products ("Agreement")
; section 1.L.
;
; This software and the related documents are provided as is, with no express or implied
; warranties, other than those that are expressly stated in the License.
include asm_macros.inc
PROLOGUE
.code
loadYmm0 PROC
mov dword ptr [esp]+4, ecx
; This is "VMOVDQU ymm0, YMMWORD PTR [ecx]". We directly specify the machine code,
; so this test runs even when the compiler doesn't support AVX.
db 0C5h, 0FEh, 06Fh, 001h
ret
loadYmm0 ENDP
loadZmm0 PROC
mov dword ptr [esp]+4, ecx
; This is "VMOVUPD zmm0, ZMMWORD PTR [ecx]". We directly specify the machine code,
; so this test runs even when the compiler doesn't support AVX512.
db 062h, 0F1h, 0FDh, 048h, 010h, 001h
ret
loadZmm0 ENDP
loadK0 PROC
mov dword ptr [esp]+4, ecx
; This is "KMOVW k0, WORD PTR [ecx]". We directly specify the machine code,
; so this test runs even when the compiler doesn't support AVX512.
db 0C5h, 0F8h, 090h, 001h
ret
loadK0 ENDP
end