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

Side by Side Diff: src/compiler/arm/code-generator-arm.cc

Issue 1468303005: [turbofan] Implemented the optional Float32RoundTruncate operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32roundup
Patch Set: Apparently std::nearbyint does not exist on all platforms. Created 5 years 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 | « src/arm/simulator-arm.cc ('k') | src/compiler/arm/instruction-codes-arm.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 break; 796 break;
797 case kArmVrintmF64: 797 case kArmVrintmF64:
798 __ vrintm(i.OutputFloat64Register(), i.InputFloat64Register(0)); 798 __ vrintm(i.OutputFloat64Register(), i.InputFloat64Register(0));
799 break; 799 break;
800 case kArmVrintpF32: 800 case kArmVrintpF32:
801 __ vrintp(i.OutputFloat32Register(), i.InputFloat32Register(0)); 801 __ vrintp(i.OutputFloat32Register(), i.InputFloat32Register(0));
802 break; 802 break;
803 case kArmVrintpF64: 803 case kArmVrintpF64:
804 __ vrintp(i.OutputFloat64Register(), i.InputFloat64Register(0)); 804 __ vrintp(i.OutputFloat64Register(), i.InputFloat64Register(0));
805 break; 805 break;
806 case kArmVrintzF32:
807 __ vrintz(i.OutputFloat32Register(), i.InputFloat32Register(0));
808 break;
806 case kArmVrintzF64: 809 case kArmVrintzF64:
807 __ vrintz(i.OutputFloat64Register(), i.InputFloat64Register(0)); 810 __ vrintz(i.OutputFloat64Register(), i.InputFloat64Register(0));
808 break; 811 break;
809 case kArmVrintaF64: 812 case kArmVrintaF64:
810 __ vrinta(i.OutputFloat64Register(), i.InputFloat64Register(0)); 813 __ vrinta(i.OutputFloat64Register(), i.InputFloat64Register(0));
811 break; 814 break;
812 case kArmVrintnF64: 815 case kArmVrintnF64:
813 __ vrintn(i.OutputFloat64Register(), i.InputFloat64Register(0)); 816 __ vrintn(i.OutputFloat64Register(), i.InputFloat64Register(0));
814 break; 817 break;
815 case kArmVcvtF32F64: { 818 case kArmVcvtF32F64: {
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
1369 padding_size -= v8::internal::Assembler::kInstrSize; 1372 padding_size -= v8::internal::Assembler::kInstrSize;
1370 } 1373 }
1371 } 1374 }
1372 } 1375 }
1373 1376
1374 #undef __ 1377 #undef __
1375 1378
1376 } // namespace compiler 1379 } // namespace compiler
1377 } // namespace internal 1380 } // namespace internal
1378 } // namespace v8 1381 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm/simulator-arm.cc ('k') | src/compiler/arm/instruction-codes-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698