mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
9 lines
181 B
LLVM
9 lines
181 B
LLVM
|
; RUN: llc -march=hexagon < %s | FileCheck %s
|
||
|
; CHECK: vsubh
|
||
|
|
||
|
define <4 x i16> @t_i4x16(<4 x i16> %a, <4 x i16> %b) nounwind {
|
||
|
entry:
|
||
|
%0 = sub <4 x i16> %a, %b
|
||
|
ret <4 x i16> %0
|
||
|
}
|