• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//=- 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
14// 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>;
18
19// Vector reduce add unsigned halfwords
20def : T_PP_pat<M2_vradduh, int_hexagon_M2_vradduh>;
21
22def: 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>;
28