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

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

Issue 11293061: Emit VMLA for multiply-add on ARM (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | test/mjsunit/compiler/multiply-add.js » ('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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 COMPARE(vldm(ia, r3, d0, d15), 540 COMPARE(vldm(ia, r3, d0, d15),
541 "ec930b20 vldmia r3, {d0-d15}"); 541 "ec930b20 vldmia r3, {d0-d15}");
542 COMPARE(vstm(ia, r4, s1, s3), 542 COMPARE(vstm(ia, r4, s1, s3),
543 "ecc40a03 vstmia r4, {s1-s3}"); 543 "ecc40a03 vstmia r4, {s1-s3}");
544 COMPARE(vldm(ia, r5, s2, s5), 544 COMPARE(vldm(ia, r5, s2, s5),
545 "ec951a04 vldmia r5, {s2-s5}"); 545 "ec951a04 vldmia r5, {s2-s5}");
546 COMPARE(vstm(ia, r6, s0, s31), 546 COMPARE(vstm(ia, r6, s0, s31),
547 "ec860a20 vstmia r6, {s0-s31}"); 547 "ec860a20 vstmia r6, {s0-s31}");
548 COMPARE(vldm(ia, r7, s0, s31), 548 COMPARE(vldm(ia, r7, s0, s31),
549 "ec970a20 vldmia r7, {s0-s31}"); 549 "ec970a20 vldmia r7, {s0-s31}");
550
551 COMPARE(vmla(d2, d1, d0),
552 "ee012b00 vmla.f64 d2, d1, d0");
553 COMPARE(vmla(d6, d4, d5, cc),
554 "3e046b05 vmla.f64cc d6, d4, d5");
550 } 555 }
551 556
552 VERIFY_RUN(); 557 VERIFY_RUN();
553 } 558 }
554 559
555 560
556 TEST(LoadStore) { 561 TEST(LoadStore) {
557 SET_UP(); 562 SET_UP();
558 563
559 COMPARE(ldrb(r0, MemOperand(r1)), 564 COMPARE(ldrb(r0, MemOperand(r1)),
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)), 751 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)),
747 "e04987ff strd r8, [r9], #-127"); 752 "e04987ff strd r8, [r9], #-127");
748 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)), 753 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)),
749 "e1eba7ff strd r10, [fp, #+127]!"); 754 "e1eba7ff strd r10, [fp, #+127]!");
750 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)), 755 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)),
751 "e16dc7ff strd ip, [sp, #-127]!"); 756 "e16dc7ff strd ip, [sp, #-127]!");
752 } 757 }
753 758
754 VERIFY_RUN(); 759 VERIFY_RUN();
755 } 760 }
756
OLDNEW
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | test/mjsunit/compiler/multiply-add.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698