diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/atom-bypass-slow-division-64.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/atom-bypass-slow-division-64.ll | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/atom-bypass-slow-division-64.ll b/llvm/test/CodeGen/X86/atom-bypass-slow-division-64.ll index a3bbea3c996..26b9a1e60f1 100644 --- a/llvm/test/CodeGen/X86/atom-bypass-slow-division-64.ll +++ b/llvm/test/CodeGen/X86/atom-bypass-slow-division-64.ll @@ -4,8 +4,9 @@ define i64 @Test_get_quotient(i64 %a, i64 %b) nounwind { ; CHECK: Test_get_quotient: -; CHECK: orq %rsi, %rcx -; CHECK-NEXT: testq $-65536, %rcx +; CHECK: movq %rdi, %rax +; CHECK: orq %rsi, %rax +; CHECK-NEXT: testq $-65536, %rax ; CHECK-NEXT: je ; CHECK: idivq ; CHECK: ret @@ -17,8 +18,9 @@ define i64 @Test_get_quotient(i64 %a, i64 %b) nounwind { define i64 @Test_get_remainder(i64 %a, i64 %b) nounwind { ; CHECK: Test_get_remainder: -; CHECK: orq %rsi, %rcx -; CHECK-NEXT: testq $-65536, %rcx +; CHECK: movq %rdi, %rax +; CHECK: orq %rsi, %rax +; CHECK-NEXT: testq $-65536, %rax ; CHECK-NEXT: je ; CHECK: idivq ; CHECK: ret @@ -30,8 +32,9 @@ define i64 @Test_get_remainder(i64 %a, i64 %b) nounwind { define i64 @Test_get_quotient_and_remainder(i64 %a, i64 %b) nounwind { ; CHECK: Test_get_quotient_and_remainder: -; CHECK: orq %rsi, %rcx -; CHECK-NEXT: testq $-65536, %rcx +; CHECK: movq %rdi, %rax +; CHECK: orq %rsi, %rax +; CHECK-NEXT: testq $-65536, %rax ; CHECK-NEXT: je ; CHECK: idivq ; CHECK: divw |

