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

Side by Side Diff: src/mips/simulator-mips.cc

Issue 1899783003: MIPS: [Atomics] Remove Atomics code stubs; use TF ops. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/mips/disasm-mips.cc ('k') | src/mips64/assembler-mips64.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 <limits.h> 5 #include <limits.h>
6 #include <stdarg.h> 6 #include <stdarg.h>
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <cmath> 8 #include <cmath>
9 9
10 #if V8_TARGET_ARCH_MIPS 10 #if V8_TARGET_ARCH_MIPS
(...skipping 3713 matching lines...) Expand 10 before | Expand all | Expand 10 after
3724 break; 3724 break;
3725 case TLTU: 3725 case TLTU:
3726 do_interrupt = rs_u() < rt_u(); 3726 do_interrupt = rs_u() < rt_u();
3727 break; 3727 break;
3728 case TEQ: 3728 case TEQ:
3729 do_interrupt = rs() == rt(); 3729 do_interrupt = rs() == rt();
3730 break; 3730 break;
3731 case TNE: 3731 case TNE:
3732 do_interrupt = rs() != rt(); 3732 do_interrupt = rs() != rt();
3733 break; 3733 break;
3734 case SYNC:
3735 // TODO(palfia): Ignore sync instruction for now.
3736 break;
3734 // Conditional moves. 3737 // Conditional moves.
3735 case MOVN: 3738 case MOVN:
3736 if (rt()) { 3739 if (rt()) {
3737 set_register(rd_reg(), rs()); 3740 set_register(rd_reg(), rs());
3738 TraceRegWr(rs()); 3741 TraceRegWr(rs());
3739 } 3742 }
3740 break; 3743 break;
3741 case MOVCI: { 3744 case MOVCI: {
3742 uint32_t cc = get_instr()->FBccValue(); 3745 uint32_t cc = get_instr()->FBccValue();
3743 uint32_t fcsr_cc = get_fcsr_condition_bit(cc); 3746 uint32_t fcsr_cc = get_fcsr_condition_bit(cc);
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
4605 4608
4606 4609
4607 #undef UNSUPPORTED 4610 #undef UNSUPPORTED
4608 4611
4609 } // namespace internal 4612 } // namespace internal
4610 } // namespace v8 4613 } // namespace v8
4611 4614
4612 #endif // USE_SIMULATOR 4615 #endif // USE_SIMULATOR
4613 4616
4614 #endif // V8_TARGET_ARCH_MIPS 4617 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/disasm-mips.cc ('k') | src/mips64/assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698