diff --git a/tests/Windows-x86_64/cond_001.irt b/tests/Windows-x86_64/cond_001.irt index 5127bb6..f31a101 100644 --- a/tests/Windows-x86_64/cond_001.irt +++ b/tests/Windows-x86_64/cond_001.irt @@ -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 diff --git a/tests/Windows-x86_64/cond_002.irt b/tests/Windows-x86_64/cond_002.irt index ec89039..fee0bf9 100644 --- a/tests/Windows-x86_64/cond_002.irt +++ b/tests/Windows-x86_64/cond_002.irt @@ -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 diff --git a/tests/Windows-x86_64/cond_003.irt b/tests/Windows-x86_64/cond_003.irt index 62b7935..649137c 100644 --- a/tests/Windows-x86_64/cond_003.irt +++ b/tests/Windows-x86_64/cond_003.irt @@ -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