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

Side by Side Diff: src/x64/lithium-x64.h

Issue 16973002: Make MathFloorOfDiv optimization trigger more often (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix typo Created 7 years, 6 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 | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-x64.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2572 matching lines...) Expand 10 before | Expand all | Expand 10 after
2583 pending_deoptimization_ast_id_(BailoutId::None()) { } 2583 pending_deoptimization_ast_id_(BailoutId::None()) { }
2584 2584
2585 // Build the sequence for the graph. 2585 // Build the sequence for the graph.
2586 LPlatformChunk* Build(); 2586 LPlatformChunk* Build();
2587 2587
2588 // Declare methods that deal with the individual node types. 2588 // Declare methods that deal with the individual node types.
2589 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2589 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
2590 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2590 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2591 #undef DECLARE_DO 2591 #undef DECLARE_DO
2592 2592
2593 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val);
2594 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); 2593 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val);
2595 2594
2596 LInstruction* DoMathFloor(HUnaryMathOperation* instr); 2595 LInstruction* DoMathFloor(HUnaryMathOperation* instr);
2597 LInstruction* DoMathRound(HUnaryMathOperation* instr); 2596 LInstruction* DoMathRound(HUnaryMathOperation* instr);
2598 LInstruction* DoMathAbs(HUnaryMathOperation* instr); 2597 LInstruction* DoMathAbs(HUnaryMathOperation* instr);
2599 LInstruction* DoMathLog(HUnaryMathOperation* instr); 2598 LInstruction* DoMathLog(HUnaryMathOperation* instr);
2600 LInstruction* DoMathSin(HUnaryMathOperation* instr); 2599 LInstruction* DoMathSin(HUnaryMathOperation* instr);
2601 LInstruction* DoMathCos(HUnaryMathOperation* instr); 2600 LInstruction* DoMathCos(HUnaryMathOperation* instr);
2602 LInstruction* DoMathTan(HUnaryMathOperation* instr); 2601 LInstruction* DoMathTan(HUnaryMathOperation* instr);
2603 LInstruction* DoMathExp(HUnaryMathOperation* instr); 2602 LInstruction* DoMathExp(HUnaryMathOperation* instr);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
2735 2734
2736 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2735 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2737 }; 2736 };
2738 2737
2739 #undef DECLARE_HYDROGEN_ACCESSOR 2738 #undef DECLARE_HYDROGEN_ACCESSOR
2740 #undef DECLARE_CONCRETE_INSTRUCTION 2739 #undef DECLARE_CONCRETE_INSTRUCTION
2741 2740
2742 } } // namespace v8::int 2741 } } // namespace v8::int
2743 2742
2744 #endif // V8_X64_LITHIUM_X64_H_ 2743 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698