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

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

Issue 223623003: Fix fixed-point vcvt_f64_s32 immediate value encoding (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Reorder bits for clarity Created 6 years, 8 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
« 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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 COMPARE(vcvt_u32_f64(s0, d0), 585 COMPARE(vcvt_u32_f64(s0, d0),
586 "eebc0bc0 vcvt.u32.f64 s0, d0"); 586 "eebc0bc0 vcvt.u32.f64 s0, d0");
587 COMPARE(vcvt_s32_f64(s0, d0), 587 COMPARE(vcvt_s32_f64(s0, d0),
588 "eebd0bc0 vcvt.s32.f64 s0, d0"); 588 "eebd0bc0 vcvt.s32.f64 s0, d0");
589 COMPARE(vcvt_f64_u32(d0, s1), 589 COMPARE(vcvt_f64_u32(d0, s1),
590 "eeb80b60 vcvt.f64.u32 d0, s1"); 590 "eeb80b60 vcvt.f64.u32 d0, s1");
591 COMPARE(vcvt_f64_s32(d0, s1), 591 COMPARE(vcvt_f64_s32(d0, s1),
592 "eeb80be0 vcvt.f64.s32 d0, s1"); 592 "eeb80be0 vcvt.f64.s32 d0, s1");
593 COMPARE(vcvt_f32_s32(s0, s2), 593 COMPARE(vcvt_f32_s32(s0, s2),
594 "eeb80ac1 vcvt.f32.s32 s0, s2"); 594 "eeb80ac1 vcvt.f32.s32 s0, s2");
595 COMPARE(vcvt_f64_s32(d0, 1), 595 COMPARE(vcvt_f64_s32(d0, 2),
596 "eeba0bef vcvt.f64.s32 d0, d0, #1"); 596 "eeba0bcf vcvt.f64.s32 d0, d0, #2");
597 597
598 if (CpuFeatures::IsSupported(VFP32DREGS)) { 598 if (CpuFeatures::IsSupported(VFP32DREGS)) {
599 COMPARE(vmov(d3, d27), 599 COMPARE(vmov(d3, d27),
600 "eeb03b6b vmov.f64 d3, d27"); 600 "eeb03b6b vmov.f64 d3, d27");
601 COMPARE(vmov(d18, d7), 601 COMPARE(vmov(d18, d7),
602 "eef02b47 vmov.f64 d18, d7"); 602 "eef02b47 vmov.f64 d18, d7");
603 COMPARE(vmov(d18, r2, r3), 603 COMPARE(vmov(d18, r2, r3),
604 "ec432b32 vmov d18, r2, r3"); 604 "ec432b32 vmov d18, r2, r3");
605 COMPARE(vmov(r2, r3, d18), 605 COMPARE(vmov(r2, r3, d18),
606 "ec532b32 vmov r2, r3, d18"); 606 "ec532b32 vmov r2, r3, d18");
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 "e16dc7ff strd ip, [sp, #-127]!"); 897 "e16dc7ff strd ip, [sp, #-127]!");
898 898
899 COMPARE(pld(MemOperand(r1, 0)), 899 COMPARE(pld(MemOperand(r1, 0)),
900 "f5d1f000 pld [r1]"); 900 "f5d1f000 pld [r1]");
901 COMPARE(pld(MemOperand(r2, 128)), 901 COMPARE(pld(MemOperand(r2, 128)),
902 "f5d2f080 pld [r2, #+128]"); 902 "f5d2f080 pld [r2, #+128]");
903 } 903 }
904 904
905 VERIFY_RUN(); 905 VERIFY_RUN();
906 } 906 }
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