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

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

Issue 2799863002: [Atomics] use TFJ builtins for atomic add, sub, and, or, and xor (Closed)
Patch Set: [Atomics] use TFJ builtins for atomic add, sub, and, or, and xor Created 3 years, 8 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 1889 matching lines...) Expand 10 before | Expand all | Expand 10 after
1900 addr_reg, g.TempImmediate(0), g.UseRegisterOrImmediateZero(value)); 1900 addr_reg, g.TempImmediate(0), g.UseRegisterOrImmediateZero(value));
1901 } 1901 }
1902 } 1902 }
1903 1903
1904 void InstructionSelector::VisitAtomicExchange(Node* node) { UNIMPLEMENTED(); } 1904 void InstructionSelector::VisitAtomicExchange(Node* node) { UNIMPLEMENTED(); }
1905 1905
1906 void InstructionSelector::VisitAtomicCompareExchange(Node* node) { 1906 void InstructionSelector::VisitAtomicCompareExchange(Node* node) {
1907 UNIMPLEMENTED(); 1907 UNIMPLEMENTED();
1908 } 1908 }
1909 1909
1910 void InstructionSelector::VisitAtomicAdd(Node* node) { UNIMPLEMENTED(); }
1911
1912 void InstructionSelector::VisitAtomicSub(Node* node) { UNIMPLEMENTED(); }
1913
1914 void InstructionSelector::VisitAtomicAnd(Node* node) { UNIMPLEMENTED(); }
1915
1916 void InstructionSelector::VisitAtomicOr(Node* node) { UNIMPLEMENTED(); }
1917
1918 void InstructionSelector::VisitAtomicXor(Node* node) { UNIMPLEMENTED(); }
1919
1910 void InstructionSelector::VisitInt32AbsWithOverflow(Node* node) { 1920 void InstructionSelector::VisitInt32AbsWithOverflow(Node* node) {
1911 UNREACHABLE(); 1921 UNREACHABLE();
1912 } 1922 }
1913 1923
1914 void InstructionSelector::VisitInt64AbsWithOverflow(Node* node) { 1924 void InstructionSelector::VisitInt64AbsWithOverflow(Node* node) {
1915 UNREACHABLE(); 1925 UNREACHABLE();
1916 } 1926 }
1917 1927
1918 void InstructionSelector::VisitI32x4Splat(Node* node) { 1928 void InstructionSelector::VisitI32x4Splat(Node* node) {
1919 VisitRR(this, kMipsI32x4Splat, node); 1929 VisitRR(this, kMipsI32x4Splat, node);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
2010 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || 2020 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) ||
2011 IsMipsArchVariant(kMips32r2)); 2021 IsMipsArchVariant(kMips32r2));
2012 return MachineOperatorBuilder::AlignmentRequirements:: 2022 return MachineOperatorBuilder::AlignmentRequirements::
2013 NoUnalignedAccessSupport(); 2023 NoUnalignedAccessSupport();
2014 } 2024 }
2015 } 2025 }
2016 2026
2017 } // namespace compiler 2027 } // namespace compiler
2018 } // namespace internal 2028 } // namespace internal
2019 } // namespace v8 2029 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698