| 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 1873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1884 addr_reg, g.TempImmediate(0), g.UseRegisterOrImmediateZero(value)); | 1884 addr_reg, g.TempImmediate(0), g.UseRegisterOrImmediateZero(value)); |
| 1885 } | 1885 } |
| 1886 } | 1886 } |
| 1887 | 1887 |
| 1888 void InstructionSelector::VisitAtomicExchange(Node* node) { UNIMPLEMENTED(); } | 1888 void InstructionSelector::VisitAtomicExchange(Node* node) { UNIMPLEMENTED(); } |
| 1889 | 1889 |
| 1890 void InstructionSelector::VisitAtomicCompareExchange(Node* node) { | 1890 void InstructionSelector::VisitAtomicCompareExchange(Node* node) { |
| 1891 UNIMPLEMENTED(); | 1891 UNIMPLEMENTED(); |
| 1892 } | 1892 } |
| 1893 | 1893 |
| 1894 void InstructionSelector::VisitInt32AbsWithOverflow(Node* node) { |
| 1895 UNREACHABLE(); |
| 1896 } |
| 1897 |
| 1898 void InstructionSelector::VisitInt64AbsWithOverflow(Node* node) { |
| 1899 UNREACHABLE(); |
| 1900 } |
| 1901 |
| 1894 // static | 1902 // static |
| 1895 MachineOperatorBuilder::Flags | 1903 MachineOperatorBuilder::Flags |
| 1896 InstructionSelector::SupportedMachineOperatorFlags() { | 1904 InstructionSelector::SupportedMachineOperatorFlags() { |
| 1897 MachineOperatorBuilder::Flags flags = MachineOperatorBuilder::kNoFlags; | 1905 MachineOperatorBuilder::Flags flags = MachineOperatorBuilder::kNoFlags; |
| 1898 if ((IsMipsArchVariant(kMips32r2) || IsMipsArchVariant(kMips32r6)) && | 1906 if ((IsMipsArchVariant(kMips32r2) || IsMipsArchVariant(kMips32r6)) && |
| 1899 IsFp64Mode()) { | 1907 IsFp64Mode()) { |
| 1900 flags |= MachineOperatorBuilder::kFloat64RoundDown | | 1908 flags |= MachineOperatorBuilder::kFloat64RoundDown | |
| 1901 MachineOperatorBuilder::kFloat64RoundUp | | 1909 MachineOperatorBuilder::kFloat64RoundUp | |
| 1902 MachineOperatorBuilder::kFloat64RoundTruncate | | 1910 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1903 MachineOperatorBuilder::kFloat64RoundTiesEven; | 1911 MachineOperatorBuilder::kFloat64RoundTiesEven; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1926 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || | 1934 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || |
| 1927 IsMipsArchVariant(kMips32r2)); | 1935 IsMipsArchVariant(kMips32r2)); |
| 1928 return MachineOperatorBuilder::AlignmentRequirements:: | 1936 return MachineOperatorBuilder::AlignmentRequirements:: |
| 1929 NoUnalignedAccessSupport(); | 1937 NoUnalignedAccessSupport(); |
| 1930 } | 1938 } |
| 1931 } | 1939 } |
| 1932 | 1940 |
| 1933 } // namespace compiler | 1941 } // namespace compiler |
| 1934 } // namespace internal | 1942 } // namespace internal |
| 1935 } // namespace v8 | 1943 } // namespace v8 |
| OLD | NEW |