ec: Change use of windows macro save_xmm128 to vec

For builds under windows this could emit a non-vec mov that's not optional for
AVX versions.

Change-Id: I31e6ea3b62d48c5a13f6e83f8d684f0b5551087b
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
Greg Tucker 2020-03-16 16:12:54 -07:00
parent 7c0ab1d459
commit 472e7011e8
7 changed files with 59 additions and 59 deletions

View File

@ -84,9 +84,9 @@
%define func(x) proc_frame x %define func(x) proc_frame x
%macro FUNC_SAVE 0 %macro FUNC_SAVE 0
alloc_stack stack_size alloc_stack stack_size
save_xmm128 xmm6, 0*16 vmovdqa [rsp + 0*16], xmm6
save_xmm128 xmm7, 1*16 vmovdqa [rsp + 1*16], xmm7
save_xmm128 xmm8, 2*16 vmovdqa [rsp + 2*16], xmm8
save_reg r12, 3*16 + 0*8 save_reg r12, 3*16 + 0*8
save_reg r13, 3*16 + 1*8 save_reg r13, 3*16 + 1*8
save_reg r14, 3*16 + 2*8 save_reg r14, 3*16 + 2*8

View File

@ -87,12 +87,12 @@
%define func(x) proc_frame x %define func(x) proc_frame x
%macro FUNC_SAVE 0 %macro FUNC_SAVE 0
alloc_stack stack_size alloc_stack stack_size
save_xmm128 xmm6, 0*16 vmovdqa [rsp + 0*16], xmm6
save_xmm128 xmm7, 1*16 vmovdqa [rsp + 1*16], xmm7
save_xmm128 xmm8, 2*16 vmovdqa [rsp + 2*16], xmm8
save_xmm128 xmm9, 3*16 vmovdqa [rsp + 3*16], xmm9
save_xmm128 xmm10, 4*16 vmovdqa [rsp + 4*16], xmm10
save_xmm128 xmm11, 5*16 vmovdqa [rsp + 5*16], xmm11
save_reg r12, 6*16 + 0*8 save_reg r12, 6*16 + 0*8
save_reg r13, 6*16 + 1*8 save_reg r13, 6*16 + 1*8
save_reg r14, 6*16 + 2*8 save_reg r14, 6*16 + 2*8

View File

@ -95,15 +95,15 @@
%define func(x) proc_frame x %define func(x) proc_frame x
%macro FUNC_SAVE 0 %macro FUNC_SAVE 0
alloc_stack stack_size alloc_stack stack_size
save_xmm128 xmm6, 0*16 vmovdqa [rsp + 0*16], xmm6
save_xmm128 xmm7, 1*16 vmovdqa [rsp + 1*16], xmm7
save_xmm128 xmm8, 2*16 vmovdqa [rsp + 2*16], xmm8
save_xmm128 xmm9, 3*16 vmovdqa [rsp + 3*16], xmm9
save_xmm128 xmm10, 4*16 vmovdqa [rsp + 4*16], xmm10
save_xmm128 xmm11, 5*16 vmovdqa [rsp + 5*16], xmm11
save_xmm128 xmm12, 6*16 vmovdqa [rsp + 6*16], xmm12
save_xmm128 xmm13, 7*16 vmovdqa [rsp + 7*16], xmm13
save_xmm128 xmm14, 8*16 vmovdqa [rsp + 8*16], xmm14
save_reg r12, 9*16 + 0*8 save_reg r12, 9*16 + 0*8
save_reg r13, 9*16 + 1*8 save_reg r13, 9*16 + 1*8
save_reg r14, 9*16 + 2*8 save_reg r14, 9*16 + 2*8

View File

@ -89,16 +89,16 @@
%define func(x) proc_frame x %define func(x) proc_frame x
%macro FUNC_SAVE 0 %macro FUNC_SAVE 0
alloc_stack stack_size alloc_stack stack_size
save_xmm128 xmm6, 0*16 vmovdqa [rsp + 0*16], xmm6
save_xmm128 xmm7, 1*16 vmovdqa [rsp + 1*16], xmm7
save_xmm128 xmm8, 2*16 vmovdqa [rsp + 2*16], xmm8
save_xmm128 xmm9, 3*16 vmovdqa [rsp + 3*16], xmm9
save_xmm128 xmm10, 4*16 vmovdqa [rsp + 4*16], xmm10
save_xmm128 xmm11, 5*16 vmovdqa [rsp + 5*16], xmm11
save_xmm128 xmm12, 6*16 vmovdqa [rsp + 6*16], xmm12
save_xmm128 xmm13, 7*16 vmovdqa [rsp + 7*16], xmm13
save_xmm128 xmm14, 8*16 vmovdqa [rsp + 8*16], xmm14
save_xmm128 xmm15, 9*16 vmovdqa [rsp + 9*16], xmm15
save_reg r12, 10*16 + 0*8 save_reg r12, 10*16 + 0*8
save_reg r13, 10*16 + 1*8 save_reg r13, 10*16 + 1*8
save_reg r14, 10*16 + 2*8 save_reg r14, 10*16 + 2*8

View File

@ -89,16 +89,16 @@
%define func(x) proc_frame x %define func(x) proc_frame x
%macro FUNC_SAVE 0 %macro FUNC_SAVE 0
alloc_stack stack_size alloc_stack stack_size
save_xmm128 xmm6, 0*16 vmovdqa [rsp + 0*16], xmm6
save_xmm128 xmm7, 1*16 vmovdqa [rsp + 1*16], xmm7
save_xmm128 xmm8, 2*16 vmovdqa [rsp + 2*16], xmm8
save_xmm128 xmm9, 3*16 vmovdqa [rsp + 3*16], xmm9
save_xmm128 xmm10, 4*16 vmovdqa [rsp + 4*16], xmm10
save_xmm128 xmm11, 5*16 vmovdqa [rsp + 5*16], xmm11
save_xmm128 xmm12, 6*16 vmovdqa [rsp + 6*16], xmm12
save_xmm128 xmm13, 7*16 vmovdqa [rsp + 7*16], xmm13
save_xmm128 xmm14, 8*16 vmovdqa [rsp + 8*16], xmm14
save_xmm128 xmm15, 9*16 vmovdqa [rsp + 9*16], xmm15
save_reg r12, 10*16 + 0*8 save_reg r12, 10*16 + 0*8
save_reg r13, 10*16 + 1*8 save_reg r13, 10*16 + 1*8
save_reg r14, 10*16 + 2*8 save_reg r14, 10*16 + 2*8

View File

@ -56,11 +56,11 @@
%define func(x) proc_frame x %define func(x) proc_frame x
%macro FUNC_SAVE 0 %macro FUNC_SAVE 0
alloc_stack stack_size alloc_stack stack_size
save_xmm128 xmm6, 0*16 vmovdqa [rsp + 0*16], xmm6
save_xmm128 xmm7, 1*16 vmovdqa [rsp + 1*16], xmm7
save_xmm128 xmm13, 2*16 vmovdqa [rsp + 2*16], xmm13
save_xmm128 xmm14, 3*16 vmovdqa [rsp + 3*16], xmm14
save_xmm128 xmm15, 4*16 vmovdqa [rsp + 4*16], xmm15
end_prolog end_prolog
%endmacro %endmacro

View File

@ -63,26 +63,26 @@
%define func(x) proc_frame x %define func(x) proc_frame x
%macro FUNC_SAVE 0 %macro FUNC_SAVE 0
alloc_stack stack_size alloc_stack stack_size
save_xmm128 xmm6, 0*16 vmovdqa [rsp + 0*16], xmm6
save_xmm128 xmm7, 1*16 vmovdqa [rsp + 1*16], xmm7
save_xmm128 xmm8, 2*16 vmovdqa [rsp + 2*16], xmm8
save_xmm128 xmm9, 3*16 vmovdqa [rsp + 3*16], xmm9
save_xmm128 xmm10, 4*16 vmovdqa [rsp + 4*16], xmm10
save_xmm128 xmm11, 5*16 vmovdqa [rsp + 5*16], xmm11
save_xmm128 xmm14, 6*16 vmovdqa [rsp + 6*16], xmm14
save_xmm128 xmm15, 7*16 vmovdqa [rsp + 7*16], xmm15
end_prolog end_prolog
%endmacro %endmacro
%macro FUNC_RESTORE 0 %macro FUNC_RESTORE 0
movdqa xmm6, [rsp + 0*16] vmovdqa xmm6, [rsp + 0*16]
movdqa xmm7, [rsp + 1*16] vmovdqa xmm7, [rsp + 1*16]
movdqa xmm8, [rsp + 2*16] vmovdqa xmm8, [rsp + 2*16]
movdqa xmm9, [rsp + 3*16] vmovdqa xmm9, [rsp + 3*16]
movdqa xmm10, [rsp + 4*16] vmovdqa xmm10, [rsp + 4*16]
movdqa xmm11, [rsp + 5*16] vmovdqa xmm11, [rsp + 5*16]
movdqa xmm14, [rsp + 6*16] vmovdqa xmm14, [rsp + 6*16]
movdqa xmm15, [rsp + 7*16] vmovdqa xmm15, [rsp + 7*16]
add rsp, stack_size add rsp, stack_size
%endmacro %endmacro
%endif %endif