Stephen Hines | 5a47020 | 2013-05-29 15:36:18 -0700 | [diff] [blame] | 1 | target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32-S64" |
| 2 | target triple = "armv7-none-linux-gnueabi" |
| 3 | |
| 4 | |
| 5 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 6 | ;;;;;;;;; FLOAT ;;;;;;;;;; |
| 7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 8 | |
| 9 | define <2 x float> @_Z14convert_float2Dv2_h(<2 x i8> %in) nounwind readnone alwaysinline { |
| 10 | %1 = uitofp <2 x i8> %in to <2 x float> |
| 11 | ret <2 x float> %1 |
| 12 | } |
| 13 | |
| 14 | define <3 x float> @_Z14convert_float3Dv3_h(<3 x i8> %in) nounwind readnone alwaysinline { |
| 15 | %1 = uitofp <3 x i8> %in to <3 x float> |
| 16 | ret <3 x float> %1 |
| 17 | } |
| 18 | |
| 19 | define <4 x float> @_Z14convert_float4Dv4_h(<4 x i8> %in) nounwind readnone alwaysinline { |
| 20 | %1 = uitofp <4 x i8> %in to <4 x float> |
| 21 | ret <4 x float> %1 |
| 22 | } |
| 23 | |
| 24 | define <2 x float> @_Z14convert_float2Dv2_c(<2 x i8> %in) nounwind readnone alwaysinline { |
| 25 | %1 = sitofp <2 x i8> %in to <2 x float> |
| 26 | ret <2 x float> %1 |
| 27 | } |
| 28 | |
| 29 | define <3 x float> @_Z14convert_float3Dv3_c(<3 x i8> %in) nounwind readnone alwaysinline { |
| 30 | %1 = sitofp <3 x i8> %in to <3 x float> |
| 31 | ret <3 x float> %1 |
| 32 | } |
| 33 | |
| 34 | define <4 x float> @_Z14convert_float4Dv4_c(<4 x i8> %in) nounwind readnone alwaysinline { |
| 35 | %1 = sitofp <4 x i8> %in to <4 x float> |
| 36 | ret <4 x float> %1 |
| 37 | } |
| 38 | |
| 39 | define <2 x float> @_Z14convert_float2Dv2_t(<2 x i16> %in) nounwind readnone alwaysinline { |
| 40 | %1 = uitofp <2 x i16> %in to <2 x float> |
| 41 | ret <2 x float> %1 |
| 42 | } |
| 43 | |
| 44 | define <3 x float> @_Z14convert_float3Dv3_t(<3 x i16> %in) nounwind readnone alwaysinline { |
| 45 | %1 = uitofp <3 x i16> %in to <3 x float> |
| 46 | ret <3 x float> %1 |
| 47 | } |
| 48 | |
| 49 | define <4 x float> @_Z14convert_float4Dv4_t(<4 x i16> %in) nounwind readnone alwaysinline { |
| 50 | %1 = uitofp <4 x i16> %in to <4 x float> |
| 51 | ret <4 x float> %1 |
| 52 | } |
| 53 | |
| 54 | define <2 x float> @_Z14convert_float2Dv2_s(<2 x i16> %in) nounwind readnone alwaysinline { |
| 55 | %1 = sitofp <2 x i16> %in to <2 x float> |
| 56 | ret <2 x float> %1 |
| 57 | } |
| 58 | |
| 59 | define <3 x float> @_Z14convert_float3Dv3_s(<3 x i16> %in) nounwind readnone alwaysinline { |
| 60 | %1 = sitofp <3 x i16> %in to <3 x float> |
| 61 | ret <3 x float> %1 |
| 62 | } |
| 63 | |
| 64 | define <4 x float> @_Z14convert_float4Dv4_s(<4 x i16> %in) nounwind readnone alwaysinline { |
| 65 | %1 = sitofp <4 x i16> %in to <4 x float> |
| 66 | ret <4 x float> %1 |
| 67 | } |
| 68 | |
| 69 | define <2 x float> @_Z14convert_float2Dv2_j(<2 x i32> %in) nounwind readnone alwaysinline { |
| 70 | %1 = uitofp <2 x i32> %in to <2 x float> |
| 71 | ret <2 x float> %1 |
| 72 | } |
| 73 | |
| 74 | define <3 x float> @_Z14convert_float3Dv3_j(<3 x i32> %in) nounwind readnone alwaysinline { |
| 75 | %1 = uitofp <3 x i32> %in to <3 x float> |
| 76 | ret <3 x float> %1 |
| 77 | } |
| 78 | |
| 79 | define <4 x float> @_Z14convert_float4Dv4_j(<4 x i32> %in) nounwind readnone alwaysinline { |
| 80 | %1 = uitofp <4 x i32> %in to <4 x float> |
| 81 | ret <4 x float> %1 |
| 82 | } |
| 83 | |
| 84 | define <2 x float> @_Z14convert_float2Dv2_i(<2 x i32> %in) nounwind readnone alwaysinline { |
| 85 | %1 = sitofp <2 x i32> %in to <2 x float> |
| 86 | ret <2 x float> %1 |
| 87 | } |
| 88 | |
| 89 | define <3 x float> @_Z14convert_float3Dv3_i(<3 x i32> %in) nounwind readnone alwaysinline { |
| 90 | %1 = sitofp <3 x i32> %in to <3 x float> |
| 91 | ret <3 x float> %1 |
| 92 | } |
| 93 | |
| 94 | define <4 x float> @_Z14convert_float4Dv4_i(<4 x i32> %in) nounwind readnone alwaysinline { |
| 95 | %1 = sitofp <4 x i32> %in to <4 x float> |
| 96 | ret <4 x float> %1 |
| 97 | } |
| 98 | |
| 99 | define <2 x float> @_Z14convert_float2Dv2_f(<2 x float> %in) nounwind readnone alwaysinline { |
| 100 | ret <2 x float> %in |
| 101 | } |
| 102 | |
| 103 | define <3 x float> @_Z14convert_float3Dv3_f(<3 x float> %in) nounwind readnone alwaysinline { |
| 104 | ret <3 x float> %in |
| 105 | } |
| 106 | |
| 107 | define <4 x float> @_Z14convert_float4Dv4_f(<4 x float> %in) nounwind readnone alwaysinline { |
| 108 | ret <4 x float> %in |
| 109 | } |
| 110 | |
| 111 | |
Jason Sams | d8c4983 | 2014-02-24 19:17:33 -0800 | [diff] [blame] | 112 | define <2 x float> @_Z14convert_float2Dv2_d(<2 x double> %in) nounwind readnone alwaysinline { |
| 113 | %1 = fptrunc <2 x double> %in to <2 x float> |
| 114 | ret <2 x float> %1 |
| 115 | } |
| 116 | define <3 x float> @_Z14convert_float3Dv3_d(<3 x double> %in) nounwind readnone alwaysinline { |
| 117 | %1 = fptrunc <3 x double> %in to <3 x float> |
| 118 | ret <3 x float> %1 |
| 119 | } |
| 120 | define <4 x float> @_Z14convert_float4Dv4_d(<4 x double> %in) nounwind readnone alwaysinline { |
| 121 | %1 = fptrunc <4 x double> %in to <4 x float> |
| 122 | ret <4 x float> %1 |
| 123 | } |
| 124 | |
| 125 | define <2 x float> @_Z14convert_float2Dv2_l(<2 x i64> %in) nounwind readnone alwaysinline { |
| 126 | %1 = sitofp <2 x i64> %in to <2 x float> |
| 127 | ret <2 x float> %1 |
| 128 | } |
| 129 | define <3 x float> @_Z14convert_float3Dv3_l(<3 x i64> %in) nounwind readnone alwaysinline { |
| 130 | %1 = sitofp <3 x i64> %in to <3 x float> |
| 131 | ret <3 x float> %1 |
| 132 | } |
| 133 | define <4 x float> @_Z14convert_float4Dv4_l(<4 x i64> %in) nounwind readnone alwaysinline { |
| 134 | %1 = sitofp <4 x i64> %in to <4 x float> |
| 135 | ret <4 x float> %1 |
| 136 | } |
| 137 | |
| 138 | define <2 x float> @_Z14convert_float2Dv2_y(<2 x i64> %in) nounwind readnone alwaysinline { |
| 139 | %1 = uitofp <2 x i64> %in to <2 x float> |
| 140 | ret <2 x float> %1 |
| 141 | } |
| 142 | define <3 x float> @_Z14convert_float3Dv3_y(<3 x i64> %in) nounwind readnone alwaysinline { |
| 143 | %1 = uitofp <3 x i64> %in to <3 x float> |
| 144 | ret <3 x float> %1 |
| 145 | } |
| 146 | define <4 x float> @_Z14convert_float4Dv4_y(<4 x i64> %in) nounwind readnone alwaysinline { |
| 147 | %1 = uitofp <4 x i64> %in to <4 x float> |
| 148 | ret <4 x float> %1 |
| 149 | } |
| 150 | |
| 151 | |
| 152 | |
Stephen Hines | 5a47020 | 2013-05-29 15:36:18 -0700 | [diff] [blame] | 153 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 154 | ;;;;;;;;; CHAR ;;;;;;;;;; |
| 155 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 156 | define <4 x i8> @_Z13convert_char4Dv4_f(<4 x float> %in) nounwind readnone alwaysinline { |
| 157 | %1 = fptosi <4 x float> %in to <4 x i8> |
| 158 | ret <4 x i8> %1 |
| 159 | } |
| 160 | |
| 161 | define <3 x i8> @_Z13convert_char3Dv3_f(<3 x float> %in) nounwind readnone alwaysinline { |
| 162 | %1 = fptosi <3 x float> %in to <3 x i8> |
| 163 | ret <3 x i8> %1 |
| 164 | } |
| 165 | |
| 166 | define <2 x i8> @_Z13convert_char2Dv2_f(<2 x float> %in) nounwind readnone alwaysinline { |
| 167 | %1 = fptosi <2 x float> %in to <2 x i8> |
| 168 | ret <2 x i8> %1 |
| 169 | } |
| 170 | |
| 171 | define <4 x i8> @_Z13convert_char4Dv4_h(<4 x i8> %in) nounwind readnone alwaysinline { |
| 172 | ret <4 x i8> %in |
| 173 | } |
| 174 | |
| 175 | define <3 x i8> @_Z13convert_char3Dv3_h(<3 x i8> %in) nounwind readnone alwaysinline { |
| 176 | ret <3 x i8> %in |
| 177 | } |
| 178 | |
| 179 | define <2 x i8> @_Z13convert_char2Dv2_h(<2 x i8> %in) nounwind readnone alwaysinline { |
| 180 | ret <2 x i8> %in |
| 181 | } |
| 182 | |
| 183 | define <4 x i8> @_Z13convert_char4Dv4_c(<4 x i8> %in) nounwind readnone alwaysinline { |
| 184 | ret <4 x i8> %in |
| 185 | } |
| 186 | |
| 187 | define <3 x i8> @_Z13convert_char3Dv3_c(<3 x i8> %in) nounwind readnone alwaysinline { |
| 188 | ret <3 x i8> %in |
| 189 | } |
| 190 | |
| 191 | define <2 x i8> @_Z13convert_char2Dv2_c(<2 x i8> %in) nounwind readnone alwaysinline { |
| 192 | ret <2 x i8> %in |
| 193 | } |
| 194 | |
| 195 | define <4 x i8> @_Z13convert_char4Dv4_t(<4 x i16> %in) nounwind readnone alwaysinline { |
| 196 | %1 = trunc <4 x i16> %in to <4 x i8> |
| 197 | ret <4 x i8> %1 |
| 198 | } |
| 199 | |
| 200 | define <3 x i8> @_Z13convert_char3Dv3_t(<3 x i16> %in) nounwind readnone alwaysinline { |
| 201 | %1 = trunc <3 x i16> %in to <3 x i8> |
| 202 | ret <3 x i8> %1 |
| 203 | } |
| 204 | |
| 205 | define <2 x i8> @_Z13convert_char2Dv2_t(<2 x i16> %in) nounwind readnone alwaysinline { |
| 206 | %1 = trunc <2 x i16> %in to <2 x i8> |
| 207 | ret <2 x i8> %1 |
| 208 | } |
| 209 | |
| 210 | define <4 x i8> @_Z13convert_char4Dv4_s(<4 x i16> %in) nounwind readnone alwaysinline { |
| 211 | %1 = trunc <4 x i16> %in to <4 x i8> |
| 212 | ret <4 x i8> %1 |
| 213 | } |
| 214 | |
| 215 | define <3 x i8> @_Z13convert_char3Dv3_s(<3 x i16> %in) nounwind readnone alwaysinline { |
| 216 | %1 = trunc <3 x i16> %in to <3 x i8> |
| 217 | ret <3 x i8> %1 |
| 218 | } |
| 219 | |
| 220 | define <2 x i8> @_Z13convert_char2Dv2_s(<2 x i16> %in) nounwind readnone alwaysinline { |
| 221 | %1 = trunc <2 x i16> %in to <2 x i8> |
| 222 | ret <2 x i8> %1 |
| 223 | } |
| 224 | |
| 225 | define <4 x i8> @_Z13convert_char4Dv4_j(<4 x i32> %in) nounwind readnone alwaysinline { |
| 226 | %1 = trunc <4 x i32> %in to <4 x i8> |
| 227 | ret <4 x i8> %1 |
| 228 | } |
| 229 | |
| 230 | define <3 x i8> @_Z13convert_char3Dv3_j(<3 x i32> %in) nounwind readnone alwaysinline { |
| 231 | %1 = trunc <3 x i32> %in to <3 x i8> |
| 232 | ret <3 x i8> %1 |
| 233 | } |
| 234 | |
| 235 | define <2 x i8> @_Z13convert_char2Dv2_j(<2 x i32> %in) nounwind readnone alwaysinline { |
| 236 | %1 = trunc <2 x i32> %in to <2 x i8> |
| 237 | ret <2 x i8> %1 |
| 238 | } |
| 239 | |
| 240 | define <4 x i8> @_Z13convert_char4Dv4_i(<4 x i32> %in) nounwind readnone alwaysinline { |
| 241 | %1 = trunc <4 x i32> %in to <4 x i8> |
| 242 | ret <4 x i8> %1 |
| 243 | } |
| 244 | |
| 245 | define <3 x i8> @_Z13convert_char3Dv3_i(<3 x i32> %in) nounwind readnone alwaysinline { |
| 246 | %1 = trunc <3 x i32> %in to <3 x i8> |
| 247 | ret <3 x i8> %1 |
| 248 | } |
| 249 | |
| 250 | define <2 x i8> @_Z13convert_char2Dv2_i(<2 x i32> %in) nounwind readnone alwaysinline { |
| 251 | %1 = trunc <2 x i32> %in to <2 x i8> |
| 252 | ret <2 x i8> %1 |
| 253 | } |
| 254 | |
Jason Sams | d8c4983 | 2014-02-24 19:17:33 -0800 | [diff] [blame] | 255 | define <2 x i8> @_Z13convert_char2Dv2_d(<2 x double> %in) nounwind readnone alwaysinline { |
| 256 | %1 = fptosi <2 x double> %in to <2 x i8> |
| 257 | ret <2 x i8> %1 |
| 258 | } |
| 259 | define <3 x i8> @_Z13convert_char3Dv3_d(<3 x double> %in) nounwind readnone alwaysinline { |
| 260 | %1 = fptosi <3 x double> %in to <3 x i8> |
| 261 | ret <3 x i8> %1 |
| 262 | } |
| 263 | define <4 x i8> @_Z13convert_char4Dv4_d(<4 x double> %in) nounwind readnone alwaysinline { |
| 264 | %1 = fptosi <4 x double> %in to <4 x i8> |
| 265 | ret <4 x i8> %1 |
| 266 | } |
| 267 | |
| 268 | define <2 x i8> @_Z13convert_char2Dv2_l(<2 x i64> %in) nounwind readnone alwaysinline { |
| 269 | %1 = trunc <2 x i64> %in to <2 x i8> |
| 270 | ret <2 x i8> %1 |
| 271 | } |
| 272 | define <3 x i8> @_Z13convert_char3Dv3_l(<3 x i64> %in) nounwind readnone alwaysinline { |
| 273 | %1 = trunc <3 x i64> %in to <3 x i8> |
| 274 | ret <3 x i8> %1 |
| 275 | } |
| 276 | define <4 x i8> @_Z13convert_char4Dv4_l(<4 x i64> %in) nounwind readnone alwaysinline { |
| 277 | %1 = trunc <4 x i64> %in to <4 x i8> |
| 278 | ret <4 x i8> %1 |
| 279 | } |
| 280 | |
| 281 | define <2 x i8> @_Z13convert_char2Dv2_y(<2 x i64> %in) nounwind readnone alwaysinline { |
| 282 | %1 = trunc <2 x i64> %in to <2 x i8> |
| 283 | ret <2 x i8> %1 |
| 284 | } |
| 285 | define <3 x i8> @_Z13convert_char3Dv3_y(<3 x i64> %in) nounwind readnone alwaysinline { |
| 286 | %1 = trunc <3 x i64> %in to <3 x i8> |
| 287 | ret <3 x i8> %1 |
| 288 | } |
| 289 | define <4 x i8> @_Z13convert_char4Dv4_y(<4 x i64> %in) nounwind readnone alwaysinline { |
| 290 | %1 = trunc <4 x i64> %in to <4 x i8> |
| 291 | ret <4 x i8> %1 |
| 292 | } |
| 293 | |
Stephen Hines | 5a47020 | 2013-05-29 15:36:18 -0700 | [diff] [blame] | 294 | |
| 295 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 296 | ;;;;;;;;; UCHAR ;;;;;;;;;; |
| 297 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 298 | |
| 299 | define <4 x i8> @_Z14convert_uchar4Dv4_f(<4 x float> %in) nounwind readnone alwaysinline { |
| 300 | %1 = fptoui <4 x float> %in to <4 x i8> |
| 301 | ret <4 x i8> %1 |
| 302 | } |
| 303 | |
| 304 | define <3 x i8> @_Z14convert_uchar3Dv3_f(<3 x float> %in) nounwind readnone alwaysinline { |
| 305 | %1 = fptoui <3 x float> %in to <3 x i8> |
| 306 | ret <3 x i8> %1 |
| 307 | } |
| 308 | |
| 309 | define <2 x i8> @_Z14convert_uchar2Dv2_f(<2 x float> %in) nounwind readnone alwaysinline { |
| 310 | %1 = fptoui <2 x float> %in to <2 x i8> |
| 311 | ret <2 x i8> %1 |
| 312 | } |
| 313 | |
| 314 | define <4 x i8> @_Z14convert_uchar4Dv4_h(<4 x i8> %in) nounwind readnone alwaysinline { |
| 315 | ret <4 x i8> %in |
| 316 | } |
| 317 | |
| 318 | define <3 x i8> @_Z14convert_uchar3Dv3_h(<3 x i8> %in) nounwind readnone alwaysinline { |
| 319 | ret <3 x i8> %in |
| 320 | } |
| 321 | |
| 322 | define <2 x i8> @_Z14convert_uchar2Dv2_h(<2 x i8> %in) nounwind readnone alwaysinline { |
| 323 | ret <2 x i8> %in |
| 324 | } |
| 325 | |
| 326 | define <4 x i8> @_Z14convert_uchar4Dv4_c(<4 x i8> %in) nounwind readnone alwaysinline { |
| 327 | ret <4 x i8> %in |
| 328 | } |
| 329 | |
| 330 | define <3 x i8> @_Z14convert_uchar3Dv3_c(<3 x i8> %in) nounwind readnone alwaysinline { |
| 331 | ret <3 x i8> %in |
| 332 | } |
| 333 | |
| 334 | define <2 x i8> @_Z14convert_uchar2Dv2_c(<2 x i8> %in) nounwind readnone alwaysinline { |
| 335 | ret <2 x i8> %in |
| 336 | } |
| 337 | |
| 338 | define <4 x i8> @_Z14convert_uchar4Dv4_t(<4 x i16> %in) nounwind readnone alwaysinline { |
| 339 | %1 = trunc <4 x i16> %in to <4 x i8> |
| 340 | ret <4 x i8> %1 |
| 341 | } |
| 342 | |
| 343 | define <3 x i8> @_Z14convert_uchar3Dv3_t(<3 x i16> %in) nounwind readnone alwaysinline { |
| 344 | %1 = trunc <3 x i16> %in to <3 x i8> |
| 345 | ret <3 x i8> %1 |
| 346 | } |
| 347 | |
| 348 | define <2 x i8> @_Z14convert_uchar2Dv2_t(<2 x i16> %in) nounwind readnone alwaysinline { |
| 349 | %1 = trunc <2 x i16> %in to <2 x i8> |
| 350 | ret <2 x i8> %1 |
| 351 | } |
| 352 | |
| 353 | define <4 x i8> @_Z14convert_uchar4Dv4_s(<4 x i16> %in) nounwind readnone alwaysinline { |
| 354 | %1 = trunc <4 x i16> %in to <4 x i8> |
| 355 | ret <4 x i8> %1 |
| 356 | } |
| 357 | |
| 358 | define <3 x i8> @_Z14convert_uchar3Dv3_s(<3 x i16> %in) nounwind readnone alwaysinline { |
| 359 | %1 = trunc <3 x i16> %in to <3 x i8> |
| 360 | ret <3 x i8> %1 |
| 361 | } |
| 362 | |
| 363 | define <2 x i8> @_Z14convert_uchar2Dv2_s(<2 x i16> %in) nounwind readnone alwaysinline { |
| 364 | %1 = trunc <2 x i16> %in to <2 x i8> |
| 365 | ret <2 x i8> %1 |
| 366 | } |
| 367 | |
| 368 | define <4 x i8> @_Z14convert_uchar4Dv4_j(<4 x i32> %in) nounwind readnone alwaysinline { |
| 369 | %1 = trunc <4 x i32> %in to <4 x i8> |
| 370 | ret <4 x i8> %1 |
| 371 | } |
| 372 | |
| 373 | define <3 x i8> @_Z14convert_uchar3Dv3_j(<3 x i32> %in) nounwind readnone alwaysinline { |
| 374 | %1 = trunc <3 x i32> %in to <3 x i8> |
| 375 | ret <3 x i8> %1 |
| 376 | } |
| 377 | |
| 378 | define <2 x i8> @_Z14convert_uchar2Dv2_j(<2 x i32> %in) nounwind readnone alwaysinline { |
| 379 | %1 = trunc <2 x i32> %in to <2 x i8> |
| 380 | ret <2 x i8> %1 |
| 381 | } |
| 382 | |
| 383 | define <4 x i8> @_Z14convert_uchar4Dv4_i(<4 x i32> %in) nounwind readnone alwaysinline { |
| 384 | %1 = trunc <4 x i32> %in to <4 x i8> |
| 385 | ret <4 x i8> %1 |
| 386 | } |
| 387 | |
| 388 | define <3 x i8> @_Z14convert_uchar3Dv3_i(<3 x i32> %in) nounwind readnone alwaysinline { |
| 389 | %1 = trunc <3 x i32> %in to <3 x i8> |
| 390 | ret <3 x i8> %1 |
| 391 | } |
| 392 | |
| 393 | define <2 x i8> @_Z14convert_uchar2Dv2_i(<2 x i32> %in) nounwind readnone alwaysinline { |
| 394 | %1 = trunc <2 x i32> %in to <2 x i8> |
| 395 | ret <2 x i8> %1 |
| 396 | } |
| 397 | |
Jason Sams | d8c4983 | 2014-02-24 19:17:33 -0800 | [diff] [blame] | 398 | define <2 x i8> @_Z14convert_uchar2Dv2_d(<2 x double> %in) nounwind readnone alwaysinline { |
| 399 | %1 = fptosi <2 x double> %in to <2 x i8> |
| 400 | ret <2 x i8> %1 |
| 401 | } |
| 402 | define <3 x i8> @_Z14convert_uchar3Dv3_d(<3 x double> %in) nounwind readnone alwaysinline { |
| 403 | %1 = fptosi <3 x double> %in to <3 x i8> |
| 404 | ret <3 x i8> %1 |
| 405 | } |
| 406 | define <4 x i8> @_Z14convert_uchar4Dv4_d(<4 x double> %in) nounwind readnone alwaysinline { |
| 407 | %1 = fptosi <4 x double> %in to <4 x i8> |
| 408 | ret <4 x i8> %1 |
| 409 | } |
| 410 | |
| 411 | define <2 x i8> @_Z14convert_uchar2Dv2_l(<2 x i64> %in) nounwind readnone alwaysinline { |
| 412 | %1 = trunc <2 x i64> %in to <2 x i8> |
| 413 | ret <2 x i8> %1 |
| 414 | } |
| 415 | define <3 x i8> @_Z14convert_uchar3Dv3_l(<3 x i64> %in) nounwind readnone alwaysinline { |
| 416 | %1 = trunc <3 x i64> %in to <3 x i8> |
| 417 | ret <3 x i8> %1 |
| 418 | } |
| 419 | define <4 x i8> @_Z14convert_uchar4Dv4_l(<4 x i64> %in) nounwind readnone alwaysinline { |
| 420 | %1 = trunc <4 x i64> %in to <4 x i8> |
| 421 | ret <4 x i8> %1 |
| 422 | } |
| 423 | |
| 424 | define <2 x i8> @_Z14convert_uchar2Dv2_y(<2 x i64> %in) nounwind readnone alwaysinline { |
| 425 | %1 = trunc <2 x i64> %in to <2 x i8> |
| 426 | ret <2 x i8> %1 |
| 427 | } |
| 428 | define <3 x i8> @_Z14convert_uchar3Dv3_y(<3 x i64> %in) nounwind readnone alwaysinline { |
| 429 | %1 = trunc <3 x i64> %in to <3 x i8> |
| 430 | ret <3 x i8> %1 |
| 431 | } |
| 432 | define <4 x i8> @_Z14convert_uchar4Dv4_y(<4 x i64> %in) nounwind readnone alwaysinline { |
| 433 | %1 = trunc <4 x i64> %in to <4 x i8> |
| 434 | ret <4 x i8> %1 |
| 435 | } |
| 436 | |
Stephen Hines | 5a47020 | 2013-05-29 15:36:18 -0700 | [diff] [blame] | 437 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 438 | ;;;;;;;;; SHORT ;;;;;;;;;; |
| 439 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 440 | |
| 441 | define <4 x i16> @_Z14convert_short4Dv4_f(<4 x float> %in) nounwind readnone alwaysinline { |
| 442 | %1 = fptosi <4 x float> %in to <4 x i16> |
| 443 | ret <4 x i16> %1 |
| 444 | } |
| 445 | |
| 446 | define <3 x i16> @_Z14convert_short3Dv3_f(<3 x float> %in) nounwind readnone alwaysinline { |
| 447 | %1 = fptosi <3 x float> %in to <3 x i16> |
| 448 | ret <3 x i16> %1 |
| 449 | } |
| 450 | |
| 451 | define <2 x i16> @_Z14convert_short2Dv2_f(<2 x float> %in) nounwind readnone alwaysinline { |
| 452 | %1 = fptosi <2 x float> %in to <2 x i16> |
| 453 | ret <2 x i16> %1 |
| 454 | } |
| 455 | |
| 456 | define <4 x i16> @_Z14convert_short4Dv4_h(<4 x i8> %in) nounwind readnone alwaysinline { |
| 457 | %1 = zext <4 x i8> %in to <4 x i16> |
| 458 | ret <4 x i16> %1 |
| 459 | } |
| 460 | |
| 461 | define <3 x i16> @_Z14convert_short3Dv3_h(<3 x i8> %in) nounwind readnone alwaysinline { |
| 462 | %1 = zext <3 x i8> %in to <3 x i16> |
| 463 | ret <3 x i16> %1 |
| 464 | } |
| 465 | |
| 466 | define <2 x i16> @_Z14convert_short2Dv2_h(<2 x i8> %in) nounwind readnone alwaysinline { |
| 467 | %1 = zext <2 x i8> %in to <2 x i16> |
| 468 | ret <2 x i16> %1 |
| 469 | } |
| 470 | |
| 471 | define <4 x i16> @_Z14convert_short4Dv4_c(<4 x i8> %in) nounwind readnone alwaysinline { |
| 472 | %1 = sext <4 x i8> %in to <4 x i16> |
| 473 | ret <4 x i16> %1 |
| 474 | } |
| 475 | |
| 476 | define <3 x i16> @_Z14convert_short3Dv3_c(<3 x i8> %in) nounwind readnone alwaysinline { |
| 477 | %1 = sext <3 x i8> %in to <3 x i16> |
| 478 | ret <3 x i16> %1 |
| 479 | } |
| 480 | |
| 481 | define <2 x i16> @_Z14convert_short2Dv2_c(<2 x i8> %in) nounwind readnone alwaysinline { |
| 482 | %1 = sext <2 x i8> %in to <2 x i16> |
| 483 | ret <2 x i16> %1 |
| 484 | } |
| 485 | |
| 486 | define <4 x i16> @_Z14convert_short4Dv4_t(<4 x i16> %in) nounwind readnone alwaysinline { |
| 487 | ret <4 x i16> %in |
| 488 | } |
| 489 | |
| 490 | define <3 x i16> @_Z14convert_short3Dv3_t(<3 x i16> %in) nounwind readnone alwaysinline { |
| 491 | ret <3 x i16> %in |
| 492 | } |
| 493 | |
| 494 | define <2 x i16> @_Z14convert_short2Dv2_t(<2 x i16> %in) nounwind readnone alwaysinline { |
| 495 | ret <2 x i16> %in |
| 496 | } |
| 497 | |
| 498 | define <4 x i16> @_Z14convert_short4Dv4_s(<4 x i16> %in) nounwind readnone alwaysinline { |
| 499 | ret <4 x i16> %in |
| 500 | } |
| 501 | |
| 502 | define <3 x i16> @_Z14convert_short3Dv3_s(<3 x i16> %in) nounwind readnone alwaysinline { |
| 503 | ret <3 x i16> %in |
| 504 | } |
| 505 | |
| 506 | define <2 x i16> @_Z14convert_short2Dv2_s(<2 x i16> %in) nounwind readnone alwaysinline { |
| 507 | ret <2 x i16> %in |
| 508 | } |
| 509 | |
| 510 | define <4 x i16> @_Z14convert_short4Dv4_j(<4 x i32> %in) nounwind readnone alwaysinline { |
| 511 | %1 = trunc <4 x i32> %in to <4 x i16> |
| 512 | ret <4 x i16> %1 |
| 513 | } |
| 514 | |
| 515 | define <3 x i16> @_Z14convert_short3Dv3_j(<3 x i32> %in) nounwind readnone alwaysinline { |
| 516 | %1 = trunc <3 x i32> %in to <3 x i16> |
| 517 | ret <3 x i16> %1 |
| 518 | } |
| 519 | |
| 520 | define <2 x i16> @_Z14convert_short2Dv2_j(<2 x i32> %in) nounwind readnone alwaysinline { |
| 521 | %1 = trunc <2 x i32> %in to <2 x i16> |
| 522 | ret <2 x i16> %1 |
| 523 | } |
| 524 | |
| 525 | define <4 x i16> @_Z14convert_short4Dv4_i(<4 x i32> %in) nounwind readnone alwaysinline { |
| 526 | %1 = trunc <4 x i32> %in to <4 x i16> |
| 527 | ret <4 x i16> %1 |
| 528 | } |
| 529 | |
| 530 | define <3 x i16> @_Z14convert_short3Dv3_i(<3 x i32> %in) nounwind readnone alwaysinline { |
| 531 | %1 = trunc <3 x i32> %in to <3 x i16> |
| 532 | ret <3 x i16> %1 |
| 533 | } |
| 534 | |
| 535 | define <2 x i16> @_Z14convert_short2Dv2_i(<2 x i32> %in) nounwind readnone alwaysinline { |
| 536 | %1 = trunc <2 x i32> %in to <2 x i16> |
| 537 | ret <2 x i16> %1 |
| 538 | } |
| 539 | |
| 540 | |
Jason Sams | d8c4983 | 2014-02-24 19:17:33 -0800 | [diff] [blame] | 541 | define <2 x i16> @_Z14convert_short2Dv2_d(<2 x double> %in) nounwind readnone alwaysinline { |
| 542 | %1 = fptosi <2 x double> %in to <2 x i16> |
| 543 | ret <2 x i16> %1 |
| 544 | } |
| 545 | define <3 x i16> @_Z14convert_short3Dv3_d(<3 x double> %in) nounwind readnone alwaysinline { |
| 546 | %1 = fptosi <3 x double> %in to <3 x i16> |
| 547 | ret <3 x i16> %1 |
| 548 | } |
| 549 | define <4 x i16> @_Z14convert_short4Dv4_d(<4 x double> %in) nounwind readnone alwaysinline { |
| 550 | %1 = fptosi <4 x double> %in to <4 x i16> |
| 551 | ret <4 x i16> %1 |
| 552 | } |
| 553 | |
| 554 | define <2 x i16> @_Z14convert_short2Dv2_l(<2 x i64> %in) nounwind readnone alwaysinline { |
| 555 | %1 = trunc <2 x i64> %in to <2 x i16> |
| 556 | ret <2 x i16> %1 |
| 557 | } |
| 558 | define <3 x i16> @_Z14convert_short3Dv3_l(<3 x i64> %in) nounwind readnone alwaysinline { |
| 559 | %1 = trunc <3 x i64> %in to <3 x i16> |
| 560 | ret <3 x i16> %1 |
| 561 | } |
| 562 | define <4 x i16> @_Z14convert_short4Dv4_l(<4 x i64> %in) nounwind readnone alwaysinline { |
| 563 | %1 = trunc <4 x i64> %in to <4 x i16> |
| 564 | ret <4 x i16> %1 |
| 565 | } |
| 566 | |
| 567 | define <2 x i16> @_Z14convert_short2Dv2_y(<2 x i64> %in) nounwind readnone alwaysinline { |
| 568 | %1 = trunc <2 x i64> %in to <2 x i16> |
| 569 | ret <2 x i16> %1 |
| 570 | } |
| 571 | define <3 x i16> @_Z14convert_short3Dv3_y(<3 x i64> %in) nounwind readnone alwaysinline { |
| 572 | %1 = trunc <3 x i64> %in to <3 x i16> |
| 573 | ret <3 x i16> %1 |
| 574 | } |
| 575 | define <4 x i16> @_Z14convert_short4Dv4_y(<4 x i64> %in) nounwind readnone alwaysinline { |
| 576 | %1 = trunc <4 x i64> %in to <4 x i16> |
| 577 | ret <4 x i16> %1 |
| 578 | } |
| 579 | |
| 580 | |
Stephen Hines | 5a47020 | 2013-05-29 15:36:18 -0700 | [diff] [blame] | 581 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 582 | ;;;;;;;;; USHORT ;;;;;;;;;; |
| 583 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 584 | |
| 585 | define <4 x i16> @_Z15convert_ushort4Dv4_f(<4 x float> %in) nounwind readnone alwaysinline { |
| 586 | %1 = fptoui <4 x float> %in to <4 x i16> |
| 587 | ret <4 x i16> %1 |
| 588 | } |
| 589 | |
| 590 | define <3 x i16> @_Z15convert_ushort3Dv3_f(<3 x float> %in) nounwind readnone alwaysinline { |
| 591 | %1 = fptoui <3 x float> %in to <3 x i16> |
| 592 | ret <3 x i16> %1 |
| 593 | } |
| 594 | |
| 595 | define <2 x i16> @_Z15convert_ushort2Dv2_f(<2 x float> %in) nounwind readnone alwaysinline { |
| 596 | %1 = fptoui <2 x float> %in to <2 x i16> |
| 597 | ret <2 x i16> %1 |
| 598 | } |
| 599 | |
| 600 | define <4 x i16> @_Z15convert_ushort4Dv4_h(<4 x i8> %in) nounwind readnone alwaysinline { |
| 601 | %1 = zext <4 x i8> %in to <4 x i16> |
| 602 | ret <4 x i16> %1 |
| 603 | } |
| 604 | |
| 605 | define <3 x i16> @_Z15convert_ushort3Dv3_h(<3 x i8> %in) nounwind readnone alwaysinline { |
| 606 | %1 = zext <3 x i8> %in to <3 x i16> |
| 607 | ret <3 x i16> %1 |
| 608 | } |
| 609 | |
| 610 | define <2 x i16> @_Z15convert_ushort2Dv2_h(<2 x i8> %in) nounwind readnone alwaysinline { |
| 611 | %1 = zext <2 x i8> %in to <2 x i16> |
| 612 | ret <2 x i16> %1 |
| 613 | } |
| 614 | |
| 615 | define <4 x i16> @_Z15convert_ushort4Dv4_c(<4 x i8> %in) nounwind readnone alwaysinline { |
| 616 | %1 = zext <4 x i8> %in to <4 x i16> |
| 617 | ret <4 x i16> %1 |
| 618 | } |
| 619 | |
| 620 | define <3 x i16> @_Z15convert_ushort3Dv3_c(<3 x i8> %in) nounwind readnone alwaysinline { |
| 621 | %1 = zext <3 x i8> %in to <3 x i16> |
| 622 | ret <3 x i16> %1 |
| 623 | } |
| 624 | |
| 625 | define <2 x i16> @_Z15convert_ushort2Dv2_c(<2 x i8> %in) nounwind readnone alwaysinline { |
| 626 | %1 = zext <2 x i8> %in to <2 x i16> |
| 627 | ret <2 x i16> %1 |
| 628 | } |
| 629 | |
| 630 | define <4 x i16> @_Z15convert_ushort4Dv4_t(<4 x i16> %in) nounwind readnone alwaysinline { |
| 631 | ret <4 x i16> %in |
| 632 | } |
| 633 | |
| 634 | define <3 x i16> @_Z15convert_ushort3Dv3_t(<3 x i16> %in) nounwind readnone alwaysinline { |
| 635 | ret <3 x i16> %in |
| 636 | } |
| 637 | |
| 638 | define <2 x i16> @_Z15convert_ushort2Dv2_t(<2 x i16> %in) nounwind readnone alwaysinline { |
| 639 | ret <2 x i16> %in |
| 640 | } |
| 641 | |
| 642 | define <4 x i16> @_Z15convert_ushort4Dv4_s(<4 x i16> %in) nounwind readnone alwaysinline { |
| 643 | ret <4 x i16> %in |
| 644 | } |
| 645 | |
| 646 | define <3 x i16> @_Z15convert_ushort3Dv3_s(<3 x i16> %in) nounwind readnone alwaysinline { |
| 647 | ret <3 x i16> %in |
| 648 | } |
| 649 | |
| 650 | define <2 x i16> @_Z15convert_ushort2Dv2_s(<2 x i16> %in) nounwind readnone alwaysinline { |
| 651 | ret <2 x i16> %in |
| 652 | } |
| 653 | |
| 654 | define <4 x i16> @_Z15convert_ushort4Dv4_j(<4 x i32> %in) nounwind readnone alwaysinline { |
| 655 | %1 = trunc <4 x i32> %in to <4 x i16> |
| 656 | ret <4 x i16> %1 |
| 657 | } |
| 658 | |
| 659 | define <3 x i16> @_Z15convert_ushort3Dv3_j(<3 x i32> %in) nounwind readnone alwaysinline { |
| 660 | %1 = trunc <3 x i32> %in to <3 x i16> |
| 661 | ret <3 x i16> %1 |
| 662 | } |
| 663 | |
| 664 | define <2 x i16> @_Z15convert_ushort2Dv2_j(<2 x i32> %in) nounwind readnone alwaysinline { |
| 665 | %1 = trunc <2 x i32> %in to <2 x i16> |
| 666 | ret <2 x i16> %1 |
| 667 | } |
| 668 | |
| 669 | define <4 x i16> @_Z15convert_ushort4Dv4_i(<4 x i32> %in) nounwind readnone alwaysinline { |
| 670 | %1 = trunc <4 x i32> %in to <4 x i16> |
| 671 | ret <4 x i16> %1 |
| 672 | } |
| 673 | |
| 674 | define <3 x i16> @_Z15convert_ushort3Dv3_i(<3 x i32> %in) nounwind readnone alwaysinline { |
| 675 | %1 = trunc <3 x i32> %in to <3 x i16> |
| 676 | ret <3 x i16> %1 |
| 677 | } |
| 678 | |
| 679 | define <2 x i16> @_Z15convert_ushort2Dv2_i(<2 x i32> %in) nounwind readnone alwaysinline { |
| 680 | %1 = trunc <2 x i32> %in to <2 x i16> |
| 681 | ret <2 x i16> %1 |
| 682 | } |
| 683 | |
Jason Sams | d8c4983 | 2014-02-24 19:17:33 -0800 | [diff] [blame] | 684 | define <2 x i16> @_Z15convert_ushort2Dv2_d(<2 x double> %in) nounwind readnone alwaysinline { |
| 685 | %1 = fptosi <2 x double> %in to <2 x i16> |
| 686 | ret <2 x i16> %1 |
| 687 | } |
| 688 | define <3 x i16> @_Z15convert_ushort3Dv3_d(<3 x double> %in) nounwind readnone alwaysinline { |
| 689 | %1 = fptosi <3 x double> %in to <3 x i16> |
| 690 | ret <3 x i16> %1 |
| 691 | } |
| 692 | define <4 x i16> @_Z15convert_ushort4Dv4_d(<4 x double> %in) nounwind readnone alwaysinline { |
| 693 | %1 = fptosi <4 x double> %in to <4 x i16> |
| 694 | ret <4 x i16> %1 |
| 695 | } |
| 696 | |
| 697 | define <2 x i16> @_Z15convert_ushort2Dv2_l(<2 x i64> %in) nounwind readnone alwaysinline { |
| 698 | %1 = trunc <2 x i64> %in to <2 x i16> |
| 699 | ret <2 x i16> %1 |
| 700 | } |
| 701 | define <3 x i16> @_Z15convert_ushort3Dv3_l(<3 x i64> %in) nounwind readnone alwaysinline { |
| 702 | %1 = trunc <3 x i64> %in to <3 x i16> |
| 703 | ret <3 x i16> %1 |
| 704 | } |
| 705 | define <4 x i16> @_Z15convert_ushort4Dv4_l(<4 x i64> %in) nounwind readnone alwaysinline { |
| 706 | %1 = trunc <4 x i64> %in to <4 x i16> |
| 707 | ret <4 x i16> %1 |
| 708 | } |
| 709 | |
| 710 | define <2 x i16> @_Z15convert_ushort2Dv2_y(<2 x i64> %in) nounwind readnone alwaysinline { |
| 711 | %1 = trunc <2 x i64> %in to <2 x i16> |
| 712 | ret <2 x i16> %1 |
| 713 | } |
| 714 | define <3 x i16> @_Z15convert_ushort3Dv3_y(<3 x i64> %in) nounwind readnone alwaysinline { |
| 715 | %1 = trunc <3 x i64> %in to <3 x i16> |
| 716 | ret <3 x i16> %1 |
| 717 | } |
| 718 | define <4 x i16> @_Z15convert_ushort4Dv4_y(<4 x i64> %in) nounwind readnone alwaysinline { |
| 719 | %1 = trunc <4 x i64> %in to <4 x i16> |
| 720 | ret <4 x i16> %1 |
| 721 | } |
Stephen Hines | 5a47020 | 2013-05-29 15:36:18 -0700 | [diff] [blame] | 722 | |
| 723 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 724 | ;;;;;;;;; INT ;;;;;;;;;; |
| 725 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 726 | |
| 727 | define <4 x i32> @_Z12convert_int4Dv4_f(<4 x float> %in) nounwind readnone alwaysinline { |
| 728 | %1 = fptosi <4 x float> %in to <4 x i32> |
| 729 | ret <4 x i32> %1 |
| 730 | } |
| 731 | |
| 732 | define <3 x i32> @_Z12convert_int3Dv3_f(<3 x float> %in) nounwind readnone alwaysinline { |
| 733 | %1 = fptosi <3 x float> %in to <3 x i32> |
| 734 | ret <3 x i32> %1 |
| 735 | } |
| 736 | |
| 737 | define <2 x i32> @_Z12convert_int2Dv2_f(<2 x float> %in) nounwind readnone alwaysinline { |
| 738 | %1 = fptosi <2 x float> %in to <2 x i32> |
| 739 | ret <2 x i32> %1 |
| 740 | } |
| 741 | |
| 742 | define <4 x i32> @_Z12convert_int4Dv4_h(<4 x i8> %in) nounwind readnone alwaysinline { |
| 743 | %1 = zext <4 x i8> %in to <4 x i32> |
| 744 | ret <4 x i32> %1 |
| 745 | } |
| 746 | |
| 747 | define <3 x i32> @_Z12convert_int3Dv3_h(<3 x i8> %in) nounwind readnone alwaysinline { |
| 748 | %1 = zext <3 x i8> %in to <3 x i32> |
| 749 | ret <3 x i32> %1 |
| 750 | } |
| 751 | |
| 752 | define <2 x i32> @_Z12convert_int2Dv2_h(<2 x i8> %in) nounwind readnone alwaysinline { |
| 753 | %1 = zext <2 x i8> %in to <2 x i32> |
| 754 | ret <2 x i32> %1 |
| 755 | } |
| 756 | |
| 757 | define <4 x i32> @_Z12convert_int4Dv4_c(<4 x i8> %in) nounwind readnone alwaysinline { |
| 758 | %1 = sext <4 x i8> %in to <4 x i32> |
| 759 | ret <4 x i32> %1 |
| 760 | } |
| 761 | |
| 762 | define <3 x i32> @_Z12convert_int3Dv3_c(<3 x i8> %in) nounwind readnone alwaysinline { |
| 763 | %1 = sext <3 x i8> %in to <3 x i32> |
| 764 | ret <3 x i32> %1 |
| 765 | } |
| 766 | |
| 767 | define <2 x i32> @_Z12convert_int2Dv2_c(<2 x i8> %in) nounwind readnone alwaysinline { |
| 768 | %1 = sext <2 x i8> %in to <2 x i32> |
| 769 | ret <2 x i32> %1 |
| 770 | } |
| 771 | |
| 772 | define <4 x i32> @_Z12convert_int4Dv4_t(<4 x i16> %in) nounwind readnone alwaysinline { |
| 773 | %1 = zext <4 x i16> %in to <4 x i32> |
| 774 | ret <4 x i32> %1 |
| 775 | } |
| 776 | |
| 777 | define <3 x i32> @_Z12convert_int3Dv3_t(<3 x i16> %in) nounwind readnone alwaysinline { |
| 778 | %1 = zext <3 x i16> %in to <3 x i32> |
| 779 | ret <3 x i32> %1 |
| 780 | } |
| 781 | |
| 782 | define <2 x i32> @_Z12convert_int2Dv2_t(<2 x i16> %in) nounwind readnone alwaysinline { |
| 783 | %1 = zext <2 x i16> %in to <2 x i32> |
| 784 | ret <2 x i32> %1 |
| 785 | } |
| 786 | |
| 787 | define <4 x i32> @_Z12convert_int4Dv4_s(<4 x i16> %in) nounwind readnone alwaysinline { |
| 788 | %1 = sext <4 x i16> %in to <4 x i32> |
| 789 | ret <4 x i32> %1 |
| 790 | } |
| 791 | |
| 792 | define <3 x i32> @_Z12convert_int3Dv3_s(<3 x i16> %in) nounwind readnone alwaysinline { |
| 793 | %1 = sext <3 x i16> %in to <3 x i32> |
| 794 | ret <3 x i32> %1 |
| 795 | } |
| 796 | |
| 797 | define <2 x i32> @_Z12convert_int2Dv2_s(<2 x i16> %in) nounwind readnone alwaysinline { |
| 798 | %1 = sext <2 x i16> %in to <2 x i32> |
| 799 | ret <2 x i32> %1 |
| 800 | } |
| 801 | |
| 802 | define <4 x i32> @_Z12convert_int4Dv4_j(<4 x i32> %in) nounwind readnone alwaysinline { |
| 803 | ret <4 x i32> %in |
| 804 | } |
| 805 | |
| 806 | define <3 x i32> @_Z12convert_int3Dv3_j(<3 x i32> %in) nounwind readnone alwaysinline { |
| 807 | ret <3 x i32> %in |
| 808 | } |
| 809 | |
| 810 | define <2 x i32> @_Z12convert_int2Dv2_j(<2 x i32> %in) nounwind readnone alwaysinline { |
| 811 | ret <2 x i32> %in |
| 812 | } |
| 813 | |
| 814 | define <4 x i32> @_Z12convert_int4Dv4_i(<4 x i32> %in) nounwind readnone alwaysinline { |
| 815 | ret <4 x i32> %in |
| 816 | } |
| 817 | |
| 818 | define <3 x i32> @_Z12convert_int3Dv3_i(<3 x i32> %in) nounwind readnone alwaysinline { |
| 819 | ret <3 x i32> %in |
| 820 | } |
| 821 | |
| 822 | define <2 x i32> @_Z12convert_int2Dv2_i(<2 x i32> %in) nounwind readnone alwaysinline { |
| 823 | ret <2 x i32> %in |
| 824 | } |
| 825 | |
Jason Sams | d8c4983 | 2014-02-24 19:17:33 -0800 | [diff] [blame] | 826 | define <2 x i32> @_Z12convert_int2Dv2_d(<2 x double> %in) nounwind readnone alwaysinline { |
| 827 | %1 = fptosi <2 x double> %in to <2 x i32> |
| 828 | ret <2 x i32> %1 |
| 829 | } |
| 830 | define <3 x i32> @_Z12convert_int3Dv3_d(<3 x double> %in) nounwind readnone alwaysinline { |
| 831 | %1 = fptosi <3 x double> %in to <3 x i32> |
| 832 | ret <3 x i32> %1 |
| 833 | } |
| 834 | define <4 x i32> @_Z12convert_int4Dv4_d(<4 x double> %in) nounwind readnone alwaysinline { |
| 835 | %1 = fptosi <4 x double> %in to <4 x i32> |
| 836 | ret <4 x i32> %1 |
| 837 | } |
| 838 | |
| 839 | define <2 x i32> @_Z12convert_int2Dv2_l(<2 x i64> %in) nounwind readnone alwaysinline { |
| 840 | %1 = trunc <2 x i64> %in to <2 x i32> |
| 841 | ret <2 x i32> %1 |
| 842 | } |
| 843 | define <3 x i32> @_Z12convert_int3Dv3_l(<3 x i64> %in) nounwind readnone alwaysinline { |
| 844 | %1 = trunc <3 x i64> %in to <3 x i32> |
| 845 | ret <3 x i32> %1 |
| 846 | } |
| 847 | define <4 x i32> @_Z12convert_int4Dv4_l(<4 x i64> %in) nounwind readnone alwaysinline { |
| 848 | %1 = trunc <4 x i64> %in to <4 x i32> |
| 849 | ret <4 x i32> %1 |
| 850 | } |
| 851 | |
| 852 | define <2 x i32> @_Z12convert_int2Dv2_y(<2 x i64> %in) nounwind readnone alwaysinline { |
| 853 | %1 = trunc <2 x i64> %in to <2 x i32> |
| 854 | ret <2 x i32> %1 |
| 855 | } |
| 856 | define <3 x i32> @_Z12convert_int3Dv3_y(<3 x i64> %in) nounwind readnone alwaysinline { |
| 857 | %1 = trunc <3 x i64> %in to <3 x i32> |
| 858 | ret <3 x i32> %1 |
| 859 | } |
| 860 | define <4 x i32> @_Z12convert_int4Dv4_y(<4 x i64> %in) nounwind readnone alwaysinline { |
| 861 | %1 = trunc <4 x i64> %in to <4 x i32> |
| 862 | ret <4 x i32> %1 |
| 863 | } |
| 864 | |
Stephen Hines | 5a47020 | 2013-05-29 15:36:18 -0700 | [diff] [blame] | 865 | |
| 866 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 867 | ;;;;;;;;; UINT ;;;;;;;;;; |
| 868 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 869 | |
| 870 | define <4 x i32> @_Z13convert_uint4Dv4_f(<4 x float> %in) nounwind readnone alwaysinline { |
| 871 | %1 = fptoui <4 x float> %in to <4 x i32> |
| 872 | ret <4 x i32> %1 |
| 873 | } |
| 874 | |
| 875 | define <3 x i32> @_Z13convert_uint3Dv3_f(<3 x float> %in) nounwind readnone alwaysinline { |
| 876 | %1 = fptoui <3 x float> %in to <3 x i32> |
| 877 | ret <3 x i32> %1 |
| 878 | } |
| 879 | |
| 880 | define <2 x i32> @_Z13convert_uint2Dv2_f(<2 x float> %in) nounwind readnone alwaysinline { |
| 881 | %1 = fptoui <2 x float> %in to <2 x i32> |
| 882 | ret <2 x i32> %1 |
| 883 | } |
| 884 | |
| 885 | define <4 x i32> @_Z13convert_uint4Dv4_h(<4 x i8> %in) nounwind readnone alwaysinline { |
| 886 | %1 = zext <4 x i8> %in to <4 x i32> |
| 887 | ret <4 x i32> %1 |
| 888 | } |
| 889 | |
| 890 | define <3 x i32> @_Z13convert_uint3Dv3_h(<3 x i8> %in) nounwind readnone alwaysinline { |
| 891 | %1 = zext <3 x i8> %in to <3 x i32> |
| 892 | ret <3 x i32> %1 |
| 893 | } |
| 894 | |
| 895 | define <2 x i32> @_Z13convert_uint2Dv2_h(<2 x i8> %in) nounwind readnone alwaysinline { |
| 896 | %1 = zext <2 x i8> %in to <2 x i32> |
| 897 | ret <2 x i32> %1 |
| 898 | } |
| 899 | |
| 900 | define <4 x i32> @_Z13convert_uint4Dv4_c(<4 x i8> %in) nounwind readnone alwaysinline { |
| 901 | %1 = zext <4 x i8> %in to <4 x i32> |
| 902 | ret <4 x i32> %1 |
| 903 | } |
| 904 | |
| 905 | define <3 x i32> @_Z13convert_uint3Dv3_c(<3 x i8> %in) nounwind readnone alwaysinline { |
| 906 | %1 = zext <3 x i8> %in to <3 x i32> |
| 907 | ret <3 x i32> %1 |
| 908 | } |
| 909 | |
| 910 | define <2 x i32> @_Z13convert_uint2Dv2_c(<2 x i8> %in) nounwind readnone alwaysinline { |
| 911 | %1 = zext <2 x i8> %in to <2 x i32> |
| 912 | ret <2 x i32> %1 |
| 913 | } |
| 914 | |
| 915 | define <4 x i32> @_Z13convert_uint4Dv4_t(<4 x i16> %in) nounwind readnone alwaysinline { |
| 916 | %1 = zext <4 x i16> %in to <4 x i32> |
| 917 | ret <4 x i32> %1 |
| 918 | } |
| 919 | |
| 920 | define <3 x i32> @_Z13convert_uint3Dv3_t(<3 x i16> %in) nounwind readnone alwaysinline { |
| 921 | %1 = zext <3 x i16> %in to <3 x i32> |
| 922 | ret <3 x i32> %1 |
| 923 | } |
| 924 | |
| 925 | define <2 x i32> @_Z13convert_uint2Dv2_t(<2 x i16> %in) nounwind readnone alwaysinline { |
| 926 | %1 = zext <2 x i16> %in to <2 x i32> |
| 927 | ret <2 x i32> %1 |
| 928 | } |
| 929 | |
| 930 | define <4 x i32> @_Z13convert_uint4Dv4_s(<4 x i16> %in) nounwind readnone alwaysinline { |
| 931 | %1 = zext <4 x i16> %in to <4 x i32> |
| 932 | ret <4 x i32> %1 |
| 933 | } |
| 934 | |
| 935 | define <3 x i32> @_Z13convert_uint3Dv3_s(<3 x i16> %in) nounwind readnone alwaysinline { |
| 936 | %1 = zext <3 x i16> %in to <3 x i32> |
| 937 | ret <3 x i32> %1 |
| 938 | } |
| 939 | |
| 940 | define <2 x i32> @_Z13convert_uint2Dv2_s(<2 x i16> %in) nounwind readnone alwaysinline { |
| 941 | %1 = zext <2 x i16> %in to <2 x i32> |
| 942 | ret <2 x i32> %1 |
| 943 | } |
| 944 | |
| 945 | define <4 x i32> @_Z13convert_uint4Dv4_j(<4 x i32> %in) nounwind readnone alwaysinline { |
| 946 | ret <4 x i32> %in |
| 947 | } |
| 948 | |
| 949 | define <3 x i32> @_Z13convert_uint3Dv3_j(<3 x i32> %in) nounwind readnone alwaysinline { |
| 950 | ret <3 x i32> %in |
| 951 | } |
| 952 | |
| 953 | define <2 x i32> @_Z13convert_uint2Dv2_j(<2 x i32> %in) nounwind readnone alwaysinline { |
| 954 | ret <2 x i32> %in |
| 955 | } |
| 956 | |
| 957 | define <4 x i32> @_Z13convert_uint4Dv4_i(<4 x i32> %in) nounwind readnone alwaysinline { |
| 958 | ret <4 x i32> %in |
| 959 | } |
| 960 | |
| 961 | define <3 x i32> @_Z13convert_uint3Dv3_i(<3 x i32> %in) nounwind readnone alwaysinline { |
| 962 | ret <3 x i32> %in |
| 963 | } |
| 964 | |
| 965 | define <2 x i32> @_Z13convert_uint2Dv2_i(<2 x i32> %in) nounwind readnone alwaysinline { |
| 966 | ret <2 x i32> %in |
| 967 | } |
Jason Sams | d8c4983 | 2014-02-24 19:17:33 -0800 | [diff] [blame] | 968 | |
| 969 | define <2 x i32> @_Z13convert_uint2Dv2_d(<2 x double> %in) nounwind readnone alwaysinline { |
| 970 | %1 = fptosi <2 x double> %in to <2 x i32> |
| 971 | ret <2 x i32> %1 |
| 972 | } |
| 973 | define <3 x i32> @_Z13convert_uint3Dv3_d(<3 x double> %in) nounwind readnone alwaysinline { |
| 974 | %1 = fptosi <3 x double> %in to <3 x i32> |
| 975 | ret <3 x i32> %1 |
| 976 | } |
| 977 | define <4 x i32> @_Z13convert_uint4Dv4_d(<4 x double> %in) nounwind readnone alwaysinline { |
| 978 | %1 = fptosi <4 x double> %in to <4 x i32> |
| 979 | ret <4 x i32> %1 |
| 980 | } |
| 981 | |
| 982 | define <2 x i32> @_Z13convert_uint2Dv2_l(<2 x i64> %in) nounwind readnone alwaysinline { |
| 983 | %1 = trunc <2 x i64> %in to <2 x i32> |
| 984 | ret <2 x i32> %1 |
| 985 | } |
| 986 | define <3 x i32> @_Z13convert_uint3Dv3_l(<3 x i64> %in) nounwind readnone alwaysinline { |
| 987 | %1 = trunc <3 x i64> %in to <3 x i32> |
| 988 | ret <3 x i32> %1 |
| 989 | } |
| 990 | define <4 x i32> @_Z13convert_uint4Dv4_l(<4 x i64> %in) nounwind readnone alwaysinline { |
| 991 | %1 = trunc <4 x i64> %in to <4 x i32> |
| 992 | ret <4 x i32> %1 |
| 993 | } |
| 994 | |
| 995 | define <2 x i32> @_Z13convert_uint2Dv2_y(<2 x i64> %in) nounwind readnone alwaysinline { |
| 996 | %1 = trunc <2 x i64> %in to <2 x i32> |
| 997 | ret <2 x i32> %1 |
| 998 | } |
| 999 | define <3 x i32> @_Z13convert_uint3Dv3_y(<3 x i64> %in) nounwind readnone alwaysinline { |
| 1000 | %1 = trunc <3 x i64> %in to <3 x i32> |
| 1001 | ret <3 x i32> %1 |
| 1002 | } |
| 1003 | define <4 x i32> @_Z13convert_uint4Dv4_y(<4 x i64> %in) nounwind readnone alwaysinline { |
| 1004 | %1 = trunc <4 x i64> %in to <4 x i32> |
| 1005 | ret <4 x i32> %1 |
| 1006 | } |
| 1007 | |
| 1008 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1009 | ;;;;;;;;; LONG ;;;;;;;;;; |
| 1010 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1011 | |
| 1012 | define <4 x i64> @_Z13convert_long4Dv4_f(<4 x float> %in) nounwind readnone alwaysinline { |
| 1013 | %1 = fptoui <4 x float> %in to <4 x i64> |
| 1014 | ret <4 x i64> %1 |
| 1015 | } |
| 1016 | define <3 x i64> @_Z13convert_long3Dv3_f(<3 x float> %in) nounwind readnone alwaysinline { |
| 1017 | %1 = fptoui <3 x float> %in to <3 x i64> |
| 1018 | ret <3 x i64> %1 |
| 1019 | } |
| 1020 | define <2 x i64> @_Z13convert_long2Dv2_f(<2 x float> %in) nounwind readnone alwaysinline { |
| 1021 | %1 = fptoui <2 x float> %in to <2 x i64> |
| 1022 | ret <2 x i64> %1 |
| 1023 | } |
| 1024 | |
| 1025 | define <4 x i64> @_Z13convert_long4Dv4_h(<4 x i8> %in) nounwind readnone alwaysinline { |
| 1026 | %1 = zext <4 x i8> %in to <4 x i64> |
| 1027 | ret <4 x i64> %1 |
| 1028 | } |
| 1029 | define <3 x i64> @_Z13convert_long3Dv3_h(<3 x i8> %in) nounwind readnone alwaysinline { |
| 1030 | %1 = zext <3 x i8> %in to <3 x i64> |
| 1031 | ret <3 x i64> %1 |
| 1032 | } |
| 1033 | define <2 x i64> @_Z13convert_long2Dv2_h(<2 x i8> %in) nounwind readnone alwaysinline { |
| 1034 | %1 = zext <2 x i8> %in to <2 x i64> |
| 1035 | ret <2 x i64> %1 |
| 1036 | } |
| 1037 | |
| 1038 | define <4 x i64> @_Z13convert_long4Dv4_c(<4 x i8> %in) nounwind readnone alwaysinline { |
| 1039 | %1 = sext <4 x i8> %in to <4 x i64> |
| 1040 | ret <4 x i64> %1 |
| 1041 | } |
| 1042 | define <3 x i64> @_Z13convert_long3Dv3_c(<3 x i8> %in) nounwind readnone alwaysinline { |
| 1043 | %1 = sext <3 x i8> %in to <3 x i64> |
| 1044 | ret <3 x i64> %1 |
| 1045 | } |
| 1046 | define <2 x i64> @_Z13convert_long2Dv2_c(<2 x i8> %in) nounwind readnone alwaysinline { |
| 1047 | %1 = sext <2 x i8> %in to <2 x i64> |
| 1048 | ret <2 x i64> %1 |
| 1049 | } |
| 1050 | |
| 1051 | define <4 x i64> @_Z13convert_long4Dv4_t(<4 x i16> %in) nounwind readnone alwaysinline { |
| 1052 | %1 = zext <4 x i16> %in to <4 x i64> |
| 1053 | ret <4 x i64> %1 |
| 1054 | } |
| 1055 | define <3 x i64> @_Z13convert_long3Dv3_t(<3 x i16> %in) nounwind readnone alwaysinline { |
| 1056 | %1 = zext <3 x i16> %in to <3 x i64> |
| 1057 | ret <3 x i64> %1 |
| 1058 | } |
| 1059 | define <2 x i64> @_Z13convert_long2Dv2_t(<2 x i16> %in) nounwind readnone alwaysinline { |
| 1060 | %1 = zext <2 x i16> %in to <2 x i64> |
| 1061 | ret <2 x i64> %1 |
| 1062 | } |
| 1063 | |
| 1064 | define <4 x i64> @_Z13convert_long4Dv4_s(<4 x i16> %in) nounwind readnone alwaysinline { |
| 1065 | %1 = sext <4 x i16> %in to <4 x i64> |
| 1066 | ret <4 x i64> %1 |
| 1067 | } |
| 1068 | define <3 x i64> @_Z13convert_long3Dv3_s(<3 x i16> %in) nounwind readnone alwaysinline { |
| 1069 | %1 = sext <3 x i16> %in to <3 x i64> |
| 1070 | ret <3 x i64> %1 |
| 1071 | } |
| 1072 | define <2 x i64> @_Z13convert_long2Dv2_s(<2 x i16> %in) nounwind readnone alwaysinline { |
| 1073 | %1 = sext <2 x i16> %in to <2 x i64> |
| 1074 | ret <2 x i64> %1 |
| 1075 | } |
| 1076 | |
| 1077 | define <4 x i64> @_Z13convert_long4Dv4_j(<4 x i32> %in) nounwind readnone alwaysinline { |
| 1078 | %1 = zext <4 x i32> %in to <4 x i64> |
| 1079 | ret <4 x i64> %1 |
| 1080 | } |
| 1081 | define <3 x i64> @_Z13convert_long3Dv3_j(<3 x i32> %in) nounwind readnone alwaysinline { |
| 1082 | %1 = zext <3 x i32> %in to <3 x i64> |
| 1083 | ret <3 x i64> %1 |
| 1084 | } |
| 1085 | define <2 x i64> @_Z13convert_long2Dv2_j(<2 x i32> %in) nounwind readnone alwaysinline { |
| 1086 | %1 = zext <2 x i32> %in to <2 x i64> |
| 1087 | ret <2 x i64> %1 |
| 1088 | } |
| 1089 | |
| 1090 | define <4 x i64> @_Z13convert_long4Dv4_i(<4 x i32> %in) nounwind readnone alwaysinline { |
| 1091 | %1 = sext <4 x i32> %in to <4 x i64> |
| 1092 | ret <4 x i64> %1 |
| 1093 | } |
| 1094 | define <3 x i64> @_Z13convert_long3Dv3_i(<3 x i32> %in) nounwind readnone alwaysinline { |
| 1095 | %1 = sext <3 x i32> %in to <3 x i64> |
| 1096 | ret <3 x i64> %1 |
| 1097 | } |
| 1098 | define <2 x i64> @_Z13convert_long2Dv2_i(<2 x i32> %in) nounwind readnone alwaysinline { |
| 1099 | %1 = sext <2 x i32> %in to <2 x i64> |
| 1100 | ret <2 x i64> %1 |
| 1101 | } |
| 1102 | |
| 1103 | define <2 x i64> @_Z13convert_long2Dv2_d(<2 x double> %in) nounwind readnone alwaysinline { |
| 1104 | %1 = fptosi <2 x double> %in to <2 x i64> |
| 1105 | ret <2 x i64> %1 |
| 1106 | } |
| 1107 | define <3 x i64> @_Z13convert_long3Dv3_d(<3 x double> %in) nounwind readnone alwaysinline { |
| 1108 | %1 = fptosi <3 x double> %in to <3 x i64> |
| 1109 | ret <3 x i64> %1 |
| 1110 | } |
| 1111 | define <4 x i64> @_Z13convert_long4Dv4_d(<4 x double> %in) nounwind readnone alwaysinline { |
| 1112 | %1 = fptosi <4 x double> %in to <4 x i64> |
| 1113 | ret <4 x i64> %1 |
| 1114 | } |
| 1115 | |
| 1116 | define <2 x i64> @_Z13convert_long2Dv2_l(<2 x i64> %in) nounwind readnone alwaysinline { |
| 1117 | ret <2 x i64> %in |
| 1118 | } |
| 1119 | define <3 x i64> @_Z13convert_long3Dv3_l(<3 x i64> %in) nounwind readnone alwaysinline { |
| 1120 | ret <3 x i64> %in |
| 1121 | } |
| 1122 | define <4 x i64> @_Z13convert_long4Dv4_l(<4 x i64> %in) nounwind readnone alwaysinline { |
| 1123 | ret <4 x i64> %in |
| 1124 | } |
| 1125 | |
| 1126 | define <2 x i64> @_Z13convert_long2Dv2_y(<2 x i64> %in) nounwind readnone alwaysinline { |
| 1127 | ret <2 x i64> %in |
| 1128 | } |
| 1129 | define <3 x i64> @_Z13convert_long3Dv3_y(<3 x i64> %in) nounwind readnone alwaysinline { |
| 1130 | ret <3 x i64> %in |
| 1131 | } |
| 1132 | define <4 x i64> @_Z13convert_long4Dv4_y(<4 x i64> %in) nounwind readnone alwaysinline { |
| 1133 | ret <4 x i64> %in |
| 1134 | } |
| 1135 | |
| 1136 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1137 | ;;;;;;;;; ULONG ;;;;;;;;;; |
| 1138 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1139 | |
| 1140 | define <4 x i64> @_Z14convert_ulong4Dv4_f(<4 x float> %in) nounwind readnone alwaysinline { |
| 1141 | %1 = fptoui <4 x float> %in to <4 x i64> |
| 1142 | ret <4 x i64> %1 |
| 1143 | } |
| 1144 | define <3 x i64> @_Z14convert_ulong3Dv3_f(<3 x float> %in) nounwind readnone alwaysinline { |
| 1145 | %1 = fptoui <3 x float> %in to <3 x i64> |
| 1146 | ret <3 x i64> %1 |
| 1147 | } |
| 1148 | define <2 x i64> @_Z14convert_ulong2Dv2_f(<2 x float> %in) nounwind readnone alwaysinline { |
| 1149 | %1 = fptoui <2 x float> %in to <2 x i64> |
| 1150 | ret <2 x i64> %1 |
| 1151 | } |
| 1152 | |
| 1153 | define <4 x i64> @_Z14convert_ulong4Dv4_h(<4 x i8> %in) nounwind readnone alwaysinline { |
| 1154 | %1 = zext <4 x i8> %in to <4 x i64> |
| 1155 | ret <4 x i64> %1 |
| 1156 | } |
| 1157 | define <3 x i64> @_Z14convert_ulong3Dv3_h(<3 x i8> %in) nounwind readnone alwaysinline { |
| 1158 | %1 = zext <3 x i8> %in to <3 x i64> |
| 1159 | ret <3 x i64> %1 |
| 1160 | } |
| 1161 | define <2 x i64> @_Z14convert_ulong2Dv2_h(<2 x i8> %in) nounwind readnone alwaysinline { |
| 1162 | %1 = zext <2 x i8> %in to <2 x i64> |
| 1163 | ret <2 x i64> %1 |
| 1164 | } |
| 1165 | |
| 1166 | define <4 x i64> @_Z14convert_ulong4Dv4_c(<4 x i8> %in) nounwind readnone alwaysinline { |
| 1167 | %1 = zext <4 x i8> %in to <4 x i64> |
| 1168 | ret <4 x i64> %1 |
| 1169 | } |
| 1170 | define <3 x i64> @_Z14convert_ulong3Dv3_c(<3 x i8> %in) nounwind readnone alwaysinline { |
| 1171 | %1 = zext <3 x i8> %in to <3 x i64> |
| 1172 | ret <3 x i64> %1 |
| 1173 | } |
| 1174 | define <2 x i64> @_Z14convert_ulong2Dv2_c(<2 x i8> %in) nounwind readnone alwaysinline { |
| 1175 | %1 = zext <2 x i8> %in to <2 x i64> |
| 1176 | ret <2 x i64> %1 |
| 1177 | } |
| 1178 | |
| 1179 | define <4 x i64> @_Z14convert_ulong4Dv4_t(<4 x i16> %in) nounwind readnone alwaysinline { |
| 1180 | %1 = zext <4 x i16> %in to <4 x i64> |
| 1181 | ret <4 x i64> %1 |
| 1182 | } |
| 1183 | define <3 x i64> @_Z14convert_ulong3Dv3_t(<3 x i16> %in) nounwind readnone alwaysinline { |
| 1184 | %1 = zext <3 x i16> %in to <3 x i64> |
| 1185 | ret <3 x i64> %1 |
| 1186 | } |
| 1187 | define <2 x i64> @_Z14convert_ulong2Dv2_t(<2 x i16> %in) nounwind readnone alwaysinline { |
| 1188 | %1 = zext <2 x i16> %in to <2 x i64> |
| 1189 | ret <2 x i64> %1 |
| 1190 | } |
| 1191 | |
| 1192 | define <4 x i64> @_Z14convert_ulong4Dv4_s(<4 x i16> %in) nounwind readnone alwaysinline { |
| 1193 | %1 = zext <4 x i16> %in to <4 x i64> |
| 1194 | ret <4 x i64> %1 |
| 1195 | } |
| 1196 | define <3 x i64> @_Z14convert_ulong3Dv3_s(<3 x i16> %in) nounwind readnone alwaysinline { |
| 1197 | %1 = zext <3 x i16> %in to <3 x i64> |
| 1198 | ret <3 x i64> %1 |
| 1199 | } |
| 1200 | define <2 x i64> @_Z14convert_ulong2Dv2_s(<2 x i16> %in) nounwind readnone alwaysinline { |
| 1201 | %1 = zext <2 x i16> %in to <2 x i64> |
| 1202 | ret <2 x i64> %1 |
| 1203 | } |
| 1204 | |
| 1205 | define <4 x i64> @_Z14convert_ulong4Dv4_j(<4 x i32> %in) nounwind readnone alwaysinline { |
| 1206 | %1 = zext <4 x i32> %in to <4 x i64> |
| 1207 | ret <4 x i64> %1 |
| 1208 | } |
| 1209 | define <3 x i64> @_Z14convert_ulong3Dv3_j(<3 x i32> %in) nounwind readnone alwaysinline { |
| 1210 | %1 = zext <3 x i32> %in to <3 x i64> |
| 1211 | ret <3 x i64> %1 |
| 1212 | } |
| 1213 | define <2 x i64> @_Z14convert_ulong2Dv2_j(<2 x i32> %in) nounwind readnone alwaysinline { |
| 1214 | %1 = zext <2 x i32> %in to <2 x i64> |
| 1215 | ret <2 x i64> %1 |
| 1216 | } |
| 1217 | |
| 1218 | define <4 x i64> @_Z14convert_ulong4Dv4_i(<4 x i32> %in) nounwind readnone alwaysinline { |
| 1219 | %1 = zext <4 x i32> %in to <4 x i64> |
| 1220 | ret <4 x i64> %1 |
| 1221 | } |
| 1222 | define <3 x i64> @_Z14convert_ulong3Dv3_i(<3 x i32> %in) nounwind readnone alwaysinline { |
| 1223 | %1 = zext <3 x i32> %in to <3 x i64> |
| 1224 | ret <3 x i64> %1 |
| 1225 | } |
| 1226 | define <2 x i64> @_Z14convert_ulong2Dv2_i(<2 x i32> %in) nounwind readnone alwaysinline { |
| 1227 | %1 = zext <2 x i32> %in to <2 x i64> |
| 1228 | ret <2 x i64> %1 |
| 1229 | } |
| 1230 | |
| 1231 | define <2 x i64> @_Z14convert_ulong2Dv2_d(<2 x double> %in) nounwind readnone alwaysinline { |
| 1232 | %1 = fptosi <2 x double> %in to <2 x i64> |
| 1233 | ret <2 x i64> %1 |
| 1234 | } |
| 1235 | define <3 x i64> @_Z14convert_ulong3Dv3_d(<3 x double> %in) nounwind readnone alwaysinline { |
| 1236 | %1 = fptosi <3 x double> %in to <3 x i64> |
| 1237 | ret <3 x i64> %1 |
| 1238 | } |
| 1239 | define <4 x i64> @_Z14convert_ulong4Dv4_d(<4 x double> %in) nounwind readnone alwaysinline { |
| 1240 | %1 = fptosi <4 x double> %in to <4 x i64> |
| 1241 | ret <4 x i64> %1 |
| 1242 | } |
| 1243 | |
| 1244 | define <2 x i64> @_Z14convert_ulong2Dv2_l(<2 x i64> %in) nounwind readnone alwaysinline { |
| 1245 | ret <2 x i64> %in |
| 1246 | } |
| 1247 | define <3 x i64> @_Z14convert_ulong3Dv3_l(<3 x i64> %in) nounwind readnone alwaysinline { |
| 1248 | ret <3 x i64> %in |
| 1249 | } |
| 1250 | define <4 x i64> @_Z14convert_ulong4Dv4_l(<4 x i64> %in) nounwind readnone alwaysinline { |
| 1251 | ret <4 x i64> %in |
| 1252 | } |
| 1253 | |
| 1254 | define <2 x i64> @_Z14convert_ulong2Dv2_y(<2 x i64> %in) nounwind readnone alwaysinline { |
| 1255 | ret <2 x i64> %in |
| 1256 | } |
| 1257 | define <3 x i64> @_Z14convert_ulong3Dv3_y(<3 x i64> %in) nounwind readnone alwaysinline { |
| 1258 | ret <3 x i64> %in |
| 1259 | } |
| 1260 | define <4 x i64> @_Z14convert_ulong4Dv4_y(<4 x i64> %in) nounwind readnone alwaysinline { |
| 1261 | ret <4 x i64> %in |
| 1262 | } |
| 1263 | |
| 1264 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1265 | ;;;;;;;;; DOUBLE ;;;;;;;;;; |
| 1266 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1267 | |
| 1268 | define <2 x double> @_Z15convert_double2Dv2_h(<2 x i8> %in) nounwind readnone alwaysinline { |
| 1269 | %1 = uitofp <2 x i8> %in to <2 x double> |
| 1270 | ret <2 x double> %1 |
| 1271 | } |
| 1272 | define <3 x double> @_Z15convert_double3Dv3_h(<3 x i8> %in) nounwind readnone alwaysinline { |
| 1273 | %1 = uitofp <3 x i8> %in to <3 x double> |
| 1274 | ret <3 x double> %1 |
| 1275 | } |
| 1276 | define <4 x double> @_Z15convert_double4Dv4_h(<4 x i8> %in) nounwind readnone alwaysinline { |
| 1277 | %1 = uitofp <4 x i8> %in to <4 x double> |
| 1278 | ret <4 x double> %1 |
| 1279 | } |
| 1280 | |
| 1281 | define <2 x double> @_Z15convert_double2Dv2_c(<2 x i8> %in) nounwind readnone alwaysinline { |
| 1282 | %1 = sitofp <2 x i8> %in to <2 x double> |
| 1283 | ret <2 x double> %1 |
| 1284 | } |
| 1285 | define <3 x double> @_Z15convert_double3Dv3_c(<3 x i8> %in) nounwind readnone alwaysinline { |
| 1286 | %1 = sitofp <3 x i8> %in to <3 x double> |
| 1287 | ret <3 x double> %1 |
| 1288 | } |
| 1289 | define <4 x double> @_Z15convert_double4Dv4_c(<4 x i8> %in) nounwind readnone alwaysinline { |
| 1290 | %1 = sitofp <4 x i8> %in to <4 x double> |
| 1291 | ret <4 x double> %1 |
| 1292 | } |
| 1293 | |
| 1294 | define <2 x double> @_Z15convert_double2Dv2_t(<2 x i16> %in) nounwind readnone alwaysinline { |
| 1295 | %1 = uitofp <2 x i16> %in to <2 x double> |
| 1296 | ret <2 x double> %1 |
| 1297 | } |
| 1298 | define <3 x double> @_Z15convert_double3Dv3_t(<3 x i16> %in) nounwind readnone alwaysinline { |
| 1299 | %1 = uitofp <3 x i16> %in to <3 x double> |
| 1300 | ret <3 x double> %1 |
| 1301 | } |
| 1302 | define <4 x double> @_Z15convert_double4Dv4_t(<4 x i16> %in) nounwind readnone alwaysinline { |
| 1303 | %1 = uitofp <4 x i16> %in to <4 x double> |
| 1304 | ret <4 x double> %1 |
| 1305 | } |
| 1306 | |
| 1307 | define <2 x double> @_Z15convert_double2Dv2_s(<2 x i16> %in) nounwind readnone alwaysinline { |
| 1308 | %1 = sitofp <2 x i16> %in to <2 x double> |
| 1309 | ret <2 x double> %1 |
| 1310 | } |
| 1311 | define <3 x double> @_Z15convert_double3Dv3_s(<3 x i16> %in) nounwind readnone alwaysinline { |
| 1312 | %1 = sitofp <3 x i16> %in to <3 x double> |
| 1313 | ret <3 x double> %1 |
| 1314 | } |
| 1315 | define <4 x double> @_Z15convert_double4Dv4_s(<4 x i16> %in) nounwind readnone alwaysinline { |
| 1316 | %1 = sitofp <4 x i16> %in to <4 x double> |
| 1317 | ret <4 x double> %1 |
| 1318 | } |
| 1319 | |
| 1320 | define <2 x double> @_Z15convert_double2Dv2_j(<2 x i32> %in) nounwind readnone alwaysinline { |
| 1321 | %1 = uitofp <2 x i32> %in to <2 x double> |
| 1322 | ret <2 x double> %1 |
| 1323 | } |
| 1324 | define <3 x double> @_Z15convert_double3Dv3_j(<3 x i32> %in) nounwind readnone alwaysinline { |
| 1325 | %1 = uitofp <3 x i32> %in to <3 x double> |
| 1326 | ret <3 x double> %1 |
| 1327 | } |
| 1328 | define <4 x double> @_Z15convert_double4Dv4_j(<4 x i32> %in) nounwind readnone alwaysinline { |
| 1329 | %1 = uitofp <4 x i32> %in to <4 x double> |
| 1330 | ret <4 x double> %1 |
| 1331 | } |
| 1332 | |
| 1333 | define <2 x double> @_Z15convert_double2Dv2_i(<2 x i32> %in) nounwind readnone alwaysinline { |
| 1334 | %1 = sitofp <2 x i32> %in to <2 x double> |
| 1335 | ret <2 x double> %1 |
| 1336 | } |
| 1337 | define <3 x double> @_Z15convert_double3Dv3_i(<3 x i32> %in) nounwind readnone alwaysinline { |
| 1338 | %1 = sitofp <3 x i32> %in to <3 x double> |
| 1339 | ret <3 x double> %1 |
| 1340 | } |
| 1341 | define <4 x double> @_Z15convert_double4Dv4_i(<4 x i32> %in) nounwind readnone alwaysinline { |
| 1342 | %1 = sitofp <4 x i32> %in to <4 x double> |
| 1343 | ret <4 x double> %1 |
| 1344 | } |
| 1345 | |
| 1346 | define <2 x double> @_Z15convert_double2Dv2_f(<2 x float> %in) nounwind readnone alwaysinline { |
| 1347 | %1 = fpext <2 x float> %in to <2 x double> |
| 1348 | ret <2 x double> %1 |
| 1349 | } |
| 1350 | define <3 x double> @_Z15convert_double3Dv3_f(<3 x float> %in) nounwind readnone alwaysinline { |
| 1351 | %1 = fpext <3 x float> %in to <3 x double> |
| 1352 | ret <3 x double> %1 |
| 1353 | } |
| 1354 | define <4 x double> @_Z15convert_double4Dv4_f(<4 x float> %in) nounwind readnone alwaysinline { |
| 1355 | %1 = fpext <4 x float> %in to <4 x double> |
| 1356 | ret <4 x double> %1 |
| 1357 | } |
| 1358 | |
| 1359 | define <2 x double> @_Z15convert_double2Dv2_d(<2 x double> %in) nounwind readnone alwaysinline { |
| 1360 | ret <2 x double> %in |
| 1361 | } |
| 1362 | define <3 x double> @_Z15convert_double3Dv3_d(<3 x double> %in) nounwind readnone alwaysinline { |
| 1363 | ret <3 x double> %in |
| 1364 | } |
| 1365 | define <4 x double> @_Z15convert_double4Dv4_d(<4 x double> %in) nounwind readnone alwaysinline { |
| 1366 | ret <4 x double> %in |
| 1367 | } |
| 1368 | |
| 1369 | define <2 x double> @_Z15convert_double2Dv2_l(<2 x i64> %in) nounwind readnone alwaysinline { |
| 1370 | %1 = sitofp <2 x i64> %in to <2 x double> |
| 1371 | ret <2 x double> %1 |
| 1372 | } |
| 1373 | define <3 x double> @_Z15convert_double3Dv3_l(<3 x i64> %in) nounwind readnone alwaysinline { |
| 1374 | %1 = sitofp <3 x i64> %in to <3 x double> |
| 1375 | ret <3 x double> %1 |
| 1376 | } |
| 1377 | define <4 x double> @_Z15convert_double4Dv4_l(<4 x i64> %in) nounwind readnone alwaysinline { |
| 1378 | %1 = sitofp <4 x i64> %in to <4 x double> |
| 1379 | ret <4 x double> %1 |
| 1380 | } |
| 1381 | |
| 1382 | define <2 x double> @_Z15convert_double2Dv2_y(<2 x i64> %in) nounwind readnone alwaysinline { |
| 1383 | %1 = uitofp <2 x i64> %in to <2 x double> |
| 1384 | ret <2 x double> %1 |
| 1385 | } |
| 1386 | define <3 x double> @_Z15convert_double3Dv3_y(<3 x i64> %in) nounwind readnone alwaysinline { |
| 1387 | %1 = uitofp <3 x i64> %in to <3 x double> |
| 1388 | ret <3 x double> %1 |
| 1389 | } |
| 1390 | define <4 x double> @_Z15convert_double4Dv4_y(<4 x i64> %in) nounwind readnone alwaysinline { |
| 1391 | %1 = uitofp <4 x i64> %in to <4 x double> |
| 1392 | ret <4 x double> %1 |
| 1393 | } |
| 1394 | |
| 1395 | |