mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
18 lines
463 B
LLVM
18 lines
463 B
LLVM
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
|
||
|
|
||
|
define <8 x i32> @zext_8i16_to_8i32(<8 x i16> %A) nounwind uwtable readnone ssp {
|
||
|
;CHECK: zext_8i16_to_8i32
|
||
|
;CHECK: vpunpckhwd
|
||
|
|
||
|
%B = zext <8 x i16> %A to <8 x i32>
|
||
|
ret <8 x i32>%B
|
||
|
}
|
||
|
|
||
|
define <4 x i64> @zext_4i32_to_4i64(<4 x i32> %A) nounwind uwtable readnone ssp {
|
||
|
;CHECK: zext_4i32_to_4i64
|
||
|
;CHECK: vpunpckhdq
|
||
|
|
||
|
%B = zext <4 x i32> %A to <4 x i64>
|
||
|
ret <4 x i64>%B
|
||
|
}
|