aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/rdrand.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/X86/rdrand.ll b/test/CodeGen/X86/rdrand.ll
index 04dc071..78af936 100644
--- a/test/CodeGen/X86/rdrand.ll
+++ b/test/CodeGen/X86/rdrand.ll
@@ -11,7 +11,7 @@ define i32 @_rdrand16_step(i16* %random_val) {
ret i32 %isvalid
; CHECK: _rdrand16_step:
; CHECK: rdrandw %ax
-; CHECK: movw %ax, (%rdi)
+; CHECK: movw %ax, (%r[[A0:di|cx]])
; CHECK: movzwl %ax, %ecx
; CHECK: movl $1, %eax
; CHECK: cmovael %ecx, %eax
@@ -25,10 +25,10 @@ define i32 @_rdrand32_step(i32* %random_val) {
%isvalid = extractvalue {i32, i32} %call, 1
ret i32 %isvalid
; CHECK: _rdrand32_step:
-; CHECK: rdrandl %ecx
-; CHECK: movl %ecx, (%rdi)
+; CHECK: rdrandl %e[[T0:[a-z]+]]
+; CHECK: movl %e[[T0]], (%r[[A0]])
; CHECK: movl $1, %eax
-; CHECK: cmovael %ecx, %eax
+; CHECK: cmovael %e[[T0]], %eax
; CHECK: ret
}
@@ -39,9 +39,9 @@ define i32 @_rdrand64_step(i64* %random_val) {
%isvalid = extractvalue {i64, i32} %call, 1
ret i32 %isvalid
; CHECK: _rdrand64_step:
-; CHECK: rdrandq %rcx
-; CHECK: movq %rcx, (%rdi)
+; CHECK: rdrandq %r[[T1:[[a-z]+]]
+; CHECK: movq %r[[T1]], (%r[[A0]])
; CHECK: movl $1, %eax
-; CHECK: cmovael %ecx, %eax
+; CHECK: cmovael %e[[T1]], %eax
; CHECK: ret
}