mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
10 lines
199 B
LLVM
10 lines
199 B
LLVM
|
; RUN: llc -march=hexagon < %s | FileCheck %s
|
||
|
; CHECK: vmpyh
|
||
|
; CHECK: vtrunewh
|
||
|
|
||
|
define <2 x i16> @t_i2x16(<2 x i16> %a, <2 x i16> %b) nounwind {
|
||
|
entry:
|
||
|
%0 = mul <2 x i16> %a, %b
|
||
|
ret <2 x i16> %0
|
||
|
}
|