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

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

Issue 18509003: Keep two empty lines between declarations for cpp files (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 5 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-accessors.cc ('k') | test/cctest/test-assembler-x64.cc » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 TestRoundingMode(u32_f64, RN, 123456.2, 123456); 612 TestRoundingMode(u32_f64, RN, 123456.2, 123456);
613 TestRoundingMode(u32_f64, RN, static_cast<double>(kMaxInt), kMaxInt); 613 TestRoundingMode(u32_f64, RN, static_cast<double>(kMaxInt), kMaxInt);
614 TestRoundingMode(u32_f64, RN, (kMaxInt + 0.49), kMaxInt); 614 TestRoundingMode(u32_f64, RN, (kMaxInt + 0.49), kMaxInt);
615 TestRoundingMode(u32_f64, RN, (kMaxInt + 0.5), 615 TestRoundingMode(u32_f64, RN, (kMaxInt + 0.5),
616 static_cast<uint32_t>(kMaxInt) + 1); 616 static_cast<uint32_t>(kMaxInt) + 1);
617 TestRoundingMode(u32_f64, RN, (kMaxUInt + 0.49), kMaxUInt); 617 TestRoundingMode(u32_f64, RN, (kMaxUInt + 0.49), kMaxUInt);
618 TestRoundingMode(u32_f64, RN, (kMaxUInt + 0.5), kMaxUInt, true); 618 TestRoundingMode(u32_f64, RN, (kMaxUInt + 0.5), kMaxUInt, true);
619 TestRoundingMode(u32_f64, RN, (kMaxUInt + 1.0), kMaxUInt, true); 619 TestRoundingMode(u32_f64, RN, (kMaxUInt + 1.0), kMaxUInt, true);
620 } 620 }
621 621
622
622 TEST(8) { 623 TEST(8) {
623 // Test VFP multi load/store with ia_w. 624 // Test VFP multi load/store with ia_w.
624 CcTest::InitializeVM(); 625 CcTest::InitializeVM();
625 Isolate* isolate = Isolate::Current(); 626 Isolate* isolate = Isolate::Current();
626 HandleScope scope(isolate); 627 HandleScope scope(isolate);
627 628
628 typedef struct { 629 typedef struct {
629 double a; 630 double a;
630 double b; 631 double b;
631 double c; 632 double c;
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 CHECK_EQ(kArmNanLower32, BitCast<int64_t>(t.add_result) & 0xffffffffu); 1221 CHECK_EQ(kArmNanLower32, BitCast<int64_t>(t.add_result) & 0xffffffffu);
1221 CHECK_EQ(kArmNanUpper32, (BitCast<int64_t>(t.sub_result) >> 32) & 0x7fffffff); 1222 CHECK_EQ(kArmNanUpper32, (BitCast<int64_t>(t.sub_result) >> 32) & 0x7fffffff);
1222 CHECK_EQ(kArmNanLower32, BitCast<int64_t>(t.sub_result) & 0xffffffffu); 1223 CHECK_EQ(kArmNanLower32, BitCast<int64_t>(t.sub_result) & 0xffffffffu);
1223 CHECK_EQ(kArmNanUpper32, (BitCast<int64_t>(t.mul_result) >> 32) & 0x7fffffff); 1224 CHECK_EQ(kArmNanUpper32, (BitCast<int64_t>(t.mul_result) >> 32) & 0x7fffffff);
1224 CHECK_EQ(kArmNanLower32, BitCast<int64_t>(t.mul_result) & 0xffffffffu); 1225 CHECK_EQ(kArmNanLower32, BitCast<int64_t>(t.mul_result) & 0xffffffffu);
1225 CHECK_EQ(kArmNanUpper32, (BitCast<int64_t>(t.div_result) >> 32) & 0x7fffffff); 1226 CHECK_EQ(kArmNanUpper32, (BitCast<int64_t>(t.div_result) >> 32) & 0x7fffffff);
1226 CHECK_EQ(kArmNanLower32, BitCast<int64_t>(t.div_result) & 0xffffffffu); 1227 CHECK_EQ(kArmNanLower32, BitCast<int64_t>(t.div_result) & 0xffffffffu);
1227 } 1228 }
1228 1229
1229 #undef __ 1230 #undef __
OLDNEW
« no previous file with comments | « test/cctest/test-accessors.cc ('k') | test/cctest/test-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698