Fix tests

This commit is contained in:
Dmitry Stogov 2023-10-13 20:57:42 +03:00
parent 613fca0327
commit 66e9693019
3 changed files with 9 additions and 8 deletions

View File

@ -15,11 +15,11 @@ Windows-x86_64
}
--EXPECT--
test:
testl %edi, %edi
testl %ecx, %ecx
je .L1
movl %esi, %eax
movl %edx, %edx
jmp .L2
.L1:
movl %edx, %eax
movl %r8d, %r8d
.L2:
retq

View File

@ -19,13 +19,13 @@ test:
jp .L1
je .L2
.L1:
movl %edi, %eax
movl %edx, %eax
jmp .L3
.L2:
movl %esi, %eax
movl %ecx, %eax
.L3:
retq
.rodata
.db 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90
.db 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90
.L4:
.db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00

View File

@ -15,10 +15,11 @@ Windows-x86_64
}
--EXPECT--
test:
testq %rdi, %rdi
testq %ecx, %ecx
je .L1
movapd %xmm1, %xmm0
jmp .L2
.L1:
movapd %xmm1, %xmm0
movapd %xmm2, %xmm0
.L2:
retq