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

Side by Side Diff: src/mips/macro-assembler-mips.h

Issue 701543002: MIPS: [turbofan] Also optimize unsigned division by constant. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/mips/macro-assembler-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 586
587 DEFINE_INSTRUCTION(Addu); 587 DEFINE_INSTRUCTION(Addu);
588 DEFINE_INSTRUCTION(Subu); 588 DEFINE_INSTRUCTION(Subu);
589 DEFINE_INSTRUCTION(Mul); 589 DEFINE_INSTRUCTION(Mul);
590 DEFINE_INSTRUCTION(Div); 590 DEFINE_INSTRUCTION(Div);
591 DEFINE_INSTRUCTION(Divu); 591 DEFINE_INSTRUCTION(Divu);
592 DEFINE_INSTRUCTION(Mod); 592 DEFINE_INSTRUCTION(Mod);
593 DEFINE_INSTRUCTION(Modu); 593 DEFINE_INSTRUCTION(Modu);
594 DEFINE_INSTRUCTION(Mulh); 594 DEFINE_INSTRUCTION(Mulh);
595 DEFINE_INSTRUCTION2(Mult); 595 DEFINE_INSTRUCTION2(Mult);
596 DEFINE_INSTRUCTION(Mulhu);
596 DEFINE_INSTRUCTION2(Multu); 597 DEFINE_INSTRUCTION2(Multu);
597 DEFINE_INSTRUCTION2(Div); 598 DEFINE_INSTRUCTION2(Div);
598 DEFINE_INSTRUCTION2(Divu); 599 DEFINE_INSTRUCTION2(Divu);
599 600
600 DEFINE_INSTRUCTION3(Div); 601 DEFINE_INSTRUCTION3(Div);
601 DEFINE_INSTRUCTION3(Mul); 602 DEFINE_INSTRUCTION3(Mul);
602 603
603 DEFINE_INSTRUCTION(And); 604 DEFINE_INSTRUCTION(And);
604 DEFINE_INSTRUCTION(Or); 605 DEFINE_INSTRUCTION(Or);
605 DEFINE_INSTRUCTION(Xor); 606 DEFINE_INSTRUCTION(Xor);
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1721 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1721 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1722 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1722 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1723 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1723 #else 1724 #else
1724 #define ACCESS_MASM(masm) masm-> 1725 #define ACCESS_MASM(masm) masm->
1725 #endif 1726 #endif
1726 1727
1727 } } // namespace v8::internal 1728 } } // namespace v8::internal
1728 1729
1729 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1730 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698