Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: test/cctest/test-disasm-arm.cc

Issue 648283002: [arm] Add support for SMMLA, SMMLS and SMMUL. (Closed) Base URL: git@github.com:v8/v8.git@master
Patch Set: Fix Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | test/unittests/base/bits-unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 COMPARE(uxtb(r9, Operand(r10, ROR, 0)), 413 COMPARE(uxtb(r9, Operand(r10, ROR, 0)),
414 "e6ef907a uxtb r9, r10"); 414 "e6ef907a uxtb r9, r10");
415 COMPARE(uxtb(r3, Operand(r4, ROR, 8)), 415 COMPARE(uxtb(r3, Operand(r4, ROR, 8)),
416 "e6ef3474 uxtb r3, r4, ror #8"); 416 "e6ef3474 uxtb r3, r4, ror #8");
417 COMPARE(uxtab(r3, r4, Operand(r5, ROR, 8)), 417 COMPARE(uxtab(r3, r4, Operand(r5, ROR, 8)),
418 "e6e43475 uxtab r3, r4, r5, ror #8"); 418 "e6e43475 uxtab r3, r4, r5, ror #8");
419 COMPARE(uxtb16(r3, Operand(r4, ROR, 8)), 419 COMPARE(uxtb16(r3, Operand(r4, ROR, 8)),
420 "e6cf3474 uxtb16 r3, r4, ror #8"); 420 "e6cf3474 uxtb16 r3, r4, ror #8");
421 } 421 }
422 422
423 COMPARE(smmls(r0, r1, r2, r3), "e75032d1 smmls r0, r1, r2, r3");
424 COMPARE(smmls(r10, r9, r8, r7), "e75a78d9 smmls r10, r9, r8, r7");
425
426 COMPARE(smmla(r0, r1, r2, r3), "e7503211 smmla r0, r1, r2, r3");
427 COMPARE(smmla(r10, r9, r8, r7), "e75a7819 smmla r10, r9, r8, r7");
428
429 COMPARE(smmul(r0, r1, r2), "e750f211 smmul r0, r1, r2");
430 COMPARE(smmul(r8, r9, r10), "e758fa19 smmul r8, r9, r10");
431
423 VERIFY_RUN(); 432 VERIFY_RUN();
424 } 433 }
425 434
426 435
427 436
428 TEST(Vfp) { 437 TEST(Vfp) {
429 SET_UP(); 438 SET_UP();
430 439
431 if (CpuFeatures::IsSupported(VFP3)) { 440 if (CpuFeatures::IsSupported(VFP3)) {
432 CpuFeatureScope scope(&assm, VFP3); 441 CpuFeatureScope scope(&assm, VFP3);
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 "e16dc7ff strd ip, [sp, #-127]!"); 906 "e16dc7ff strd ip, [sp, #-127]!");
898 907
899 COMPARE(pld(MemOperand(r1, 0)), 908 COMPARE(pld(MemOperand(r1, 0)),
900 "f5d1f000 pld [r1]"); 909 "f5d1f000 pld [r1]");
901 COMPARE(pld(MemOperand(r2, 128)), 910 COMPARE(pld(MemOperand(r2, 128)),
902 "f5d2f080 pld [r2, #+128]"); 911 "f5d2f080 pld [r2, #+128]");
903 } 912 }
904 913
905 VERIFY_RUN(); 914 VERIFY_RUN();
906 } 915 }
OLDNEW
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | test/unittests/base/bits-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698