Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 1 | #include <arm_neon.h> |
| 2 | |
Murray Kornelsen | 6e09e14 | 2022-07-13 21:40:26 -0400 | [diff] [blame] | 3 | #if __arm__ |
| 4 | inline uint32x4_t vpaddq_u32(uint32x4_t, uint32x4_t) |
| 5 | { |
| 6 | return vdupq_n_u32(0); |
| 7 | } |
| 8 | #endif |
| 9 | |
Georgios Pinitas | cdf5145 | 2017-08-31 14:21:36 +0100 | [diff] [blame] | 10 | inline float16x4_t vrsqrts_f16 (float16x4_t, float16x4_t) |
| 11 | { |
| 12 | return vdup_n_f16(0); |
| 13 | } |
| 14 | |
Pablo Tello | f7629cf | 2017-07-24 12:23:17 +0100 | [diff] [blame] | 15 | inline float16x8_t vrsqrtsq_f16 (float16x8_t, float16x8_t) |
| 16 | { |
| 17 | return vdupq_n_f16(0); |
| 18 | } |
| 19 | |
Pablo Tello | 0c34fe2 | 2017-06-26 17:17:42 +0100 | [diff] [blame] | 20 | inline float16x4_t vpmax_f16 (float16x4_t, float16x4_t) |
| 21 | { |
| 22 | return vdup_n_f16(0); |
| 23 | } |
| 24 | |
Pablo Tello | b49a715 | 2017-07-11 16:31:35 +0100 | [diff] [blame] | 25 | inline float16x4_t vpadd_f16(float16x4_t, float16x4_t) |
Pablo Tello | 0c34fe2 | 2017-06-26 17:17:42 +0100 | [diff] [blame] | 26 | { |
| 27 | return vdup_n_f16(0); |
| 28 | } |
| 29 | |
Pablo Tello | 221f381 | 2017-06-28 17:27:56 +0100 | [diff] [blame] | 30 | inline float16x8_t vmulq_lane_f16 (float16x8_t, float16x4_t, const int) |
| 31 | { |
| 32 | return vdupq_n_f16(0); |
| 33 | } |
| 34 | |
| 35 | inline float16x4_t vmul_f16 (float16x4_t, float16x4_t) |
| 36 | { |
Pablo Tello | 0c34fe2 | 2017-06-26 17:17:42 +0100 | [diff] [blame] | 37 | return vdup_n_f16(0); |
Pablo Tello | 221f381 | 2017-06-28 17:27:56 +0100 | [diff] [blame] | 38 | } |
| 39 | |
| 40 | inline float16x4_t vadd_f16 (float16x4_t, float16x4_t) |
| 41 | { |
Pablo Tello | 0c34fe2 | 2017-06-26 17:17:42 +0100 | [diff] [blame] | 42 | return vdup_n_f16(0); |
Pablo Tello | 221f381 | 2017-06-28 17:27:56 +0100 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | inline float16x4_t vmul_lane_f16 (float16x4_t, float16x4_t, const int) |
| 46 | { |
Pablo Tello | 0c34fe2 | 2017-06-26 17:17:42 +0100 | [diff] [blame] | 47 | return vdup_n_f16(0); |
Pablo Tello | 221f381 | 2017-06-28 17:27:56 +0100 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | inline float16x4_t vmul_n_f16 (float16x4_t, float16_t) |
| 51 | { |
Pablo Tello | 0c34fe2 | 2017-06-26 17:17:42 +0100 | [diff] [blame] | 52 | return vdup_n_f16(0); |
| 53 | } |
| 54 | |
| 55 | inline float16x4_t vmax_f16(float16x4_t, float16x4_t) |
| 56 | { |
| 57 | return vdup_n_f16(0); |
Pablo Tello | 221f381 | 2017-06-28 17:27:56 +0100 | [diff] [blame] | 58 | } |
| 59 | |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 60 | inline float16x8_t vcvtq_f16_u16(uint16x8_t) |
| 61 | { |
| 62 | return vdupq_n_f16(0); |
| 63 | } |
| 64 | |
| 65 | inline uint16x8_t vcvtq_u16_f16(float16x8_t) |
| 66 | { |
| 67 | return vdupq_n_u16(0); |
| 68 | } |
| 69 | |
| 70 | inline int16x8_t vcvtq_s16_f16(float16x8_t) |
| 71 | { |
| 72 | return vdupq_n_s16(0); |
| 73 | } |
| 74 | |
| 75 | inline float16x8_t vaddq_f16(float16x8_t, float16x8_t) |
| 76 | { |
| 77 | return vdupq_n_f16(0); |
| 78 | } |
| 79 | |
| 80 | inline float16x8_t vsubq_f16(float16x8_t, float16x8_t) |
| 81 | { |
| 82 | return vdupq_n_f16(0); |
| 83 | } |
| 84 | |
| 85 | inline float16x8_t vmulq_f16(float16x8_t, float16x8_t) |
| 86 | { |
| 87 | return vdupq_n_f16(0); |
| 88 | } |
| 89 | |
| 90 | inline float16x8_t vmulq_n_f16(float16x8_t, float16_t) |
| 91 | { |
| 92 | return vdupq_n_f16(0); |
| 93 | } |
| 94 | |
| 95 | inline float16x8_t vfmaq_f16(float16x8_t, float16x8_t, float16x8_t) |
| 96 | { |
| 97 | return vdupq_n_f16(0); |
| 98 | } |
| 99 | |
| 100 | inline uint16x8_t vcgeq_f16(float16x8_t, float16x8_t) |
| 101 | { |
| 102 | return vdupq_n_u16(0); |
| 103 | } |
| 104 | |
| 105 | inline uint16x8_t vcgtq_f16(float16x8_t, float16x8_t) |
| 106 | { |
| 107 | return vdupq_n_u16(0); |
| 108 | } |
| 109 | |
| 110 | inline float16x8_t vbslq_f16 (uint16x8_t, float16x8_t, float16x8_t) |
| 111 | { |
| 112 | return vdupq_n_f16(0);; |
| 113 | } |
| 114 | |
| 115 | inline float16x8_t vextq_f16(float16x8_t, float16x8_t, int) |
| 116 | { |
| 117 | return vdupq_n_f16(0); |
| 118 | } |
| 119 | |
| 120 | inline float16x8_t vabsq_f16(float16x8_t) |
| 121 | { |
| 122 | return vdupq_n_f16(0); |
| 123 | } |
| 124 | |
| 125 | inline uint16x8_t vcvtq_f16_s16(float16x8_t) |
| 126 | { |
| 127 | return vdupq_n_s16(0); |
| 128 | } |
| 129 | |
| 130 | inline float16x4_t vbsl_f16 (uint16x4_t,float16x4_t, float16x4_t) |
| 131 | { |
| 132 | return vdup_n_f16(0); |
| 133 | } |
| 134 | |
Georgios Pinitas | cdf5145 | 2017-08-31 14:21:36 +0100 | [diff] [blame] | 135 | inline float16x4_t vrsqrte_f16(float16x4_t) |
| 136 | { |
| 137 | return vdup_n_f16(0); |
| 138 | } |
| 139 | |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 140 | inline float16x8_t vrsqrteq_f16(float16x8_t) |
| 141 | { |
| 142 | return vdupq_n_f16(0); |
| 143 | } |
| 144 | |
| 145 | inline float16x8_t vfmsq_f16 (float16x8_t, float16x8_t, float16x8_t) |
| 146 | { |
| 147 | return vdupq_n_f16(0); |
| 148 | } |
| 149 | |
Georgios Pinitas | cdf5145 | 2017-08-31 14:21:36 +0100 | [diff] [blame] | 150 | inline float16x4_t vrecpe_f16 (float16x4_t) |
| 151 | { |
| 152 | return vdup_n_f16(0); |
| 153 | } |
| 154 | |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 155 | inline float16x8_t vrecpeq_f16 (float16x8_t) |
| 156 | { |
| 157 | return vdupq_n_f16(0); |
| 158 | } |
| 159 | |
Georgios Pinitas | cdf5145 | 2017-08-31 14:21:36 +0100 | [diff] [blame] | 160 | inline float16x4_t vrecps_f16 (float16x4_t, float16x4_t) |
| 161 | { |
| 162 | return vdup_n_f16(0); |
| 163 | } |
| 164 | |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 165 | inline float16x8_t vrecpsq_f16 (float16x8_t, float16x8_t) |
| 166 | { |
| 167 | return vdupq_n_f16(0); |
| 168 | } |
| 169 | |
| 170 | inline float16x8_t vmaxq_f16 (float16x8_t, float16x8_t) |
| 171 | { |
| 172 | return vdupq_n_f16(0); |
| 173 | } |
| 174 | |
| 175 | inline float16x8_t vminq_f16 (float16x8_t, float16x8_t) |
| 176 | { |
| 177 | return vdupq_n_f16(0); |
| 178 | } |
| 179 | |
| 180 | inline uint16x8_t vcltq_f16(float16x8_t, float16x8_t) |
| 181 | { |
| 182 | return vdupq_n_u16(0); |
| 183 | } |
| 184 | |