mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-03 14:21:30 +00:00
Add v16i16 and v32i8 store patterns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137166 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -40,3 +40,27 @@ define <4 x double> @mov01(<4 x double> %v, double * %ptr) nounwind {
|
||||
ret <4 x double> %i0
|
||||
}
|
||||
|
||||
; CHECK: vmovaps %ymm
|
||||
define void @storev16i16(<16 x i16> %a) nounwind {
|
||||
store <16 x i16> %a, <16 x i16>* undef, align 32
|
||||
unreachable
|
||||
}
|
||||
|
||||
; CHECK: vmovups %ymm
|
||||
define void @storev16i16_01(<16 x i16> %a) nounwind {
|
||||
store <16 x i16> %a, <16 x i16>* undef, align 4
|
||||
unreachable
|
||||
}
|
||||
|
||||
; CHECK: vmovaps %ymm
|
||||
define void @storev32i8(<32 x i8> %a) nounwind {
|
||||
store <32 x i8> %a, <32 x i8>* undef, align 32
|
||||
unreachable
|
||||
}
|
||||
|
||||
; CHECK: vmovups %ymm
|
||||
define void @storev32i8_01(<32 x i8> %a) nounwind {
|
||||
store <32 x i8> %a, <32 x i8>* undef, align 4
|
||||
unreachable
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user