 Chromium Code Reviews
 Chromium Code Reviews Issue 2622643005:
  ARM64: Add NEON support  (Closed)
    
  
    Issue 2622643005:
  ARM64: Add NEON support  (Closed) 
  | OLD | NEW | 
|---|---|
| (Empty) | |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // This file holds inputs for the instructions tested by test-simulator-a64. | |
| 6 // | |
| 7 // If the input lists are updated, please run tools/generate_simulator_traces.py | |
| 8 // on a reference platform to regenerate the expected outputs. The outputs are | |
| 9 // stored in test-simulator-traces-arm64.h. | |
| 10 | |
| 11 #include <stdint.h> | |
| 12 | |
| 13 // This header should only be used by test-simulator-arm64.cc, so it | |
| 14 // doesn't need the usual header guard. | |
| 
bbudge
2017/01/31 01:41:31
Why have a header at all then?
 
martyn.capewell
2017/02/03 11:01:30
Are you suggesting pasting this file into the top
 | |
| 15 #ifdef V8_TEST_SIMULATOR_INPUTS_ARM64_H_ | |
| 16 #error This header should be included only once. | |
| 17 #endif | |
| 18 #define V8_TEST_SIMULATOR_INPUTS_ARM64_H_ | |
| 19 | |
| 20 // clang-format off | |
| 21 | |
| 22 // Double values, stored as uint64_t representations. This ensures exact bit | |
| 23 // representation, and avoids the loss of NaNs and suchlike through C++ casts. | |
| 24 #define INPUT_DOUBLE_BASIC \ | |
| 25 /* Simple values. */ \ | |
| 26 /* 0.0 */ \ | |
| 27 0x0000000000000000, \ | |
| 28 /* The smallest normal value. */ \ | |
| 29 0x0010000000000000, \ | |
| 30 /* The value just below 0.5. */ \ | |
| 31 0x3fdfffffffffffff, \ | |
| 32 /* 0.5 */ \ | |
| 33 0x3fe0000000000000, \ | |
| 34 /* The value just above 0.5. */ \ | |
| 35 0x3fe0000000000001, \ | |
| 36 /* The value just below 1.0. */ \ | |
| 37 0x3fefffffffffffff, \ | |
| 38 /* 1.0 */ \ | |
| 39 0x3ff0000000000000, \ | |
| 40 /* The value just above 1.0. */ \ | |
| 41 0x3ff0000000000001, \ | |
| 42 /* 1.5 */ \ | |
| 43 0x3ff8000000000000, \ | |
| 44 /* 10 */ \ | |
| 45 0x4024000000000000, \ | |
| 46 /* The largest finite value. */ \ | |
| 47 0x7fefffffffffffff, \ | |
| 48 \ | |
| 49 /* Infinity. */ \ | |
| 50 0x7ff0000000000000, \ | |
| 51 \ | |
| 52 /* NaNs. */ \ | |
| 53 /* - Quiet NaNs */ \ | |
| 54 0x7ff923456789abcd, \ | |
| 55 0x7ff8000000000000, \ | |
| 56 /* - Signalling NaNs */ \ | |
| 57 0x7ff123456789abcd, \ | |
| 58 0x7ff0000000000000, \ | |
| 59 \ | |
| 60 /* Subnormals. */ \ | |
| 61 /* - A recognisable bit pattern. */ \ | |
| 62 0x000123456789abcd, \ | |
| 63 /* - The largest subnormal value. */ \ | |
| 64 0x000fffffffffffff, \ | |
| 65 /* - The smallest subnormal value. */ \ | |
| 66 0x0000000000000001, \ | |
| 67 \ | |
| 68 /* The same values again, but negated. */ \ | |
| 69 0x8000000000000000, \ | |
| 70 0x8010000000000000, \ | |
| 71 0xbfdfffffffffffff, \ | |
| 72 0xbfe0000000000000, \ | |
| 73 0xbfe0000000000001, \ | |
| 74 0xbfefffffffffffff, \ | |
| 75 0xbff0000000000000, \ | |
| 76 0xbff0000000000001, \ | |
| 77 0xbff8000000000000, \ | |
| 78 0xc024000000000000, \ | |
| 79 0xffefffffffffffff, \ | |
| 80 0xfff0000000000000, \ | |
| 81 0xfff923456789abcd, \ | |
| 82 0xfff8000000000000, \ | |
| 83 0xfff123456789abcd, \ | |
| 84 0xfff0000000000000, \ | |
| 85 0x800123456789abcd, \ | |
| 86 0x800fffffffffffff, \ | |
| 87 0x8000000000000001, | |
| 88 | |
| 89 | |
| 90 // Extra inputs. Passing these to 3- or 2-op instructions makes the trace file | |
| 91 // very large, so these should only be used with 1-op instructions. | |
| 92 #define INPUT_DOUBLE_CONVERSIONS \ | |
| 93 /* Values relevant for conversions to single-precision floats. */ \ | |
| 94 0x47efffff00000000, \ | |
| 95 /* - The smallest normalized float. */ \ | |
| 96 0x3810000000000000, \ | |
| 97 /* - Normal floats that need (ties-to-even) rounding. */ \ | |
| 98 /* For normalized numbers, bit 29 (0x0000000020000000) is the */ \ | |
| 99 /* lowest-order bit which will fit in the float's mantissa. */ \ | |
| 100 0x3ff0000000000000, \ | |
| 101 0x3ff0000000000001, \ | |
| 102 0x3ff0000010000000, \ | |
| 103 0x3ff0000010000001, \ | |
| 104 0x3ff0000020000000, \ | |
| 105 0x3ff0000020000001, \ | |
| 106 0x3ff0000030000000, \ | |
| 107 0x3ff0000030000001, \ | |
| 108 0x3ff0000040000000, \ | |
| 109 0x3ff0000040000001, \ | |
| 110 0x3ff0000050000000, \ | |
| 111 0x3ff0000050000001, \ | |
| 112 0x3ff0000060000000, \ | |
| 113 /* - A mantissa that overflows into the exponent during rounding. */ \ | |
| 114 0x3feffffff0000000, \ | |
| 115 /* - The largest double that rounds to a normal float. */ \ | |
| 116 0x47efffffefffffff, \ | |
| 117 /* - The smallest exponent that's too big for a float. */ \ | |
| 118 0x47f0000000000000, \ | |
| 119 /* - This exponent is in range, but the value rounds to infinity. */ \ | |
| 120 0x47effffff0000000, \ | |
| 121 /* - The largest double which is too small for a subnormal float. */ \ | |
| 122 0x3690000000000000, \ | |
| 123 /* - The largest subnormal float. */ \ | |
| 124 0x380fffffc0000000, \ | |
| 125 /* - The smallest subnormal float. */ \ | |
| 126 0x36a0000000000000, \ | |
| 127 /* - Subnormal floats that need (ties-to-even) rounding. */ \ | |
| 128 /* For these subnormals, bit 34 (0x0000000400000000) is the */ \ | |
| 129 /* lowest-order bit which will fit in the float's mantissa. */ \ | |
| 130 0x37c159e000000000, \ | |
| 131 0x37c159e000000001, \ | |
| 132 0x37c159e200000000, \ | |
| 133 0x37c159e200000001, \ | |
| 134 0x37c159e400000000, \ | |
| 135 0x37c159e400000001, \ | |
| 136 0x37c159e600000000, \ | |
| 137 0x37c159e600000001, \ | |
| 138 0x37c159e800000000, \ | |
| 139 0x37c159e800000001, \ | |
| 140 0x37c159ea00000000, \ | |
| 141 0x37c159ea00000001, \ | |
| 142 0x37c159ec00000000, \ | |
| 143 /* - The smallest double which rounds up to become a subnormal float. */ \ | |
| 144 0x3690000000000001, \ | |
| 145 \ | |
| 146 /* The same values again, but negated. */ \ | |
| 147 0xc7efffff00000000, \ | |
| 148 0xb810000000000000, \ | |
| 149 0xbff0000000000000, \ | |
| 150 0xbff0000000000001, \ | |
| 151 0xbff0000010000000, \ | |
| 152 0xbff0000010000001, \ | |
| 153 0xbff0000020000000, \ | |
| 154 0xbff0000020000001, \ | |
| 155 0xbff0000030000000, \ | |
| 156 0xbff0000030000001, \ | |
| 157 0xbff0000040000000, \ | |
| 158 0xbff0000040000001, \ | |
| 159 0xbff0000050000000, \ | |
| 160 0xbff0000050000001, \ | |
| 161 0xbff0000060000000, \ | |
| 162 0xbfeffffff0000000, \ | |
| 163 0xc7efffffefffffff, \ | |
| 164 0xc7f0000000000000, \ | |
| 165 0xc7effffff0000000, \ | |
| 166 0xb690000000000000, \ | |
| 167 0xb80fffffc0000000, \ | |
| 168 0xb6a0000000000000, \ | |
| 169 0xb7c159e000000000, \ | |
| 170 0xb7c159e000000001, \ | |
| 171 0xb7c159e200000000, \ | |
| 172 0xb7c159e200000001, \ | |
| 173 0xb7c159e400000000, \ | |
| 174 0xb7c159e400000001, \ | |
| 175 0xb7c159e600000000, \ | |
| 176 0xb7c159e600000001, \ | |
| 177 0xb7c159e800000000, \ | |
| 178 0xb7c159e800000001, \ | |
| 179 0xb7c159ea00000000, \ | |
| 180 0xb7c159ea00000001, \ | |
| 181 0xb7c159ec00000000, \ | |
| 182 0xb690000000000001, \ | |
| 183 \ | |
| 184 /* Values relevant for conversions to integers (frint). */ \ | |
| 185 \ | |
| 186 /* - The lowest-order mantissa bit has value 1. */ \ | |
| 187 0x4330000000000000, \ | |
| 188 0x4330000000000001, \ | |
| 189 0x4330000000000002, \ | |
| 190 0x4330000000000003, \ | |
| 191 0x433fedcba9876543, \ | |
| 192 0x433ffffffffffffc, \ | |
| 193 0x433ffffffffffffd, \ | |
| 194 0x433ffffffffffffe, \ | |
| 195 0x433fffffffffffff, \ | |
| 196 /* - The lowest-order mantissa bit has value 0.5. */ \ | |
| 197 0x4320000000000000, \ | |
| 198 0x4320000000000001, \ | |
| 199 0x4320000000000002, \ | |
| 200 0x4320000000000003, \ | |
| 201 0x432fedcba9876543, \ | |
| 202 0x432ffffffffffffc, \ | |
| 203 0x432ffffffffffffd, \ | |
| 204 0x432ffffffffffffe, \ | |
| 205 0x432fffffffffffff, \ | |
| 206 /* - The lowest-order mantissa bit has value 0.25. */ \ | |
| 207 0x4310000000000000, \ | |
| 208 0x4310000000000001, \ | |
| 209 0x4310000000000002, \ | |
| 210 0x4310000000000003, \ | |
| 211 0x431fedcba9876543, \ | |
| 212 0x431ffffffffffffc, \ | |
| 213 0x431ffffffffffffd, \ | |
| 214 0x431ffffffffffffe, \ | |
| 215 0x431fffffffffffff, \ | |
| 216 \ | |
| 217 /* The same values again, but negated. */ \ | |
| 218 0xc330000000000000, \ | |
| 219 0xc330000000000001, \ | |
| 220 0xc330000000000002, \ | |
| 221 0xc330000000000003, \ | |
| 222 0xc33fedcba9876543, \ | |
| 223 0xc33ffffffffffffc, \ | |
| 224 0xc33ffffffffffffd, \ | |
| 225 0xc33ffffffffffffe, \ | |
| 226 0xc33fffffffffffff, \ | |
| 227 0xc320000000000000, \ | |
| 228 0xc320000000000001, \ | |
| 229 0xc320000000000002, \ | |
| 230 0xc320000000000003, \ | |
| 231 0xc32fedcba9876543, \ | |
| 232 0xc32ffffffffffffc, \ | |
| 233 0xc32ffffffffffffd, \ | |
| 234 0xc32ffffffffffffe, \ | |
| 235 0xc32fffffffffffff, \ | |
| 236 0xc310000000000000, \ | |
| 237 0xc310000000000001, \ | |
| 238 0xc310000000000002, \ | |
| 239 0xc310000000000003, \ | |
| 240 0xc31fedcba9876543, \ | |
| 241 0xc31ffffffffffffc, \ | |
| 242 0xc31ffffffffffffd, \ | |
| 243 0xc31ffffffffffffe, \ | |
| 244 0xc31fffffffffffff, \ | |
| 245 \ | |
| 246 /* Values relevant for conversions to integers (fcvt). */ \ | |
| 247 0xc3e0000000000001, /* The value just below INT64_MIN. */ \ | |
| 248 0xc3e0000000000000, /* INT64_MIN */ \ | |
| 249 0xc3dfffffffffffff, /* The value just above INT64_MIN. */ \ | |
| 250 0x43dfffffffffffff, /* The value just below INT64_MAX. */ \ | |
| 251 /* INT64_MAX is not representable. */ \ | |
| 252 0x43e0000000000000, /* The value just above INT64_MAX. */ \ | |
| 253 \ | |
| 254 0x43efffffffffffff, /* The value just below UINT64_MAX. */ \ | |
| 255 /* UINT64_MAX is not representable. */ \ | |
| 256 0x43f0000000000000, /* The value just above UINT64_MAX. */ \ | |
| 257 \ | |
| 258 0xc1e0000000200001, /* The value just below INT32_MIN - 1.0. */ \ | |
| 259 0xc1e0000000200000, /* INT32_MIN - 1.0 */ \ | |
| 260 0xc1e00000001fffff, /* The value just above INT32_MIN - 1.0. */ \ | |
| 261 0xc1e0000000100001, /* The value just below INT32_MIN - 0.5. */ \ | |
| 262 0xc1e0000000100000, /* INT32_MIN - 0.5 */ \ | |
| 263 0xc1e00000000fffff, /* The value just above INT32_MIN - 0.5. */ \ | |
| 264 0xc1e0000000000001, /* The value just below INT32_MIN. */ \ | |
| 265 0xc1e0000000000000, /* INT32_MIN */ \ | |
| 266 0xc1dfffffffffffff, /* The value just above INT32_MIN. */ \ | |
| 267 0xc1dfffffffe00001, /* The value just below INT32_MIN + 0.5. */ \ | |
| 268 0xc1dfffffffe00000, /* INT32_MIN + 0.5 */ \ | |
| 269 0xc1dfffffffdfffff, /* The value just above INT32_MIN + 0.5. */ \ | |
| 270 \ | |
| 271 0x41dfffffff7fffff, /* The value just below INT32_MAX - 1.0. */ \ | |
| 272 0x41dfffffff800000, /* INT32_MAX - 1.0 */ \ | |
| 273 0x41dfffffff800001, /* The value just above INT32_MAX - 1.0. */ \ | |
| 274 0x41dfffffff9fffff, /* The value just below INT32_MAX - 0.5. */ \ | |
| 275 0x41dfffffffa00000, /* INT32_MAX - 0.5 */ \ | |
| 276 0x41dfffffffa00001, /* The value just above INT32_MAX - 0.5. */ \ | |
| 277 0x41dfffffffbfffff, /* The value just below INT32_MAX. */ \ | |
| 278 0x41dfffffffc00000, /* INT32_MAX */ \ | |
| 279 0x41dfffffffc00001, /* The value just above INT32_MAX. */ \ | |
| 280 0x41dfffffffdfffff, /* The value just below INT32_MAX + 0.5. */ \ | |
| 281 0x41dfffffffe00000, /* INT32_MAX + 0.5 */ \ | |
| 282 0x41dfffffffe00001, /* The value just above INT32_MAX + 0.5. */ \ | |
| 283 \ | |
| 284 0x41efffffffbfffff, /* The value just below UINT32_MAX - 1.0. */ \ | |
| 285 0x41efffffffc00000, /* UINT32_MAX - 1.0 */ \ | |
| 286 0x41efffffffc00001, /* The value just above UINT32_MAX - 1.0. */ \ | |
| 287 0x41efffffffcfffff, /* The value just below UINT32_MAX - 0.5. */ \ | |
| 288 0x41efffffffd00000, /* UINT32_MAX - 0.5 */ \ | |
| 289 0x41efffffffd00001, /* The value just above UINT32_MAX - 0.5. */ \ | |
| 290 0x41efffffffdfffff, /* The value just below UINT32_MAX. */ \ | |
| 291 0x41efffffffe00000, /* UINT32_MAX */ \ | |
| 292 0x41efffffffe00001, /* The value just above UINT32_MAX. */ \ | |
| 293 0x41efffffffefffff, /* The value just below UINT32_MAX + 0.5. */ \ | |
| 294 0x41effffffff00000, /* UINT32_MAX + 0.5 */ \ | |
| 295 0x41effffffff00001, /* The value just above UINT32_MAX + 0.5. */ | |
| 296 | |
| 297 | |
| 298 // Float values, stored as uint32_t representations. This ensures exact bit | |
| 299 // representation, and avoids the loss of NaNs and suchlike through C++ casts. | |
| 300 #define INPUT_FLOAT_BASIC \ | |
| 301 /* Simple values. */ \ | |
| 302 0x00000000, /* 0.0 */ \ | |
| 303 0x00800000, /* The smallest normal value. */ \ | |
| 304 0x3effffff, /* The value just below 0.5. */ \ | |
| 305 0x3f000000, /* 0.5 */ \ | |
| 306 0x3f000001, /* The value just above 0.5. */ \ | |
| 307 0x3f7fffff, /* The value just below 1.0. */ \ | |
| 308 0x3f800000, /* 1.0 */ \ | |
| 309 0x3f800001, /* The value just above 1.0. */ \ | |
| 310 0x3fc00000, /* 1.5 */ \ | |
| 311 0x41200000, /* 10 */ \ | |
| 312 0x7f8fffff, /* The largest finite value. */ \ | |
| 313 \ | |
| 314 /* Infinity. */ \ | |
| 315 0x7f800000, \ | |
| 316 \ | |
| 317 /* NaNs. */ \ | |
| 318 /* - Quiet NaNs */ \ | |
| 319 0x7fd23456, \ | |
| 320 0x7fc00000, \ | |
| 321 /* - Signalling NaNs */ \ | |
| 322 0x7f923456, \ | |
| 323 0x7f800001, \ | |
| 324 \ | |
| 325 /* Subnormals. */ \ | |
| 326 /* - A recognisable bit pattern. */ \ | |
| 327 0x00123456, \ | |
| 328 /* - The largest subnormal value. */ \ | |
| 329 0x007fffff, \ | |
| 330 /* - The smallest subnormal value. */ \ | |
| 331 0x00000001, \ | |
| 332 \ | |
| 333 /* The same values again, but negated. */ \ | |
| 334 0x80000000, \ | |
| 335 0x80800000, \ | |
| 336 0xbeffffff, \ | |
| 337 0xbf000000, \ | |
| 338 0xbf000001, \ | |
| 339 0xbf7fffff, \ | |
| 340 0xbf800000, \ | |
| 341 0xbf800001, \ | |
| 342 0xbfc00000, \ | |
| 343 0xc1200000, \ | |
| 344 0xff8fffff, \ | |
| 345 0xff800000, \ | |
| 346 0xffd23456, \ | |
| 347 0xffc00000, \ | |
| 348 0xff923456, \ | |
| 349 0xff800001, \ | |
| 350 0x80123456, \ | |
| 351 0x807fffff, \ | |
| 352 0x80000001, | |
| 353 | |
| 354 | |
| 355 // Extra inputs. Passing these to 3- or 2-op instructions makes the trace file | |
| 356 // very large, so these should only be used with 1-op instructions. | |
| 357 #define INPUT_FLOAT_CONVERSIONS \ | |
| 358 /* Values relevant for conversions to integers (frint). */ \ | |
| 359 /* - The lowest-order mantissa bit has value 1. */ \ | |
| 360 0x4b000000, \ | |
| 361 0x4b000001, \ | |
| 362 0x4b000002, \ | |
| 363 0x4b000003, \ | |
| 364 0x4b765432, \ | |
| 365 0x4b7ffffc, \ | |
| 366 0x4b7ffffd, \ | |
| 367 0x4b7ffffe, \ | |
| 368 0x4b7fffff, \ | |
| 369 /* - The lowest-order mantissa bit has value 0.5. */ \ | |
| 370 0x4a800000, \ | |
| 371 0x4a800001, \ | |
| 372 0x4a800002, \ | |
| 373 0x4a800003, \ | |
| 374 0x4af65432, \ | |
| 375 0x4afffffc, \ | |
| 376 0x4afffffd, \ | |
| 377 0x4afffffe, \ | |
| 378 0x4affffff, \ | |
| 379 /* - The lowest-order mantissa bit has value 0.25. */ \ | |
| 380 0x4a000000, \ | |
| 381 0x4a000001, \ | |
| 382 0x4a000002, \ | |
| 383 0x4a000003, \ | |
| 384 0x4a765432, \ | |
| 385 0x4a7ffffc, \ | |
| 386 0x4a7ffffd, \ | |
| 387 0x4a7ffffe, \ | |
| 388 0x4a7fffff, \ | |
| 389 \ | |
| 390 /* The same values again, but negated. */ \ | |
| 391 0xcb000000, \ | |
| 392 0xcb000001, \ | |
| 393 0xcb000002, \ | |
| 394 0xcb000003, \ | |
| 395 0xcb765432, \ | |
| 396 0xcb7ffffc, \ | |
| 397 0xcb7ffffd, \ | |
| 398 0xcb7ffffe, \ | |
| 399 0xcb7fffff, \ | |
| 400 0xca800000, \ | |
| 401 0xca800001, \ | |
| 402 0xca800002, \ | |
| 403 0xca800003, \ | |
| 404 0xcaf65432, \ | |
| 405 0xcafffffc, \ | |
| 406 0xcafffffd, \ | |
| 407 0xcafffffe, \ | |
| 408 0xcaffffff, \ | |
| 409 0xca000000, \ | |
| 410 0xca000001, \ | |
| 411 0xca000002, \ | |
| 412 0xca000003, \ | |
| 413 0xca765432, \ | |
| 414 0xca7ffffc, \ | |
| 415 0xca7ffffd, \ | |
| 416 0xca7ffffe, \ | |
| 417 0xca7fffff, \ | |
| 418 \ | |
| 419 /* Values relevant for conversions to integers (fcvt). */ \ | |
| 420 0xdf000001, /* The value just below INT64_MIN. */ \ | |
| 421 0xdf000000, /* INT64_MIN */ \ | |
| 422 0xdeffffff, /* The value just above INT64_MIN. */ \ | |
| 423 0x5effffff, /* The value just below INT64_MAX. */ \ | |
| 424 /* INT64_MAX is not representable. */ \ | |
| 425 0x5f000000, /* The value just above INT64_MAX. */ \ | |
| 426 \ | |
| 427 0x5f7fffff, /* The value just below UINT64_MAX. */ \ | |
| 428 /* UINT64_MAX is not representable. */ \ | |
| 429 0x5f800000, /* The value just above UINT64_MAX. */ \ | |
| 430 \ | |
| 431 0xcf000001, /* The value just below INT32_MIN. */ \ | |
| 432 0xcf000000, /* INT32_MIN */ \ | |
| 433 0xceffffff, /* The value just above INT32_MIN. */ \ | |
| 434 0x4effffff, /* The value just below INT32_MAX. */ \ | |
| 435 /* INT32_MAX is not representable. */ \ | |
| 436 0x4f000000, /* The value just above INT32_MAX. */ | |
| 437 | |
| 438 | |
| 439 #define INPUT_32BITS_FIXEDPOINT_CONVERSIONS \ | |
| 440 0x00000000, \ | |
| 441 0x00000001, \ | |
| 442 0x00800000, \ | |
| 443 0x00800001, \ | |
| 444 0x00876543, \ | |
| 445 0x01000000, \ | |
| 446 0x01000001, \ | |
| 447 0x01800000, \ | |
| 448 0x01800001, \ | |
| 449 0x02000000, \ | |
| 450 0x02000001, \ | |
| 451 0x02800000, \ | |
| 452 0x02800001, \ | |
| 453 0x03000000, \ | |
| 454 0x40000000, \ | |
| 455 0x7fffff80, \ | |
| 456 0x7fffffc0, \ | |
| 457 0x7fffffff, \ | |
| 458 0x80000000, \ | |
| 459 0x80000100, \ | |
| 460 0xffffff00, \ | |
| 461 0xffffff80, \ | |
| 462 0xffffffff, \ | |
| 463 0xffffffff | |
| 464 | |
| 465 #define INPUT_64BITS_FIXEDPOINT_CONVERSIONS \ | |
| 466 0x0000000000000000, \ | |
| 467 0x0000000000000001, \ | |
| 468 0x0000000040000000, \ | |
| 469 0x0000000100000000, \ | |
| 470 0x4000000000000000, \ | |
| 471 0x4000000000000400, \ | |
| 472 0x000000007fffffff, \ | |
| 473 0x00000000ffffffff, \ | |
| 474 0x0000000080000000, \ | |
| 475 0x0000000080000001, \ | |
| 476 0x7ffffffffffffc00, \ | |
| 477 0x0123456789abcde0, \ | |
| 478 0x0000000012345678, \ | |
| 479 0xffffffffc0000000, \ | |
| 480 0xffffffff00000000, \ | |
| 481 0xc000000000000000, \ | |
| 482 0x1000000000000000, \ | |
| 483 0x1000000000000001, \ | |
| 484 0x1000000000000080, \ | |
| 485 0x1000000000000081, \ | |
| 486 0x1000000000000100, \ | |
| 487 0x1000000000000101, \ | |
| 488 0x1000000000000180, \ | |
| 489 0x1000000000000181, \ | |
| 490 0x1000000000000200, \ | |
| 491 0x1000000000000201, \ | |
| 492 0x1000000000000280, \ | |
| 493 0x1000000000000281, \ | |
| 494 0x1000000000000300, \ | |
| 495 0x8000000000000000, \ | |
| 496 0x8000000000000001, \ | |
| 497 0x8000000000000200, \ | |
| 498 0x8000000000000201, \ | |
| 499 0x8000000000000400, \ | |
| 500 0x8000000000000401, \ | |
| 501 0x8000000000000600, \ | |
| 502 0x8000000000000601, \ | |
| 503 0x8000000000000800, \ | |
| 504 0x8000000000000801, \ | |
| 505 0x8000000000000a00, \ | |
| 506 0x8000000000000a01, \ | |
| 507 0x8000000000000c00, \ | |
| 508 0x7ffffffffffffe00, \ | |
| 509 0x7fffffffffffffff, \ | |
| 510 0xfffffffffffffc00, \ | |
| 511 0xffffffffffffffff | |
| 512 | |
| 513 // Float16 - Basic test values. | |
| 514 #define INPUT_FLOAT16_BASIC \ | |
| 515 0x3c00, /* 1 0 01111 0000000000 */ \ | |
| 516 0x3c01, /* Next smallest float after 1. 0 01111 0000000001 */ \ | |
| 517 0xc000, /* -2 1 10000 0000000000 */ \ | |
| 518 0x7bff, /* Maximum in half precision. 0 11110 1111111111 */ \ | |
| 519 0x0400, /* Minimum positive normal. 0 00001 0000000000 */ \ | |
| 520 0x03ff, /* Maximum subnormal. 0 00000 1111111111 */ \ | |
| 521 0x0001, /* Minimum positive subnormal. 0 00000 0000000001 */ \ | |
| 522 0x0000, /* 0 0 00000 0000000000 */ \ | |
| 523 0x8000, /* -0 1 00000 0000000000 */ \ | |
| 524 0x7c00, /* inf 0 11111 0000000000 */ \ | |
| 525 0xfc00, /* -inf 1 11111 0000000000 */ \ | |
| 526 0x3555, /* 1/3 0 01101 0101010101 */ \ | |
| 527 0x3e00, /* 1.5 0 01111 1000000000 */ \ | |
| 528 0x4900, /* 10 0 10010 0100000000 */ \ | |
| 529 0xbe00, /* -1.5 1 01111 1000000000 */ \ | |
| 530 0xc900, /* -10 1 10010 0100000000 */ \ | |
| 531 | |
| 532 // Float16 - Conversion test values. | |
| 533 // Note the second column in the comments shows what the value might | |
| 534 // look like if represented in single precision (32 bit) floating point format. | |
| 535 #define INPUT_FLOAT16_CONVERSIONS \ | |
| 536 0x37ff, /* 0.4999999701976776 0x3effffff f16: 0 01101 1111111111 */ \ | |
| 537 0x3800, /* 0.4999999701976776 0x3effffff f16: 0 01110 0000000000 */ \ | |
| 538 0x3801, /* 0.5000000596046448 0x3f000001 f16: 0 01110 0000000001 */ \ | |
| 539 0x3bff, /* 0.9999999403953552 0x3f7fffff f16: 0 01110 1111111111 */ \ | |
| 540 0x7c7f, /* nan 0x7f8fffff f16: 0 11111 0001111111 */ \ | |
| 541 0x7e91, /* nan 0x7fd23456 f16: 0 11111 1010010001 */ \ | |
| 542 0x7e00, /* nan 0x7fc00000 f16: 0 11111 1000000000 */ \ | |
| 543 0x7c91, /* nan 0x7f923456 f16: 0 11111 0010010001 */ \ | |
| 544 0x8001, /* -1.175494350822288e-38 0x80800000 f16: 1 00000 0000000001 */ \ | |
| 545 0xb7ff, /* -0.4999999701976776 0xbeffffff f16: 1 01101 1111111111 */ \ | |
| 546 0xb800, /* -0.4999999701976776 0xbeffffff f16: 1 01110 0000000000 */ \ | |
| 547 0xb801, /* -0.5000000596046448 0xbf000001 f16: 1 01110 0000000001 */ \ | |
| 548 0xbbff, /* -0.9999999403953552 0xbf7fffff f16: 1 01110 1111111111 */ \ | |
| 549 0xbc00, /* -0.9999999403953552 0xbf7fffff f16: 1 01111 0000000000 */ \ | |
| 550 0xbc01, /* -1.00000011920929 0xbf800001 f16: 1 01111 0000000001 */ \ | |
| 551 0xfc7f, /* -nan 0xff8fffff f16: 1 11111 0001111111 */ \ | |
| 552 0xfe91, /* -nan 0xffd23456 f16: 1 11111 1010010001 */ \ | |
| 553 0xfe00, /* -nan 0xffc00000 f16: 1 11111 1000000000 */ \ | |
| 554 0xfc91, /* -nan 0xff923456 f16: 1 11111 0010010001 */ \ | |
| 555 0xfbff, /* -8388608 0xcb000000 f16: 1 11110 1111111111 */ \ | |
| 556 0x0002, /* 1.192092895507812e-07 0x00000002 f16: 0 00000 0000000010 */ \ | |
| 557 0x8002, /* -1.192092895507812e-07 0x80000002 f16: 1 00000 0000000010 */ \ | |
| 558 0x8fff, /* -0.0004880428314208984 0x8fffffff f16: 1 00011 1111111111 */ \ | |
| 559 0xffff, /* -nan 0xffffffff f16: 1 11111 1111111111 */ \ | |
| 560 | |
| 561 // Some useful sets of values for testing vector SIMD operations. | |
| 562 #define INPUT_8BITS_IMM_LANECOUNT_FROMZERO \ | |
| 563 0x00, \ | |
| 564 0x01, \ | |
| 565 0x02, \ | |
| 566 0x03, \ | |
| 567 0x04, \ | |
| 568 0x05, \ | |
| 569 0x06, \ | |
| 570 0x07, \ | |
| 571 0x08, \ | |
| 572 0x09, \ | |
| 573 0x0a, \ | |
| 574 0x0b, \ | |
| 575 0x0c, \ | |
| 576 0x0d, \ | |
| 577 0x0e, \ | |
| 578 0x0f | |
| 579 | |
| 580 #define INPUT_16BITS_IMM_LANECOUNT_FROMZERO \ | |
| 581 0x00, \ | |
| 582 0x01, \ | |
| 583 0x02, \ | |
| 584 0x03, \ | |
| 585 0x04, \ | |
| 586 0x05, \ | |
| 587 0x06, \ | |
| 588 0x07 | |
| 589 | |
| 590 #define INPUT_32BITS_IMM_LANECOUNT_FROMZERO \ | |
| 591 0x00, \ | |
| 592 0x01, \ | |
| 593 0x02, \ | |
| 594 0x03 | |
| 595 | |
| 596 #define INPUT_64BITS_IMM_LANECOUNT_FROMZERO \ | |
| 597 0x00, \ | |
| 598 0x01 | |
| 599 | |
| 600 #define INPUT_8BITS_IMM_TYPEWIDTH_BASE \ | |
| 601 0x01, \ | |
| 602 0x02, \ | |
| 603 0x03, \ | |
| 604 0x04, \ | |
| 605 0x05, \ | |
| 606 0x06, \ | |
| 607 0x07 | |
| 608 | |
| 609 #define INPUT_16BITS_IMM_TYPEWIDTH_BASE \ | |
| 610 INPUT_8BITS_IMM_TYPEWIDTH_BASE, \ | |
| 611 0x08, \ | |
| 612 0x09, \ | |
| 613 0x0a, \ | |
| 614 0x0b, \ | |
| 615 0x0c, \ | |
| 616 0x0d, \ | |
| 617 0x0e, \ | |
| 618 0x0f | |
| 619 | |
| 620 #define INPUT_32BITS_IMM_TYPEWIDTH_BASE \ | |
| 621 INPUT_16BITS_IMM_TYPEWIDTH_BASE, \ | |
| 622 0x10, \ | |
| 623 0x11, \ | |
| 624 0x12, \ | |
| 625 0x13, \ | |
| 626 0x14, \ | |
| 627 0x15, \ | |
| 628 0x16, \ | |
| 629 0x17, \ | |
| 630 0x18, \ | |
| 631 0x19, \ | |
| 632 0x1a, \ | |
| 633 0x1b, \ | |
| 634 0x1c, \ | |
| 635 0x1d, \ | |
| 636 0x1e, \ | |
| 637 0x1f | |
| 638 | |
| 639 #define INPUT_64BITS_IMM_TYPEWIDTH_BASE \ | |
| 640 INPUT_32BITS_IMM_TYPEWIDTH_BASE, \ | |
| 641 0x20, \ | |
| 642 0x21, \ | |
| 643 0x22, \ | |
| 644 0x23, \ | |
| 645 0x24, \ | |
| 646 0x25, \ | |
| 647 0x26, \ | |
| 648 0x27, \ | |
| 649 0x28, \ | |
| 650 0x29, \ | |
| 651 0x2a, \ | |
| 652 0x2b, \ | |
| 653 0x2c, \ | |
| 654 0x2d, \ | |
| 655 0x2e, \ | |
| 656 0x2f, \ | |
| 657 0x30, \ | |
| 658 0x31, \ | |
| 659 0x32, \ | |
| 660 0x33, \ | |
| 661 0x34, \ | |
| 662 0x35, \ | |
| 663 0x36, \ | |
| 664 0x37, \ | |
| 665 0x38, \ | |
| 666 0x39, \ | |
| 667 0x3a, \ | |
| 668 0x3b, \ | |
| 669 0x3c, \ | |
| 670 0x3d, \ | |
| 671 0x3e, \ | |
| 672 0x3f | |
| 673 | |
| 674 #define INPUT_8BITS_IMM_TYPEWIDTH \ | |
| 675 INPUT_8BITS_IMM_TYPEWIDTH_BASE, \ | |
| 676 0x08 | |
| 677 | |
| 678 #define INPUT_16BITS_IMM_TYPEWIDTH \ | |
| 679 INPUT_16BITS_IMM_TYPEWIDTH_BASE, \ | |
| 680 0x10 | |
| 681 | |
| 682 #define INPUT_32BITS_IMM_TYPEWIDTH \ | |
| 683 INPUT_32BITS_IMM_TYPEWIDTH_BASE, \ | |
| 684 0x20 | |
| 685 | |
| 686 #define INPUT_64BITS_IMM_TYPEWIDTH \ | |
| 687 INPUT_64BITS_IMM_TYPEWIDTH_BASE, \ | |
| 688 0x40 | |
| 689 | |
| 690 #define INPUT_8BITS_IMM_TYPEWIDTH_FROMZERO \ | |
| 691 0x00, \ | |
| 692 INPUT_8BITS_IMM_TYPEWIDTH_BASE | |
| 693 | |
| 694 #define INPUT_16BITS_IMM_TYPEWIDTH_FROMZERO \ | |
| 695 0x00, \ | |
| 696 INPUT_16BITS_IMM_TYPEWIDTH_BASE | |
| 697 | |
| 698 #define INPUT_32BITS_IMM_TYPEWIDTH_FROMZERO \ | |
| 699 0x00, \ | |
| 700 INPUT_32BITS_IMM_TYPEWIDTH_BASE | |
| 701 | |
| 702 #define INPUT_64BITS_IMM_TYPEWIDTH_FROMZERO \ | |
| 703 0x00, \ | |
| 704 INPUT_64BITS_IMM_TYPEWIDTH_BASE | |
| 705 | |
| 706 #define INPUT_32BITS_IMM_TYPEWIDTH_FROMZERO_TOWIDTH \ | |
| 707 0x00, \ | |
| 708 INPUT_32BITS_IMM_TYPEWIDTH_BASE, \ | |
| 709 0x20 | |
| 710 | |
| 711 #define INPUT_64BITS_IMM_TYPEWIDTH_FROMZERO_TOWIDTH \ | |
| 712 0x00, \ | |
| 713 INPUT_64BITS_IMM_TYPEWIDTH_BASE, \ | |
| 714 0x40 | |
| 715 | |
| 716 #define INPUT_8BITS_BASIC \ | |
| 717 0x00, \ | |
| 718 0x01, \ | |
| 719 0x02, \ | |
| 720 0x08, \ | |
| 721 0x33, \ | |
| 722 0x55, \ | |
| 723 0x7d, \ | |
| 724 0x7e, \ | |
| 725 0x7f, \ | |
| 726 0x80, \ | |
| 727 0x81, \ | |
| 728 0x82, \ | |
| 729 0x83, \ | |
| 730 0xaa, \ | |
| 731 0xcc, \ | |
| 732 0xf8, \ | |
| 733 0xfd, \ | |
| 734 0xfe, \ | |
| 735 0xff | |
| 736 | |
| 737 // Basic values for vector SIMD operations of types 4H or 8H. | |
| 738 #define INPUT_16BITS_BASIC \ | |
| 739 0x0000, \ | |
| 740 0x0001, \ | |
| 741 0x0002, \ | |
| 742 0x0010, \ | |
| 743 0x007d, \ | |
| 744 0x007e, \ | |
| 745 0x007f, \ | |
| 746 0x3333, \ | |
| 747 0x5555, \ | |
| 748 0x7ffd, \ | |
| 749 0x7ffe, \ | |
| 750 0x7fff, \ | |
| 751 0x8000, \ | |
| 752 0x8001, \ | |
| 753 0xaaaa, \ | |
| 754 0xcccc, \ | |
| 755 0xff80, \ | |
| 756 0xff81, \ | |
| 757 0xff82, \ | |
| 758 0xff83, \ | |
| 759 0xfff0, \ | |
| 760 0xfffd, \ | |
| 761 0xfffe, \ | |
| 762 0xffff | |
| 763 | |
| 764 // Basic values for vector SIMD operations of types 2S or 4S. | |
| 765 #define INPUT_32BITS_BASIC \ | |
| 766 0x00000000, \ | |
| 767 0x00000001, \ | |
| 768 0x00000002, \ | |
| 769 0x00000020, \ | |
| 770 0x0000007d, \ | |
| 771 0x0000007e, \ | |
| 772 0x0000007f, \ | |
| 773 0x00007ffd, \ | |
| 774 0x00007ffe, \ | |
| 775 0x00007fff, \ | |
| 776 0x33333333, \ | |
| 777 0x55555555, \ | |
| 778 0x7ffffffd, \ | |
| 779 0x7ffffffe, \ | |
| 780 0x7fffffff, \ | |
| 781 0x80000000, \ | |
| 782 0x80000001, \ | |
| 783 0xaaaaaaaa, \ | |
| 784 0xcccccccc, \ | |
| 785 0xffff8000, \ | |
| 786 0xffff8001, \ | |
| 787 0xffff8002, \ | |
| 788 0xffff8003, \ | |
| 789 0xffffff80, \ | |
| 790 0xffffff81, \ | |
| 791 0xffffff82, \ | |
| 792 0xffffff83, \ | |
| 793 0xffffffe0, \ | |
| 794 0xfffffffd, \ | |
| 795 0xfffffffe, \ | |
| 796 0xffffffff | |
| 797 | |
| 798 // Basic values for vector SIMD operations of type 2D | |
| 799 #define INPUT_64BITS_BASIC \ | |
| 800 0x0000000000000000, \ | |
| 801 0x0000000000000001, \ | |
| 802 0x0000000000000002, \ | |
| 803 0x0000000000000040, \ | |
| 804 0x000000000000007d, \ | |
| 805 0x000000000000007e, \ | |
| 806 0x000000000000007f, \ | |
| 807 0x0000000000007ffd, \ | |
| 808 0x0000000000007ffe, \ | |
| 809 0x0000000000007fff, \ | |
| 810 0x000000007ffffffd, \ | |
| 811 0x000000007ffffffe, \ | |
| 812 0x000000007fffffff, \ | |
| 813 0x3333333333333333, \ | |
| 814 0x5555555555555555, \ | |
| 815 0x7ffffffffffffffd, \ | |
| 816 0x7ffffffffffffffe, \ | |
| 817 0x7fffffffffffffff, \ | |
| 818 0x8000000000000000, \ | |
| 819 0x8000000000000001, \ | |
| 820 0x8000000000000002, \ | |
| 821 0x8000000000000003, \ | |
| 822 0xaaaaaaaaaaaaaaaa, \ | |
| 823 0xcccccccccccccccc, \ | |
| 824 0xffffffff80000000, \ | |
| 825 0xffffffff80000001, \ | |
| 826 0xffffffff80000002, \ | |
| 827 0xffffffff80000003, \ | |
| 828 0xffffffffffff8000, \ | |
| 829 0xffffffffffff8001, \ | |
| 830 0xffffffffffff8002, \ | |
| 831 0xffffffffffff8003, \ | |
| 832 0xffffffffffffff80, \ | |
| 833 0xffffffffffffff81, \ | |
| 834 0xffffffffffffff82, \ | |
| 835 0xffffffffffffff83, \ | |
| 836 0xffffffffffffffc0, \ | |
| 837 0xfffffffffffffffd, \ | |
| 838 0xfffffffffffffffe, \ | |
| 839 0xffffffffffffffff | |
| 840 | |
| 841 // clang-format on | |
| 842 | |
| 843 // For most 2- and 3-op instructions, use only basic inputs. Because every | |
| 844 // combination is tested, the length of the output trace is very sensitive to | |
| 845 // the length of this list. | |
| 846 static const uint64_t kInputDoubleBasic[] = {INPUT_DOUBLE_BASIC}; | |
| 847 static const uint32_t kInputFloatBasic[] = {INPUT_FLOAT_BASIC}; | |
| 848 | |
| 849 #define INPUT_DOUBLE_ACC_DESTINATION INPUT_DOUBLE_BASIC | |
| 850 #define INPUT_FLOAT_ACC_DESTINATION INPUT_FLOAT_BASIC | |
| 851 | |
| 852 static const uint64_t kInputDoubleAccDestination[] = { | |
| 853 INPUT_DOUBLE_ACC_DESTINATION}; | |
| 854 | |
| 855 static const uint32_t kInputFloatAccDestination[] = { | |
| 856 INPUT_FLOAT_ACC_DESTINATION}; | |
| 857 | |
| 858 // For conversions, include several extra inputs. | |
| 859 static const uint64_t kInputDoubleConversions[] = { | |
| 860 INPUT_DOUBLE_BASIC INPUT_DOUBLE_CONVERSIONS}; | |
| 861 | |
| 862 static const uint32_t kInputFloatConversions[] = { | |
| 863 INPUT_FLOAT_BASIC INPUT_FLOAT_CONVERSIONS}; | |
| 864 | |
| 865 static const uint64_t kInput64bitsFixedPointConversions[] = { | |
| 866 INPUT_64BITS_BASIC, INPUT_64BITS_FIXEDPOINT_CONVERSIONS}; | |
| 867 | |
| 868 static const uint32_t kInput32bitsFixedPointConversions[] = { | |
| 869 INPUT_32BITS_BASIC, INPUT_32BITS_FIXEDPOINT_CONVERSIONS}; | |
| 870 | |
| 871 static const uint16_t kInputFloat16Conversions[] = { | |
| 872 INPUT_FLOAT16_BASIC INPUT_FLOAT16_CONVERSIONS}; | |
| 873 | |
| 874 static const uint8_t kInput8bitsBasic[] = {INPUT_8BITS_BASIC}; | |
| 875 | |
| 876 static const uint16_t kInput16bitsBasic[] = {INPUT_16BITS_BASIC}; | |
| 877 | |
| 878 static const uint32_t kInput32bitsBasic[] = {INPUT_32BITS_BASIC}; | |
| 879 | |
| 880 static const uint64_t kInput64bitsBasic[] = {INPUT_64BITS_BASIC}; | |
| 881 | |
| 882 static const int kInput8bitsImmTypeWidth[] = {INPUT_8BITS_IMM_TYPEWIDTH}; | |
| 883 | |
| 884 static const int kInput16bitsImmTypeWidth[] = {INPUT_16BITS_IMM_TYPEWIDTH}; | |
| 885 | |
| 886 static const int kInput32bitsImmTypeWidth[] = {INPUT_32BITS_IMM_TYPEWIDTH}; | |
| 887 | |
| 888 static const int kInput64bitsImmTypeWidth[] = {INPUT_64BITS_IMM_TYPEWIDTH}; | |
| 889 | |
| 890 static const int kInput8bitsImmTypeWidthFromZero[] = { | |
| 891 INPUT_8BITS_IMM_TYPEWIDTH_FROMZERO}; | |
| 892 | |
| 893 static const int kInput16bitsImmTypeWidthFromZero[] = { | |
| 894 INPUT_16BITS_IMM_TYPEWIDTH_FROMZERO}; | |
| 895 | |
| 896 static const int kInput32bitsImmTypeWidthFromZero[] = { | |
| 897 INPUT_32BITS_IMM_TYPEWIDTH_FROMZERO}; | |
| 898 | |
| 899 static const int kInput64bitsImmTypeWidthFromZero[] = { | |
| 900 INPUT_64BITS_IMM_TYPEWIDTH_FROMZERO}; | |
| 901 | |
| 902 static const int kInput32bitsImmTypeWidthFromZeroToWidth[] = { | |
| 903 INPUT_32BITS_IMM_TYPEWIDTH_FROMZERO_TOWIDTH}; | |
| 904 | |
| 905 static const int kInput64bitsImmTypeWidthFromZeroToWidth[] = { | |
| 906 INPUT_64BITS_IMM_TYPEWIDTH_FROMZERO_TOWIDTH}; | |
| 907 | |
| 908 // These immediate values are used only in 'shll{2}' tests. | |
| 909 static const int kInput8bitsImmSHLL[] = {8}; | |
| 910 static const int kInput16bitsImmSHLL[] = {16}; | |
| 911 static const int kInput32bitsImmSHLL[] = {32}; | |
| 912 | |
| 913 static const double kInputDoubleImmZero[] = {0.0}; | |
| 914 | |
| 915 static const int kInput8bitsImmZero[] = {0}; | |
| 916 | |
| 917 static const int kInput16bitsImmZero[] = {0}; | |
| 918 | |
| 919 static const int kInput32bitsImmZero[] = {0}; | |
| 920 | |
| 921 static const int kInput64bitsImmZero[] = {0}; | |
| 922 | |
| 923 static const int kInput8bitsImmLaneCountFromZero[] = { | |
| 924 INPUT_8BITS_IMM_LANECOUNT_FROMZERO}; | |
| 925 | |
| 926 static const int kInput16bitsImmLaneCountFromZero[] = { | |
| 927 INPUT_16BITS_IMM_LANECOUNT_FROMZERO}; | |
| 928 | |
| 929 static const int kInput32bitsImmLaneCountFromZero[] = { | |
| 930 INPUT_32BITS_IMM_LANECOUNT_FROMZERO}; | |
| 931 | |
| 932 static const int kInput64bitsImmLaneCountFromZero[] = { | |
| 933 INPUT_64BITS_IMM_LANECOUNT_FROMZERO}; | |
| 934 | |
| 935 #define INPUT_8BITS_ACC_DESTINATION INPUT_8BITS_BASIC | |
| 936 #define INPUT_16BITS_ACC_DESTINATION INPUT_16BITS_BASIC | |
| 937 #define INPUT_32BITS_ACC_DESTINATION INPUT_32BITS_BASIC | |
| 938 #define INPUT_64BITS_ACC_DESTINATION INPUT_64BITS_BASIC | |
| 939 | |
| 940 static const uint8_t kInput8bitsAccDestination[] = { | |
| 941 INPUT_8BITS_ACC_DESTINATION}; | |
| 942 | |
| 943 static const uint16_t kInput16bitsAccDestination[] = { | |
| 944 INPUT_16BITS_ACC_DESTINATION}; | |
| 945 | |
| 946 static const uint32_t kInput32bitsAccDestination[] = { | |
| 947 INPUT_32BITS_ACC_DESTINATION}; | |
| 948 | |
| 949 static const uint64_t kInput64bitsAccDestination[] = { | |
| 950 INPUT_64BITS_ACC_DESTINATION}; | |
| 951 | |
| 952 static const int kInputHIndices[] = {0, 1, 2, 3, 4, 5, 6, 7}; | |
| 953 | |
| 954 static const int kInputSIndices[] = {0, 1, 2, 3}; | |
| 955 | |
| 956 static const int kInputDIndices[] = {0, 1}; | |
| OLD | NEW |