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

Side by Side Diff: src/compiler/mips/code-generator-mips.cc

Issue 1938213002: [Atomics] Make Atomics.store a builtin using TF (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: merge again Created 4 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
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/mips/instruction-selector-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/ast/scopes.h" 5 #include "src/ast/scopes.h"
6 #include "src/compiler/code-generator.h" 6 #include "src/compiler/code-generator.h"
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/osr.h" 10 #include "src/compiler/osr.h"
(...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 break; 1339 break;
1340 case kAtomicLoadInt16: 1340 case kAtomicLoadInt16:
1341 ASSEMBLE_ATOMIC_LOAD_INTEGER(lh); 1341 ASSEMBLE_ATOMIC_LOAD_INTEGER(lh);
1342 break; 1342 break;
1343 case kAtomicLoadUint16: 1343 case kAtomicLoadUint16:
1344 ASSEMBLE_ATOMIC_LOAD_INTEGER(lhu); 1344 ASSEMBLE_ATOMIC_LOAD_INTEGER(lhu);
1345 break; 1345 break;
1346 case kAtomicLoadWord32: 1346 case kAtomicLoadWord32:
1347 ASSEMBLE_ATOMIC_LOAD_INTEGER(lw); 1347 ASSEMBLE_ATOMIC_LOAD_INTEGER(lw);
1348 break; 1348 break;
1349 case kAtomicStoreWord8:
1350 case kAtomicStoreWord16:
1351 case kAtomicStoreWord32:
1352 // TODO(binji): implement
1353 __ nop();
1354 break;
1349 } 1355 }
1350 return kSuccess; 1356 return kSuccess;
1351 } // NOLINT(readability/fn_size) 1357 } // NOLINT(readability/fn_size)
1352 1358
1353 1359
1354 #define UNSUPPORTED_COND(opcode, condition) \ 1360 #define UNSUPPORTED_COND(opcode, condition) \
1355 OFStream out(stdout); \ 1361 OFStream out(stdout); \
1356 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ 1362 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \
1357 UNIMPLEMENTED(); 1363 UNIMPLEMENTED();
1358 1364
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
1967 padding_size -= v8::internal::Assembler::kInstrSize; 1973 padding_size -= v8::internal::Assembler::kInstrSize;
1968 } 1974 }
1969 } 1975 }
1970 } 1976 }
1971 1977
1972 #undef __ 1978 #undef __
1973 1979
1974 } // namespace compiler 1980 } // namespace compiler
1975 } // namespace internal 1981 } // namespace internal
1976 } // namespace v8 1982 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/mips/instruction-selector-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698