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-- --EXPECT--
test: test:
testl %edi, %edi testl %ecx, %ecx
je .L1 je .L1
movl %esi, %eax movl %edx, %edx
jmp .L2 jmp .L2
.L1: .L1:
movl %edx, %eax movl %r8d, %r8d
.L2: .L2:
retq retq

View File

@ -19,13 +19,13 @@ test:
jp .L1 jp .L1
je .L2 je .L2
.L1: .L1:
movl %edi, %eax movl %edx, %eax
jmp .L3 jmp .L3
.L2: .L2:
movl %esi, %eax movl %ecx, %eax
.L3: .L3:
retq retq
.rodata .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: .L4:
.db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 .db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00

View File

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