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

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

Issue 12255031: ARM: Change signature for vmov.32 function in the assembler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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') | no next file » | 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 COMPARE(vsqrt(d0, d0), 485 COMPARE(vsqrt(d0, d0),
486 "eeb10bc0 vsqrt.f64 d0, d0"); 486 "eeb10bc0 vsqrt.f64 d0, d0");
487 COMPARE(vsqrt(d2, d3, ne), 487 COMPARE(vsqrt(d2, d3, ne),
488 "1eb12bc3 vsqrt.f64ne d2, d3"); 488 "1eb12bc3 vsqrt.f64ne d2, d3");
489 489
490 COMPARE(vmov(d0, 1.0), 490 COMPARE(vmov(d0, 1.0),
491 "eeb70b00 vmov.f64 d0, #1"); 491 "eeb70b00 vmov.f64 d0, #1");
492 COMPARE(vmov(d2, -13.0), 492 COMPARE(vmov(d2, -13.0),
493 "eeba2b0a vmov.f64 d2, #-13"); 493 "eeba2b0a vmov.f64 d2, #-13");
494 494
495 COMPARE(vmov(d0, 0, r0), 495 COMPARE(vmov(d0, VmovIndexLo, r0),
496 "ee000b10 vmov.32 d0[0], r0"); 496 "ee000b10 vmov.32 d0[0], r0");
497 COMPARE(vmov(d0, 1, r0), 497 COMPARE(vmov(d0, VmovIndexHi, r0),
498 "ee200b10 vmov.32 d0[1], r0"); 498 "ee200b10 vmov.32 d0[1], r0");
499 499
500 COMPARE(vldr(s0, r0, 0), 500 COMPARE(vldr(s0, r0, 0),
501 "ed900a00 vldr s0, [r0 + 4*0]"); 501 "ed900a00 vldr s0, [r0 + 4*0]");
502 COMPARE(vldr(s1, r1, 4), 502 COMPARE(vldr(s1, r1, 4),
503 "edd10a01 vldr s1, [r1 + 4*1]"); 503 "edd10a01 vldr s1, [r1 + 4*1]");
504 COMPARE(vldr(s15, r4, 16), 504 COMPARE(vldr(s15, r4, 16),
505 "edd47a04 vldr s15, [r4 + 4*4]"); 505 "edd47a04 vldr s15, [r4 + 4*4]");
506 COMPARE(vldr(s16, r5, 20), 506 COMPARE(vldr(s16, r5, 20),
507 "ed958a05 vldr s16, [r5 + 4*5]"); 507 "ed958a05 vldr s16, [r5 + 4*5]");
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 "eef40b61 vcmp.f64 d16, d17"); 612 "eef40b61 vcmp.f64 d16, d17");
613 COMPARE(vcmp(d16, 0.0), 613 COMPARE(vcmp(d16, 0.0),
614 "eef50b40 vcmp.f64 d16, #0.0"); 614 "eef50b40 vcmp.f64 d16, #0.0");
615 615
616 COMPARE(vsqrt(d16, d17), 616 COMPARE(vsqrt(d16, d17),
617 "eef10be1 vsqrt.f64 d16, d17"); 617 "eef10be1 vsqrt.f64 d16, d17");
618 618
619 COMPARE(vmov(d30, 16.0), 619 COMPARE(vmov(d30, 16.0),
620 "eef3eb00 vmov.f64 d30, #16"); 620 "eef3eb00 vmov.f64 d30, #16");
621 621
622 COMPARE(vmov(d31, 0, r7), 622 COMPARE(vmov(d31, VmovIndexLo, r7),
623 "ee0f7b90 vmov.32 d31[0], r7"); 623 "ee0f7b90 vmov.32 d31[0], r7");
624 COMPARE(vmov(d31, 1, r7), 624 COMPARE(vmov(d31, VmovIndexHi, r7),
625 "ee2f7b90 vmov.32 d31[1], r7"); 625 "ee2f7b90 vmov.32 d31[1], r7");
626 626
627 COMPARE(vldr(d25, r0, 0), 627 COMPARE(vldr(d25, r0, 0),
628 "edd09b00 vldr d25, [r0 + 4*0]"); 628 "edd09b00 vldr d25, [r0 + 4*0]");
629 COMPARE(vldr(d26, r1, 4), 629 COMPARE(vldr(d26, r1, 4),
630 "edd1ab01 vldr d26, [r1 + 4*1]"); 630 "edd1ab01 vldr d26, [r1 + 4*1]");
631 COMPARE(vldr(d31, r10, 1020), 631 COMPARE(vldr(d31, r10, 1020),
632 "eddafbff vldr d31, [r10 + 4*255]"); 632 "eddafbff vldr d31, [r10 + 4*255]");
633 633
634 COMPARE(vstr(d16, r0, 0), 634 COMPARE(vstr(d16, r0, 0),
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)), 856 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)),
857 "e04987ff strd r8, [r9], #-127"); 857 "e04987ff strd r8, [r9], #-127");
858 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)), 858 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)),
859 "e1eba7ff strd r10, [fp, #+127]!"); 859 "e1eba7ff strd r10, [fp, #+127]!");
860 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)), 860 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)),
861 "e16dc7ff strd ip, [sp, #-127]!"); 861 "e16dc7ff strd ip, [sp, #-127]!");
862 } 862 }
863 863
864 VERIFY_RUN(); 864 VERIFY_RUN();
865 } 865 }
OLDNEW
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698