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

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

Issue 19560003: [v8-dev] ARM: Make double registers low/high safe (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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
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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 COMPARE(vmov(d0, 1.0), 493 COMPARE(vmov(d0, 1.0),
494 "eeb70b00 vmov.f64 d0, #1"); 494 "eeb70b00 vmov.f64 d0, #1");
495 COMPARE(vmov(d2, -13.0), 495 COMPARE(vmov(d2, -13.0),
496 "eeba2b0a vmov.f64 d2, #-13"); 496 "eeba2b0a vmov.f64 d2, #-13");
497 497
498 COMPARE(vmov(d0, VmovIndexLo, r0), 498 COMPARE(vmov(d0, VmovIndexLo, r0),
499 "ee000b10 vmov.32 d0[0], r0"); 499 "ee000b10 vmov.32 d0[0], r0");
500 COMPARE(vmov(d0, VmovIndexHi, r0), 500 COMPARE(vmov(d0, VmovIndexHi, r0),
501 "ee200b10 vmov.32 d0[1], r0"); 501 "ee200b10 vmov.32 d0[1], r0");
502 502
503 COMPARE(vmov(r2, VmovIndexLo, d15),
504 "ee1f2b10 vmov.32 r2, d15[0]");
505 COMPARE(vmov(r3, VmovIndexHi, d14),
506 "ee3e3b10 vmov.32 r3, d14[1]");
507
503 COMPARE(vldr(s0, r0, 0), 508 COMPARE(vldr(s0, r0, 0),
504 "ed900a00 vldr s0, [r0 + 4*0]"); 509 "ed900a00 vldr s0, [r0 + 4*0]");
505 COMPARE(vldr(s1, r1, 4), 510 COMPARE(vldr(s1, r1, 4),
506 "edd10a01 vldr s1, [r1 + 4*1]"); 511 "edd10a01 vldr s1, [r1 + 4*1]");
507 COMPARE(vldr(s15, r4, 16), 512 COMPARE(vldr(s15, r4, 16),
508 "edd47a04 vldr s15, [r4 + 4*4]"); 513 "edd47a04 vldr s15, [r4 + 4*4]");
509 COMPARE(vldr(s16, r5, 20), 514 COMPARE(vldr(s16, r5, 20),
510 "ed958a05 vldr s16, [r5 + 4*5]"); 515 "ed958a05 vldr s16, [r5 + 4*5]");
511 COMPARE(vldr(s31, r10, 1020), 516 COMPARE(vldr(s31, r10, 1020),
512 "eddafaff vldr s31, [r10 + 4*255]"); 517 "eddafaff vldr s31, [r10 + 4*255]");
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 "e16dc7ff strd ip, [sp, #-127]!"); 893 "e16dc7ff strd ip, [sp, #-127]!");
889 894
890 COMPARE(pld(MemOperand(r1, 0)), 895 COMPARE(pld(MemOperand(r1, 0)),
891 "f5d1f000 pld [r1]"); 896 "f5d1f000 pld [r1]");
892 COMPARE(pld(MemOperand(r2, 128)), 897 COMPARE(pld(MemOperand(r2, 128)),
893 "f5d2f080 pld [r2, #+128]"); 898 "f5d2f080 pld [r2, #+128]");
894 } 899 }
895 900
896 VERIFY_RUN(); 901 VERIFY_RUN();
897 } 902 }
OLDNEW
« src/arm/macro-assembler-arm.h ('K') | « test/cctest/test-assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698