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

Side by Side Diff: runtime/vm/simulator_arm.cc

Issue 1065773003: Fix mint shifting by zero on MIPS (issue 23117). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/simulator_arm64.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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include <setjmp.h> // NOLINT 5 #include <setjmp.h> // NOLINT
6 #include <stdlib.h> 6 #include <stdlib.h>
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #if defined(TARGET_ARCH_ARM) 9 #if defined(TARGET_ARCH_ARM)
10 10
(...skipping 3568 matching lines...) Expand 10 before | Expand all | Expand 10 after
3579 UnimplementedInstruction(instr); 3579 UnimplementedInstruction(instr);
3580 } 3580 }
3581 } 3581 }
3582 } 3582 }
3583 3583
3584 3584
3585 // Executes the current instruction. 3585 // Executes the current instruction.
3586 void Simulator::InstructionDecode(Instr* instr) { 3586 void Simulator::InstructionDecode(Instr* instr) {
3587 pc_modified_ = false; 3587 pc_modified_ = false;
3588 if (IsTracingExecution()) { 3588 if (IsTracingExecution()) {
3589 OS::Print("%"Pu64, icount_); 3589 OS::Print("%" Pu64 " ", icount_);
3590 const uword start = reinterpret_cast<uword>(instr); 3590 const uword start = reinterpret_cast<uword>(instr);
3591 const uword end = start + Instr::kInstrSize; 3591 const uword end = start + Instr::kInstrSize;
3592 Disassembler::Disassemble(start, end); 3592 Disassembler::Disassemble(start, end);
3593 } 3593 }
3594 if (instr->ConditionField() == kSpecialCondition) { 3594 if (instr->ConditionField() == kSpecialCondition) {
3595 if (instr->InstructionBits() == static_cast<int32_t>(0xf57ff01f)) { 3595 if (instr->InstructionBits() == static_cast<int32_t>(0xf57ff01f)) {
3596 // Format(instr, "clrex"); 3596 // Format(instr, "clrex");
3597 ClearExclusive(); 3597 ClearExclusive();
3598 } else { 3598 } else {
3599 if (instr->IsSIMDDataProcessing()) { 3599 if (instr->IsSIMDDataProcessing()) {
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
3873 set_register(kExceptionObjectReg, bit_cast<int32_t>(raw_exception)); 3873 set_register(kExceptionObjectReg, bit_cast<int32_t>(raw_exception));
3874 set_register(kStackTraceObjectReg, bit_cast<int32_t>(raw_stacktrace)); 3874 set_register(kStackTraceObjectReg, bit_cast<int32_t>(raw_stacktrace));
3875 buf->Longjmp(); 3875 buf->Longjmp();
3876 } 3876 }
3877 3877
3878 } // namespace dart 3878 } // namespace dart
3879 3879
3880 #endif // !defined(HOST_ARCH_ARM) 3880 #endif // !defined(HOST_ARCH_ARM)
3881 3881
3882 #endif // defined TARGET_ARCH_ARM 3882 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698