OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 | 392 |
393 COMPARE(bfi(r0, r1, 5, 10), | 393 COMPARE(bfi(r0, r1, 5, 10), |
394 "e7ce0291 bfi r0, r1, #5, #10"); | 394 "e7ce0291 bfi r0, r1, #5, #10"); |
395 COMPARE(bfi(r1, r0, 5, 10), | 395 COMPARE(bfi(r1, r0, 5, 10), |
396 "e7ce1290 bfi r1, r0, #5, #10"); | 396 "e7ce1290 bfi r1, r0, #5, #10"); |
397 COMPARE(bfi(r0, r1, 31, 1), | 397 COMPARE(bfi(r0, r1, 31, 1), |
398 "e7df0f91 bfi r0, r1, #31, #1"); | 398 "e7df0f91 bfi r0, r1, #31, #1"); |
399 COMPARE(bfi(r1, r0, 31, 1), | 399 COMPARE(bfi(r1, r0, 31, 1), |
400 "e7df1f90 bfi r1, r0, #31, #1"); | 400 "e7df1f90 bfi r1, r0, #31, #1"); |
401 | 401 |
402 COMPARE(usat(r0, 1, Operand(r1)), | |
403 "e6e10011 usat r0, #1, r1"); | |
404 COMPARE(usat(r2, 7, Operand(lr)), | |
405 "e6e7201e usat r2, #7, lr"); | |
406 COMPARE(usat(r3, 31, Operand(r4, LSL, 31)), | |
407 "e6ff3f94 usat r3, #31, r4, lsl #31"); | |
408 COMPARE(usat(r8, 0, Operand(r5, ASR, 17)), | |
409 "e6e088d5 usat r8, #0, r5, asr #17"); | |
410 | |
411 COMPARE(pkhbt(r3, r4, Operand(r5, LSL, 17)), | 402 COMPARE(pkhbt(r3, r4, Operand(r5, LSL, 17)), |
412 "e6843895 pkhbt r3, r4, r5, lsl #17"); | 403 "e6843895 pkhbt r3, r4, r5, lsl #17"); |
413 COMPARE(pkhtb(r3, r4, Operand(r5, ASR, 17)), | 404 COMPARE(pkhtb(r3, r4, Operand(r5, ASR, 17)), |
414 "e68438d5 pkhtb r3, r4, r5, asr #17"); | 405 "e68438d5 pkhtb r3, r4, r5, asr #17"); |
415 | 406 |
416 COMPARE(sxtb(r1, r7, 0, eq), "06af1077 sxtbeq r1, r7"); | 407 COMPARE(sxtb(r1, r7, 0, eq), "06af1077 sxtbeq r1, r7"); |
417 COMPARE(sxtb(r0, r0, 8, ne), "16af0470 sxtbne r0, r0, ror #8"); | 408 COMPARE(sxtb(r0, r0, 8, ne), "16af0470 sxtbne r0, r0, ror #8"); |
418 COMPARE(sxtb(r9, r10, 16), "e6af987a sxtb r9, r10, ror #16"); | 409 COMPARE(sxtb(r9, r10, 16), "e6af987a sxtb r9, r10, ror #16"); |
419 COMPARE(sxtb(r4, r3, 24), "e6af4c73 sxtb r4, r3, ror #24"); | 410 COMPARE(sxtb(r4, r3, 24), "e6af4c73 sxtb r4, r3, ror #24"); |
420 | 411 |
(...skipping 15 matching lines...) Expand all Loading... |
436 | 427 |
437 COMPARE(uxth(r9, r10), "e6ff907a uxth r9, r10"); | 428 COMPARE(uxth(r9, r10), "e6ff907a uxth r9, r10"); |
438 COMPARE(uxth(r3, r4, 8), "e6ff3474 uxth r3, r4, ror #8"); | 429 COMPARE(uxth(r3, r4, 8), "e6ff3474 uxth r3, r4, ror #8"); |
439 | 430 |
440 COMPARE(uxtah(r3, r4, r5, 24), "e6f43c75 uxtah r3, r4, r5, ror #24"); | 431 COMPARE(uxtah(r3, r4, r5, 24), "e6f43c75 uxtah r3, r4, r5, ror #24"); |
441 | 432 |
442 COMPARE(rbit(r1, r2), "e6ff1f32 rbit r1, r2"); | 433 COMPARE(rbit(r1, r2), "e6ff1f32 rbit r1, r2"); |
443 COMPARE(rbit(r10, ip), "e6ffaf3c rbit r10, ip"); | 434 COMPARE(rbit(r10, ip), "e6ffaf3c rbit r10, ip"); |
444 } | 435 } |
445 | 436 |
| 437 COMPARE(usat(r0, 1, Operand(r1)), |
| 438 "e6e10011 usat r0, #1, r1"); |
| 439 COMPARE(usat(r2, 7, Operand(lr)), |
| 440 "e6e7201e usat r2, #7, lr"); |
| 441 COMPARE(usat(r3, 31, Operand(r4, LSL, 31)), |
| 442 "e6ff3f94 usat r3, #31, r4, lsl #31"); |
| 443 COMPARE(usat(r8, 0, Operand(r5, ASR, 17)), |
| 444 "e6e088d5 usat r8, #0, r5, asr #17"); |
| 445 |
446 COMPARE(smmla(r0, r1, r2, r3), "e7503211 smmla r0, r1, r2, r3"); | 446 COMPARE(smmla(r0, r1, r2, r3), "e7503211 smmla r0, r1, r2, r3"); |
447 COMPARE(smmla(r10, r9, r8, r7), "e75a7819 smmla r10, r9, r8, r7"); | 447 COMPARE(smmla(r10, r9, r8, r7), "e75a7819 smmla r10, r9, r8, r7"); |
448 | 448 |
449 COMPARE(smmul(r0, r1, r2), "e750f211 smmul r0, r1, r2"); | 449 COMPARE(smmul(r0, r1, r2), "e750f211 smmul r0, r1, r2"); |
450 COMPARE(smmul(r8, r9, r10), "e758fa19 smmul r8, r9, r10"); | 450 COMPARE(smmul(r8, r9, r10), "e758fa19 smmul r8, r9, r10"); |
451 | 451 |
452 VERIFY_RUN(); | 452 VERIFY_RUN(); |
453 } | 453 } |
454 | 454 |
455 | 455 |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1164 | 1164 |
1165 COMPARE(dsb(ISH), | 1165 COMPARE(dsb(ISH), |
1166 "f57ff04b dsb ish"); | 1166 "f57ff04b dsb ish"); |
1167 | 1167 |
1168 COMPARE(isb(ISH), | 1168 COMPARE(isb(ISH), |
1169 "f57ff06b isb ish"); | 1169 "f57ff06b isb ish"); |
1170 } | 1170 } |
1171 | 1171 |
1172 VERIFY_RUN(); | 1172 VERIFY_RUN(); |
1173 } | 1173 } |
OLD | NEW |