mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
11 lines
214 B
LLVM
11 lines
214 B
LLVM
|
; RUN: llc -march=hexagon < %s | FileCheck %s
|
||
|
; CHECK: vmpyh
|
||
|
; CHECK: vmpyh
|
||
|
; CHECK: vtrunewh
|
||
|
|
||
|
define <4 x i16> @t_i4x16(<4 x i16> %a, <4 x i16> %b) nounwind {
|
||
|
entry:
|
||
|
%0 = mul <4 x i16> %a, %b
|
||
|
ret <4 x i16> %0
|
||
|
}
|