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

Side by Side Diff: src/compiler/mips64/instruction-selector-mips64.cc

Issue 1132033002: [turbofan] Float32Abs and Float64Abs are supported by all backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/base/bits.h" 6 #include "src/base/bits.h"
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 10
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 Node* left = node->InputAt(0); 1264 Node* left = node->InputAt(0);
1265 Node* right = node->InputAt(1); 1265 Node* right = node->InputAt(1);
1266 Emit(kMips64Float64InsertHighWord32, g.DefineSameAsFirst(node), 1266 Emit(kMips64Float64InsertHighWord32, g.DefineSameAsFirst(node),
1267 g.UseRegister(left), g.UseRegister(right)); 1267 g.UseRegister(left), g.UseRegister(right));
1268 } 1268 }
1269 1269
1270 1270
1271 // static 1271 // static
1272 MachineOperatorBuilder::Flags 1272 MachineOperatorBuilder::Flags
1273 InstructionSelector::SupportedMachineOperatorFlags() { 1273 InstructionSelector::SupportedMachineOperatorFlags() {
1274 return MachineOperatorBuilder::kFloat32Abs | 1274 return MachineOperatorBuilder::kFloat64RoundDown |
1275 MachineOperatorBuilder::kFloat64Abs |
1276 MachineOperatorBuilder::kFloat64RoundDown |
1277 MachineOperatorBuilder::kFloat64RoundTruncate; 1275 MachineOperatorBuilder::kFloat64RoundTruncate;
1278 } 1276 }
1279 1277
1280 } // namespace compiler 1278 } // namespace compiler
1281 } // namespace internal 1279 } // namespace internal
1282 } // namespace v8 1280 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/compiler/ppc/instruction-selector-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698