mirror of
https://github.com/danog/ir.git
synced 2024-12-03 10:08:29 +01:00
Fix tests
This commit is contained in:
parent
613fca0327
commit
66e9693019
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user