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

Side by Side Diff: runtime/vm/assembler_x64.h

Issue 10542167: Inline Math.sqrt in new compilers. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « no previous file | runtime/vm/assembler_x64.cc » ('j') | runtime/vm/flow_graph_compiler_ia32.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_ASSEMBLER_X64_H_ 5 #ifndef VM_ASSEMBLER_X64_H_
6 #define VM_ASSEMBLER_X64_H_ 6 #define VM_ASSEMBLER_X64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_x64.h directly; use assembler.h instead. 9 #error Do not include assembler_x64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 void decq(const Address& address); 457 void decq(const Address& address);
458 458
459 void negl(Register reg); 459 void negl(Register reg);
460 void negq(Register reg); 460 void negq(Register reg);
461 void notq(Register reg); 461 void notq(Register reg);
462 462
463 void enter(const Immediate& imm); 463 void enter(const Immediate& imm);
464 void leave(); 464 void leave();
465 void ret(); 465 void ret();
466 466
467 void sqrtsd(XmmRegister dst, XmmRegister src);
468
467 void xorpd(XmmRegister dst, const Address& src); 469 void xorpd(XmmRegister dst, const Address& src);
468 470
469 // 'size' indicates size in bytes and must be in the range 1..8. 471 // 'size' indicates size in bytes and must be in the range 1..8.
470 void nop(int size = 1); 472 void nop(int size = 1);
471 void int3(); 473 void int3();
472 void hlt(); 474 void hlt();
473 475
474 void j(Condition condition, Label* label, bool near = kFarJump); 476 void j(Condition condition, Label* label, bool near = kFarJump);
475 void j(Condition condition, const ExternalLabel* label); 477 void j(Condition condition, const ExternalLabel* label);
476 478
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 } 659 }
658 660
659 661
660 inline void Assembler::EmitOperandSizeOverride() { 662 inline void Assembler::EmitOperandSizeOverride() {
661 EmitUint8(0x66); 663 EmitUint8(0x66);
662 } 664 }
663 665
664 } // namespace dart 666 } // namespace dart
665 667
666 #endif // VM_ASSEMBLER_X64_H_ 668 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_x64.cc » ('j') | runtime/vm/flow_graph_compiler_ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698