| Tony Linthicum | 1213a7a | 2011-12-12 21:14:40 +0000 | [diff] [blame] | 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 | |
| Colin LeMahieu | cd9cb02 | 2015-02-03 20:40:52 +0000 | [diff] [blame] | 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>; |
| Tony Linthicum | 1213a7a | 2011-12-12 21:14:40 +0000 | [diff] [blame] | 18 | |
| Colin LeMahieu | cd9cb02 | 2015-02-03 20:40:52 +0000 | [diff] [blame] | 19 | // Vector reduce add unsigned halfwords |
| 20 | def : T_PP_pat<M2_vradduh, int_hexagon_M2_vradduh>; |
| Tony Linthicum | 1213a7a | 2011-12-12 21:14:40 +0000 | [diff] [blame] | 21 | |
| Colin LeMahieu | 4379d10 | 2015-01-28 22:08:16 +0000 | [diff] [blame] | 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>; |