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 15085026: ARM: Smi refactoring and improvements. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 COMPARE(vcvt_u32_f64(s0, d0), 571 COMPARE(vcvt_u32_f64(s0, d0),
572 "eebc0bc0 vcvt.u32.f64 s0, d0"); 572 "eebc0bc0 vcvt.u32.f64 s0, d0");
573 COMPARE(vcvt_s32_f64(s0, d0), 573 COMPARE(vcvt_s32_f64(s0, d0),
574 "eebd0bc0 vcvt.s32.f64 s0, d0"); 574 "eebd0bc0 vcvt.s32.f64 s0, d0");
575 COMPARE(vcvt_f64_u32(d0, s1), 575 COMPARE(vcvt_f64_u32(d0, s1),
576 "eeb80b60 vcvt.f64.u32 d0, s1"); 576 "eeb80b60 vcvt.f64.u32 d0, s1");
577 COMPARE(vcvt_f64_s32(d0, s1), 577 COMPARE(vcvt_f64_s32(d0, s1),
578 "eeb80be0 vcvt.f64.s32 d0, s1"); 578 "eeb80be0 vcvt.f64.s32 d0, s1");
579 COMPARE(vcvt_f32_s32(s0, s2), 579 COMPARE(vcvt_f32_s32(s0, s2),
580 "eeb80ac1 vcvt.f32.s32 s0, s2"); 580 "eeb80ac1 vcvt.f32.s32 s0, s2");
581 COMPARE(vcvt_f64_s32(d0, 1),
582 "eeba0bef vcvt.f64.s32 d0, d0, #1");
581 583
582 if (CpuFeatures::IsSupported(VFP32DREGS)) { 584 if (CpuFeatures::IsSupported(VFP32DREGS)) {
583 COMPARE(vmov(d3, d27), 585 COMPARE(vmov(d3, d27),
584 "eeb03b6b vmov.f64 d3, d27"); 586 "eeb03b6b vmov.f64 d3, d27");
585 COMPARE(vmov(d18, d7), 587 COMPARE(vmov(d18, d7),
586 "eef02b47 vmov.f64 d18, d7"); 588 "eef02b47 vmov.f64 d18, d7");
587 COMPARE(vmov(d18, r2, r3), 589 COMPARE(vmov(d18, r2, r3),
588 "ec432b32 vmov d18, r2, r3"); 590 "ec432b32 vmov d18, r2, r3");
589 COMPARE(vmov(r2, r3, d18), 591 COMPARE(vmov(r2, r3, d18),
590 "ec532b32 vmov r2, r3, d18"); 592 "ec532b32 vmov r2, r3, d18");
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)), 859 COMPARE(strd(r8, r9, MemOperand(r9, -127, PostIndex)),
858 "e04987ff strd r8, [r9], #-127"); 860 "e04987ff strd r8, [r9], #-127");
859 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)), 861 COMPARE(strd(r10, fp, MemOperand(fp, 127, PreIndex)),
860 "e1eba7ff strd r10, [fp, #+127]!"); 862 "e1eba7ff strd r10, [fp, #+127]!");
861 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)), 863 COMPARE(strd(ip, sp, MemOperand(sp, -127, PreIndex)),
862 "e16dc7ff strd ip, [sp, #-127]!"); 864 "e16dc7ff strd ip, [sp, #-127]!");
863 } 865 }
864 866
865 VERIFY_RUN(); 867 VERIFY_RUN();
866 } 868 }
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