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

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

Issue 12319113: Emit VMLS for multiply-subtract on ARM. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Ulan's commen Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | test/mjsunit/compiler/multiply-sub.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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 COMPARE(vstm(ia, r6, s0, s31), 560 COMPARE(vstm(ia, r6, s0, s31),
561 "ec860a20 vstmia r6, {s0-s31}"); 561 "ec860a20 vstmia r6, {s0-s31}");
562 COMPARE(vldm(ia, r7, s0, s31), 562 COMPARE(vldm(ia, r7, s0, s31),
563 "ec970a20 vldmia r7, {s0-s31}"); 563 "ec970a20 vldmia r7, {s0-s31}");
564 564
565 COMPARE(vmla(d2, d1, d0), 565 COMPARE(vmla(d2, d1, d0),
566 "ee012b00 vmla.f64 d2, d1, d0"); 566 "ee012b00 vmla.f64 d2, d1, d0");
567 COMPARE(vmla(d6, d4, d5, cc), 567 COMPARE(vmla(d6, d4, d5, cc),
568 "3e046b05 vmla.f64cc d6, d4, d5"); 568 "3e046b05 vmla.f64cc d6, d4, d5");
569 569
570 COMPARE(vmls(d2, d1, d0),
571 "ee012b40 vmls.f64 d2, d1, d0");
572 COMPARE(vmls(d6, d4, d5, cc),
573 "3e046b45 vmls.f64cc d6, d4, d5");
574
570 COMPARE(vcvt_u32_f64(s0, d0), 575 COMPARE(vcvt_u32_f64(s0, d0),
571 "eebc0bc0 vcvt.u32.f64 s0, d0"); 576 "eebc0bc0 vcvt.u32.f64 s0, d0");
572 COMPARE(vcvt_s32_f64(s0, d0), 577 COMPARE(vcvt_s32_f64(s0, d0),
573 "eebd0bc0 vcvt.s32.f64 s0, d0"); 578 "eebd0bc0 vcvt.s32.f64 s0, d0");
574 COMPARE(vcvt_f64_u32(d0, s1), 579 COMPARE(vcvt_f64_u32(d0, s1),
575 "eeb80b60 vcvt.f64.u32 d0, s1"); 580 "eeb80b60 vcvt.f64.u32 d0, s1");
576 COMPARE(vcvt_f64_s32(d0, s1), 581 COMPARE(vcvt_f64_s32(d0, s1),
577 "eeb80be0 vcvt.f64.s32 d0, s1"); 582 "eeb80be0 vcvt.f64.s32 d0, s1");
578 COMPARE(vcvt_f32_s32(s0, s2), 583 COMPARE(vcvt_f32_s32(s0, s2),
579 "eeb80ac1 vcvt.f32.s32 s0, s2"); 584 "eeb80ac1 vcvt.f32.s32 s0, s2");
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)), 861 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)),
857 "e04987ff strd r8, [r9], #-127"); 862 "e04987ff strd r8, [r9], #-127");
858 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)), 863 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)),
859 "e1eba7ff strd r10, [fp, #+127]!"); 864 "e1eba7ff strd r10, [fp, #+127]!");
860 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)), 865 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)),
861 "e16dc7ff strd ip, [sp, #-127]!"); 866 "e16dc7ff strd ip, [sp, #-127]!");
862 } 867 }
863 868
864 VERIFY_RUN(); 869 VERIFY_RUN();
865 } 870 }
OLDNEW
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | test/mjsunit/compiler/multiply-sub.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698