mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Let llvm/test/CodeGen/X86/avx512*-mask-op.ll(s) aware of Win32 x64 calling convention.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213812 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0bebd31dce
commit
a25114b902
@ -32,9 +32,9 @@ define void @mask16_mem(i16* %ptr) {
|
||||
store i16 %ret, i16* %ptr, align 4
|
||||
ret void
|
||||
; CHECK-LABEL: mask16_mem
|
||||
; CHECK: kmovw (%rdi), %k{{[0-7]}}
|
||||
; CHECK: kmovw ([[ARG1:%rdi|%rcx]]), %k{{[0-7]}}
|
||||
; CHECK-NEXT: knotw
|
||||
; CHECK-NEXT: kmovw %k{{[0-7]}}, (%rdi)
|
||||
; CHECK-NEXT: kmovw %k{{[0-7]}}, ([[ARG1]])
|
||||
; CHECK: ret
|
||||
}
|
||||
|
||||
@ -46,9 +46,9 @@ define void @mask8_mem(i8* %ptr) {
|
||||
store i8 %ret, i8* %ptr, align 4
|
||||
ret void
|
||||
; CHECK-LABEL: mask8_mem
|
||||
; CHECK: kmovw (%rdi), %k{{[0-7]}}
|
||||
; CHECK: kmovw ([[ARG1]]), %k{{[0-7]}}
|
||||
; CHECK-NEXT: knotw
|
||||
; CHECK-NEXT: kmovw %k{{[0-7]}}, (%rdi)
|
||||
; CHECK-NEXT: kmovw %k{{[0-7]}}, ([[ARG1]])
|
||||
; CHECK: ret
|
||||
}
|
||||
|
||||
|
@ -45,9 +45,9 @@ define void @mask32_mem(i32* %ptr) {
|
||||
store i32 %ret, i32* %ptr, align 4
|
||||
ret void
|
||||
; CHECK-LABEL: mask32_mem
|
||||
; CHECK: kmovd (%rdi), %k{{[0-7]}}
|
||||
; CHECK: kmovd ([[ARG1:%rdi|%rcx]]), %k{{[0-7]}}
|
||||
; CHECK-NEXT: knotd
|
||||
; CHECK-NEXT: kmovd %k{{[0-7]}}, (%rdi)
|
||||
; CHECK-NEXT: kmovd %k{{[0-7]}}, ([[ARG1]])
|
||||
; CHECK_NEXT: ret
|
||||
}
|
||||
|
||||
@ -66,8 +66,8 @@ define void @mask64_mem(i64* %ptr) {
|
||||
store i64 %ret, i64* %ptr, align 4
|
||||
ret void
|
||||
; CHECK-LABEL: mask64_mem
|
||||
; CHECK: kmovq (%rdi), %k{{[0-7]}}
|
||||
; CHECK: kmovq ([[ARG1]]), %k{{[0-7]}}
|
||||
; CHECK-NEXT: knotq
|
||||
; CHECK-NEXT: kmovq %k{{[0-7]}}, (%rdi)
|
||||
; CHECK-NEXT: kmovq %k{{[0-7]}}, ([[ARG1]])
|
||||
; CHECK_NEXT: ret
|
||||
}
|
||||
|
@ -18,8 +18,8 @@ define void @mask8_mem(i8* %ptr) {
|
||||
store i8 %ret, i8* %ptr, align 4
|
||||
ret void
|
||||
; CHECK-LABEL: mask8_mem
|
||||
; CHECK: kmovb (%rdi), %k{{[0-7]}}
|
||||
; CHECK: kmovb ([[ARG1:%rdi|%rcx]]), %k{{[0-7]}}
|
||||
; CHECK-NEXT: knotb
|
||||
; CHECK-NEXT: kmovb %k{{[0-7]}}, (%rdi)
|
||||
; CHECK-NEXT: kmovb %k{{[0-7]}}, ([[ARG1]])
|
||||
; CHECK: ret
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user