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

Side by Side Diff: src/compiler/machine-operator.cc

Issue 1438013003: [turbofan] Implemented the RoundUint64ToFloat32 TurboFan operator for x64, arm64, (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reformated the test Created 5 years, 1 month 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/compiler/machine-operator.h ('k') | src/compiler/mips64/code-generator-mips64.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 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/machine-operator.h" 5 #include "src/compiler/machine-operator.h"
6 6
7 #include "src/base/lazy-instance.h" 7 #include "src/base/lazy-instance.h"
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 V(Uint64Div, Operator::kNoProperties, 2, 1, 1) \ 131 V(Uint64Div, Operator::kNoProperties, 2, 1, 1) \
132 V(Uint64Mod, Operator::kNoProperties, 2, 1, 1) \ 132 V(Uint64Mod, Operator::kNoProperties, 2, 1, 1) \
133 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \ 133 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \
134 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ 134 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \
135 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 135 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \
136 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \ 136 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \
137 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ 137 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \
138 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 138 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \
139 V(RoundInt64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ 139 V(RoundInt64ToFloat32, Operator::kNoProperties, 1, 0, 1) \
140 V(RoundInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 140 V(RoundInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \
141 V(RoundUint64ToFloat32, Operator::kNoProperties, 1, 0, 1) \
141 V(RoundUint64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 142 V(RoundUint64ToFloat64, Operator::kNoProperties, 1, 0, 1) \
142 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \ 143 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \
143 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 144 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \
144 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \ 145 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \
145 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ 146 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \
146 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 0, 1) \ 147 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 0, 1) \
147 V(BitcastFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ 148 V(BitcastFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \
148 V(BitcastFloat64ToInt64, Operator::kNoProperties, 1, 0, 1) \ 149 V(BitcastFloat64ToInt64, Operator::kNoProperties, 1, 0, 1) \
149 V(BitcastInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ 150 V(BitcastInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \
150 V(BitcastInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ 151 V(BitcastInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 default: 405 default:
405 break; 406 break;
406 } 407 }
407 UNREACHABLE(); 408 UNREACHABLE();
408 return nullptr; 409 return nullptr;
409 } 410 }
410 411
411 } // namespace compiler 412 } // namespace compiler
412 } // namespace internal 413 } // namespace internal
413 } // namespace v8 414 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.h ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698