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

Side by Side Diff: src/compiler/instruction-scheduler.cc

Issue 2065503002: [builtins] Introduce proper Float64Atan and Float64Atan2 operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [WIP] Fix GCC/Win32. Created 4 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
« no previous file with comments | « src/compiler/instruction-codes.h ('k') | src/compiler/instruction-selector.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/instruction-scheduler.h" 5 #include "src/compiler/instruction-scheduler.h"
6 6
7 #include "src/base/adapters.h" 7 #include "src/base/adapters.h"
8 #include "src/base/utils/random-number-generator.h" 8 #include "src/base/utils/random-number-generator.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 217
218 int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const { 218 int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const {
219 switch (instr->arch_opcode()) { 219 switch (instr->arch_opcode()) {
220 case kArchNop: 220 case kArchNop:
221 case kArchFramePointer: 221 case kArchFramePointer:
222 case kArchParentFramePointer: 222 case kArchParentFramePointer:
223 case kArchTruncateDoubleToI: 223 case kArchTruncateDoubleToI:
224 case kArchStackSlot: 224 case kArchStackSlot:
225 case kArchDebugBreak: 225 case kArchDebugBreak:
226 case kArchComment: 226 case kArchComment:
227 case kIeee754Float64Atan:
228 case kIeee754Float64Atan2:
227 case kIeee754Float64Log: 229 case kIeee754Float64Log:
228 case kIeee754Float64Log1p: 230 case kIeee754Float64Log1p:
229 return kNoOpcodeFlags; 231 return kNoOpcodeFlags;
230 232
231 case kArchStackPointer: 233 case kArchStackPointer:
232 // ArchStackPointer instruction loads the current stack pointer value and 234 // ArchStackPointer instruction loads the current stack pointer value and
233 // must not be reordered with instruction with side effects. 235 // must not be reordered with instruction with side effects.
234 return kIsLoadOperation; 236 return kIsLoadOperation;
235 237
236 case kArchPrepareCallCFunction: 238 case kArchPrepareCallCFunction:
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 } 343 }
342 } 344 }
343 345
344 node->set_total_latency(max_latency + node->latency()); 346 node->set_total_latency(max_latency + node->latency());
345 } 347 }
346 } 348 }
347 349
348 } // namespace compiler 350 } // namespace compiler
349 } // namespace internal 351 } // namespace internal
350 } // namespace v8 352 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-codes.h ('k') | src/compiler/instruction-selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698