OLD | NEW |
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 1945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1956 | 1956 |
1957 | 1957 |
1958 void InstructionSelector::VisitFloat64InsertHighWord32(Node* node) { | 1958 void InstructionSelector::VisitFloat64InsertHighWord32(Node* node) { |
1959 Mips64OperandGenerator g(this); | 1959 Mips64OperandGenerator g(this); |
1960 Node* left = node->InputAt(0); | 1960 Node* left = node->InputAt(0); |
1961 Node* right = node->InputAt(1); | 1961 Node* right = node->InputAt(1); |
1962 Emit(kMips64Float64InsertHighWord32, g.DefineSameAsFirst(node), | 1962 Emit(kMips64Float64InsertHighWord32, g.DefineSameAsFirst(node), |
1963 g.UseRegister(left), g.UseRegister(right)); | 1963 g.UseRegister(left), g.UseRegister(right)); |
1964 } | 1964 } |
1965 | 1965 |
1966 void InstructionSelector::VisitAtomicLoad(Node* node) { | |
1967 // TODO(binji) | |
1968 } | |
1969 | 1966 |
1970 // static | 1967 // static |
1971 MachineOperatorBuilder::Flags | 1968 MachineOperatorBuilder::Flags |
1972 InstructionSelector::SupportedMachineOperatorFlags() { | 1969 InstructionSelector::SupportedMachineOperatorFlags() { |
1973 return MachineOperatorBuilder::kWord32Ctz | | 1970 return MachineOperatorBuilder::kWord32Ctz | |
1974 MachineOperatorBuilder::kWord64Ctz | | 1971 MachineOperatorBuilder::kWord64Ctz | |
1975 MachineOperatorBuilder::kWord32Popcnt | | 1972 MachineOperatorBuilder::kWord32Popcnt | |
1976 MachineOperatorBuilder::kWord64Popcnt | | 1973 MachineOperatorBuilder::kWord64Popcnt | |
1977 MachineOperatorBuilder::kWord32ShiftIsSafe | | 1974 MachineOperatorBuilder::kWord32ShiftIsSafe | |
1978 MachineOperatorBuilder::kInt32DivIsSafe | | 1975 MachineOperatorBuilder::kInt32DivIsSafe | |
1979 MachineOperatorBuilder::kUint32DivIsSafe | | 1976 MachineOperatorBuilder::kUint32DivIsSafe | |
1980 MachineOperatorBuilder::kFloat64Min | | 1977 MachineOperatorBuilder::kFloat64Min | |
1981 MachineOperatorBuilder::kFloat64Max | | 1978 MachineOperatorBuilder::kFloat64Max | |
1982 MachineOperatorBuilder::kFloat32Min | | 1979 MachineOperatorBuilder::kFloat32Min | |
1983 MachineOperatorBuilder::kFloat32Max | | 1980 MachineOperatorBuilder::kFloat32Max | |
1984 MachineOperatorBuilder::kFloat64RoundDown | | 1981 MachineOperatorBuilder::kFloat64RoundDown | |
1985 MachineOperatorBuilder::kFloat32RoundDown | | 1982 MachineOperatorBuilder::kFloat32RoundDown | |
1986 MachineOperatorBuilder::kFloat64RoundUp | | 1983 MachineOperatorBuilder::kFloat64RoundUp | |
1987 MachineOperatorBuilder::kFloat32RoundUp | | 1984 MachineOperatorBuilder::kFloat32RoundUp | |
1988 MachineOperatorBuilder::kFloat64RoundTruncate | | 1985 MachineOperatorBuilder::kFloat64RoundTruncate | |
1989 MachineOperatorBuilder::kFloat32RoundTruncate | | 1986 MachineOperatorBuilder::kFloat32RoundTruncate | |
1990 MachineOperatorBuilder::kFloat64RoundTiesEven | | 1987 MachineOperatorBuilder::kFloat64RoundTiesEven | |
1991 MachineOperatorBuilder::kFloat32RoundTiesEven; | 1988 MachineOperatorBuilder::kFloat32RoundTiesEven; |
1992 } | 1989 } |
1993 | 1990 |
1994 } // namespace compiler | 1991 } // namespace compiler |
1995 } // namespace internal | 1992 } // namespace internal |
1996 } // namespace v8 | 1993 } // namespace v8 |
OLD | NEW |