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

Side by Side Diff: src/a64/lithium-a64.cc

Issue 194863002: Disable special handling of flooring division by constant until it is fixed for real. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Simplified test. Created 6 years, 9 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 | « no previous file | src/arm/lithium-arm.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after
1781 LOperand* remainder = TempRegister(); 1781 LOperand* remainder = TempRegister();
1782 LInstruction* result = 1782 LInstruction* result =
1783 DefineAsRegister(new(zone()) LFlooringDivI(dividend, divisor, remainder)); 1783 DefineAsRegister(new(zone()) LFlooringDivI(dividend, divisor, remainder));
1784 return AssignEnvironment(result); 1784 return AssignEnvironment(result);
1785 } 1785 }
1786 1786
1787 1787
1788 LInstruction* LChunkBuilder::DoMathFloorOfDiv(HMathFloorOfDiv* instr) { 1788 LInstruction* LChunkBuilder::DoMathFloorOfDiv(HMathFloorOfDiv* instr) {
1789 if (instr->RightIsPowerOf2()) { 1789 if (instr->RightIsPowerOf2()) {
1790 return DoFlooringDivByPowerOf2I(instr); 1790 return DoFlooringDivByPowerOf2I(instr);
1791 } else if (instr->right()->IsConstant()) { 1791 } else if (false && instr->right()->IsConstant()) {
1792 return DoFlooringDivByConstI(instr); 1792 return DoFlooringDivByConstI(instr); // TODO(svenpanne) Fix and re-enable.
1793 } else { 1793 } else {
1794 return DoFlooringDivI(instr); 1794 return DoFlooringDivI(instr);
1795 } 1795 }
1796 } 1796 }
1797 1797
1798 1798
1799 LInstruction* LChunkBuilder::DoMathMinMax(HMathMinMax* instr) { 1799 LInstruction* LChunkBuilder::DoMathMinMax(HMathMinMax* instr) {
1800 LOperand* left = NULL; 1800 LOperand* left = NULL;
1801 LOperand* right = NULL; 1801 LOperand* right = NULL;
1802 if (instr->representation().IsSmiOrInteger32()) { 1802 if (instr->representation().IsSmiOrInteger32()) {
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
2564 2564
2565 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 2565 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
2566 LOperand* receiver = UseRegister(instr->receiver()); 2566 LOperand* receiver = UseRegister(instr->receiver());
2567 LOperand* function = UseRegister(instr->function()); 2567 LOperand* function = UseRegister(instr->function());
2568 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); 2568 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function);
2569 return AssignEnvironment(DefineAsRegister(result)); 2569 return AssignEnvironment(DefineAsRegister(result));
2570 } 2570 }
2571 2571
2572 2572
2573 } } // namespace v8::internal 2573 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698