blob: 6152cb098825c52a1f4309aa9a28df804ec3f277 [file] [log] [blame]
Tony Linthicum1213a7a2011-12-12 21:14:40 +00001//=- HexagonIntrinsicsV3.td - Target Description for Hexagon -*- tablegen -*-=//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file describes the Hexagon V3 Compiler Intrinsics in TableGen format.
11//
12//===----------------------------------------------------------------------===//
13
Colin LeMahieucd9cb022015-02-03 20:40:52 +000014// Vector reduce complex multiply real or imaginary
15def : T_PR_pat <M2_vrcmpys_s1, int_hexagon_M2_vrcmpys_s1>;
16def : T_PPR_pat<M2_vrcmpys_acc_s1, int_hexagon_M2_vrcmpys_acc_s1>;
17def : T_PR_pat <M2_vrcmpys_s1rp, int_hexagon_M2_vrcmpys_s1rp>;
Tony Linthicum1213a7a2011-12-12 21:14:40 +000018
Colin LeMahieucd9cb022015-02-03 20:40:52 +000019// Vector reduce add unsigned halfwords
20def : T_PP_pat<M2_vradduh, int_hexagon_M2_vradduh>;
Tony Linthicum1213a7a2011-12-12 21:14:40 +000021
Colin LeMahieu4379d102015-01-28 22:08:16 +000022def: T_RP_pat<A2_addsp, int_hexagon_A2_addsp>;
23def: T_PP_pat<A2_addpsat, int_hexagon_A2_addpsat>;
24def: T_PP_pat<A2_minp, int_hexagon_A2_minp>;
25def: T_PP_pat<A2_minup, int_hexagon_A2_minup>;
26def: T_PP_pat<A2_maxp, int_hexagon_A2_maxp>;
27def: T_PP_pat<A2_maxup, int_hexagon_A2_maxup>;