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

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

Issue 2391393003: MIPS64: Fix Word32Compare turbofan operator implementation when comparing signed with unsigned oper… (Closed)
Patch Set: Add runtime checks to make sure optimized compare always works Created 4 years, 2 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 | « no previous file | src/compiler/mips64/instruction-codes-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 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 #include "src/compilation-info.h" 6 #include "src/compilation-info.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 1848 matching lines...) Expand 10 before | Expand all | Expand 10 after
1859 break; 1859 break;
1860 case kAtomicStoreWord8: 1860 case kAtomicStoreWord8:
1861 ASSEMBLE_ATOMIC_STORE_INTEGER(sb); 1861 ASSEMBLE_ATOMIC_STORE_INTEGER(sb);
1862 break; 1862 break;
1863 case kAtomicStoreWord16: 1863 case kAtomicStoreWord16:
1864 ASSEMBLE_ATOMIC_STORE_INTEGER(sh); 1864 ASSEMBLE_ATOMIC_STORE_INTEGER(sh);
1865 break; 1865 break;
1866 case kAtomicStoreWord32: 1866 case kAtomicStoreWord32:
1867 ASSEMBLE_ATOMIC_STORE_INTEGER(sw); 1867 ASSEMBLE_ATOMIC_STORE_INTEGER(sw);
1868 break; 1868 break;
1869 case kMips64AssertEqual:
1870 __ Assert(eq, static_cast<BailoutReason>(i.InputOperand(2).immediate()),
1871 i.InputRegister(0), Operand(i.InputRegister(1)));
1872 break;
1869 } 1873 }
1870 return kSuccess; 1874 return kSuccess;
1871 } // NOLINT(readability/fn_size) 1875 } // NOLINT(readability/fn_size)
1872 1876
1873 1877
1874 #define UNSUPPORTED_COND(opcode, condition) \ 1878 #define UNSUPPORTED_COND(opcode, condition) \
1875 OFStream out(stdout); \ 1879 OFStream out(stdout); \
1876 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ 1880 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \
1877 UNIMPLEMENTED(); 1881 UNIMPLEMENTED();
1878 1882
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
2525 padding_size -= v8::internal::Assembler::kInstrSize; 2529 padding_size -= v8::internal::Assembler::kInstrSize;
2526 } 2530 }
2527 } 2531 }
2528 } 2532 }
2529 2533
2530 #undef __ 2534 #undef __
2531 2535
2532 } // namespace compiler 2536 } // namespace compiler
2533 } // namespace internal 2537 } // namespace internal
2534 } // namespace v8 2538 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/mips64/instruction-codes-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698