| 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 } |
| 1966 | 1969 |
| 1967 // static | 1970 // static |
| 1968 MachineOperatorBuilder::Flags | 1971 MachineOperatorBuilder::Flags |
| 1969 InstructionSelector::SupportedMachineOperatorFlags() { | 1972 InstructionSelector::SupportedMachineOperatorFlags() { |
| 1970 return MachineOperatorBuilder::kWord32Ctz | | 1973 return MachineOperatorBuilder::kWord32Ctz | |
| 1971 MachineOperatorBuilder::kWord64Ctz | | 1974 MachineOperatorBuilder::kWord64Ctz | |
| 1972 MachineOperatorBuilder::kWord32Popcnt | | 1975 MachineOperatorBuilder::kWord32Popcnt | |
| 1973 MachineOperatorBuilder::kWord64Popcnt | | 1976 MachineOperatorBuilder::kWord64Popcnt | |
| 1974 MachineOperatorBuilder::kWord32ShiftIsSafe | | 1977 MachineOperatorBuilder::kWord32ShiftIsSafe | |
| 1975 MachineOperatorBuilder::kInt32DivIsSafe | | 1978 MachineOperatorBuilder::kInt32DivIsSafe | |
| 1976 MachineOperatorBuilder::kUint32DivIsSafe | | 1979 MachineOperatorBuilder::kUint32DivIsSafe | |
| 1977 MachineOperatorBuilder::kFloat64Min | | 1980 MachineOperatorBuilder::kFloat64Min | |
| 1978 MachineOperatorBuilder::kFloat64Max | | 1981 MachineOperatorBuilder::kFloat64Max | |
| 1979 MachineOperatorBuilder::kFloat32Min | | 1982 MachineOperatorBuilder::kFloat32Min | |
| 1980 MachineOperatorBuilder::kFloat32Max | | 1983 MachineOperatorBuilder::kFloat32Max | |
| 1981 MachineOperatorBuilder::kFloat64RoundDown | | 1984 MachineOperatorBuilder::kFloat64RoundDown | |
| 1982 MachineOperatorBuilder::kFloat32RoundDown | | 1985 MachineOperatorBuilder::kFloat32RoundDown | |
| 1983 MachineOperatorBuilder::kFloat64RoundUp | | 1986 MachineOperatorBuilder::kFloat64RoundUp | |
| 1984 MachineOperatorBuilder::kFloat32RoundUp | | 1987 MachineOperatorBuilder::kFloat32RoundUp | |
| 1985 MachineOperatorBuilder::kFloat64RoundTruncate | | 1988 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1986 MachineOperatorBuilder::kFloat32RoundTruncate | | 1989 MachineOperatorBuilder::kFloat32RoundTruncate | |
| 1987 MachineOperatorBuilder::kFloat64RoundTiesEven | | 1990 MachineOperatorBuilder::kFloat64RoundTiesEven | |
| 1988 MachineOperatorBuilder::kFloat32RoundTiesEven; | 1991 MachineOperatorBuilder::kFloat32RoundTiesEven; |
| 1989 } | 1992 } |
| 1990 | 1993 |
| 1991 } // namespace compiler | 1994 } // namespace compiler |
| 1992 } // namespace internal | 1995 } // namespace internal |
| 1993 } // namespace v8 | 1996 } // namespace v8 |
| OLD | NEW |