Fix tests

This commit is contained in:
Dmitry Stogov 2023-10-13 21:04:38 +03:00
parent 66e9693019
commit 4f9724a7fb
3 changed files with 4 additions and 4 deletions

View File

@ -17,9 +17,9 @@ Windows-x86_64
test: test:
testl %ecx, %ecx testl %ecx, %ecx
je .L1 je .L1
movl %edx, %edx movl %edx, %eax
jmp .L2 jmp .L2
.L1: .L1:
movl %r8d, %r8d movl %r8d, %eax
.L2: .L2:
retq retq

View File

@ -22,7 +22,7 @@ test:
movl %edx, %eax movl %edx, %eax
jmp .L3 jmp .L3
.L2: .L2:
movl %ecx, %eax movl %r8d, %eax
.L3: .L3:
retq retq
.rodata .rodata

View File

@ -15,7 +15,7 @@ Windows-x86_64
} }
--EXPECT-- --EXPECT--
test: test:
testq %ecx, %ecx testl %ecx, %ecx
je .L1 je .L1
movapd %xmm1, %xmm0 movapd %xmm1, %xmm0
jmp .L2 jmp .L2