1 //=- HexagonIntrinsicsV3.td - Target Description for Hexagon -*- tablegen -*-=//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file describes the Hexagon V3 Compiler Intrinsics in TableGen format.
12 //===----------------------------------------------------------------------===//
14 // Vector reduce complex multiply real or imaginary
15 def : T_PR_pat <M2_vrcmpys_s1, int_hexagon_M2_vrcmpys_s1>;
16 def : T_PPR_pat<M2_vrcmpys_acc_s1, int_hexagon_M2_vrcmpys_acc_s1>;
17 def : T_PR_pat <M2_vrcmpys_s1rp, int_hexagon_M2_vrcmpys_s1rp>;
19 // Vector reduce add unsigned halfwords
20 def : T_PP_pat<M2_vradduh, int_hexagon_M2_vradduh>;
22 def: T_RP_pat<A2_addsp, int_hexagon_A2_addsp>;
23 def: T_PP_pat<A2_addpsat, int_hexagon_A2_addpsat>;
24 def: T_PP_pat<A2_minp, int_hexagon_A2_minp>;
25 def: T_PP_pat<A2_minup, int_hexagon_A2_minup>;
26 def: T_PP_pat<A2_maxp, int_hexagon_A2_maxp>;
27 def: T_PP_pat<A2_maxup, int_hexagon_A2_maxup>;