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

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

Issue 2649703002: [Atomics] Make Atomics.compareExchange a builtin using TF (Closed)
Patch Set: rebase and move cmpxchg to builtins-sharedarraybuffer-gen.cc Created 3 years, 9 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/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/compilation-info.h" 7 #include "src/compilation-info.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 1965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1976 ASSEMBLE_ATOMIC_STORE_INTEGER(sth, sthx); 1976 ASSEMBLE_ATOMIC_STORE_INTEGER(sth, sthx);
1977 break; 1977 break;
1978 case kAtomicStoreWord32: 1978 case kAtomicStoreWord32:
1979 ASSEMBLE_ATOMIC_STORE_INTEGER(stw, stwx); 1979 ASSEMBLE_ATOMIC_STORE_INTEGER(stw, stwx);
1980 break; 1980 break;
1981 case kAtomicExchangeInt8: 1981 case kAtomicExchangeInt8:
1982 case kAtomicExchangeUint8: 1982 case kAtomicExchangeUint8:
1983 case kAtomicExchangeInt16: 1983 case kAtomicExchangeInt16:
1984 case kAtomicExchangeUint16: 1984 case kAtomicExchangeUint16:
1985 case kAtomicExchangeWord32: 1985 case kAtomicExchangeWord32:
1986 case kAtomicCompareExchangeInt8:
1987 case kAtomicCompareExchangeUint8:
1988 case kAtomicCompareExchangeInt16:
1989 case kAtomicCompareExchangeUint16:
1990 case kAtomicCompareExchangeWord32:
1986 UNREACHABLE(); 1991 UNREACHABLE();
1987 break; 1992 break;
1988 default: 1993 default:
1989 UNREACHABLE(); 1994 UNREACHABLE();
1990 break; 1995 break;
1991 } 1996 }
1992 return kSuccess; 1997 return kSuccess;
1993 } // NOLINT(readability/fn_size) 1998 } // NOLINT(readability/fn_size)
1994 1999
1995 2000
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
2588 padding_size -= v8::internal::Assembler::kInstrSize; 2593 padding_size -= v8::internal::Assembler::kInstrSize;
2589 } 2594 }
2590 } 2595 }
2591 } 2596 }
2592 2597
2593 #undef __ 2598 #undef __
2594 2599
2595 } // namespace compiler 2600 } // namespace compiler
2596 } // namespace internal 2601 } // namespace internal
2597 } // namespace v8 2602 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698