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

Side by Side Diff: src/compiler/ppc/instruction-selector-ppc.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/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 1605 matching lines...) Expand 10 before | Expand all | Expand 10 after
1616 return; 1616 return;
1617 } 1617 }
1618 Emit(kPPC_DoubleInsertHighWord32, g.DefineSameAsFirst(node), 1618 Emit(kPPC_DoubleInsertHighWord32, g.DefineSameAsFirst(node),
1619 g.UseRegister(left), g.UseRegister(right)); 1619 g.UseRegister(left), g.UseRegister(right));
1620 } 1620 }
1621 1621
1622 1622
1623 // static 1623 // static
1624 MachineOperatorBuilder::Flags 1624 MachineOperatorBuilder::Flags
1625 InstructionSelector::SupportedMachineOperatorFlags() { 1625 InstructionSelector::SupportedMachineOperatorFlags() {
1626 return MachineOperatorBuilder::kFloat32Abs | 1626 return MachineOperatorBuilder::kFloat32Max |
1627 MachineOperatorBuilder::kFloat32Max |
1628 MachineOperatorBuilder::kFloat32Min | 1627 MachineOperatorBuilder::kFloat32Min |
1629 MachineOperatorBuilder::kFloat64Abs |
1630 MachineOperatorBuilder::kFloat64Max | 1628 MachineOperatorBuilder::kFloat64Max |
1631 MachineOperatorBuilder::kFloat64Min | 1629 MachineOperatorBuilder::kFloat64Min |
1632 MachineOperatorBuilder::kFloat64RoundDown | 1630 MachineOperatorBuilder::kFloat64RoundDown |
1633 MachineOperatorBuilder::kFloat64RoundTruncate | 1631 MachineOperatorBuilder::kFloat64RoundTruncate |
1634 MachineOperatorBuilder::kFloat64RoundTiesAway; 1632 MachineOperatorBuilder::kFloat64RoundTiesAway;
1635 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. 1633 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f.
1636 } 1634 }
1637 1635
1638 } // namespace compiler 1636 } // namespace compiler
1639 } // namespace internal 1637 } // namespace internal
1640 } // namespace v8 1638 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips64/instruction-selector-mips64.cc ('k') | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698