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

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

Issue 12334080: For Doubl erounding call C-function instead of attempting to inline it. Fixes issue 8760. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « runtime/vm/assembler_ia32_test.cc ('k') | runtime/vm/assembler_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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 Register value); // Value we are storing. 635 Register value); // Value we are storing.
636 636
637 void StoreIntoObjectNoBarrier(Register object, 637 void StoreIntoObjectNoBarrier(Register object,
638 const Address& dest, 638 const Address& dest,
639 Register value); 639 Register value);
640 640
641 void DoubleNegate(XmmRegister d); 641 void DoubleNegate(XmmRegister d);
642 void FloatNegate(XmmRegister f); 642 void FloatNegate(XmmRegister f);
643 643
644 void DoubleAbs(XmmRegister reg); 644 void DoubleAbs(XmmRegister reg);
645 void DoubleRound(XmmRegister dst, XmmRegister src, XmmRegister tmp);
646 645
647 void LockCmpxchgl(const Address& address, Register reg) { 646 void LockCmpxchgl(const Address& address, Register reg) {
648 lock(); 647 lock();
649 cmpxchgl(address, reg); 648 cmpxchgl(address, reg);
650 } 649 }
651 650
652 void EnterFrame(intptr_t frame_space); 651 void EnterFrame(intptr_t frame_space);
653 void LeaveFrame(); 652 void LeaveFrame();
654 void ReserveAlignedFrameSpace(intptr_t frame_space); 653 void ReserveAlignedFrameSpace(intptr_t frame_space);
655 654
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 } 845 }
847 846
848 847
849 inline void Assembler::EmitOperandSizeOverride() { 848 inline void Assembler::EmitOperandSizeOverride() {
850 EmitUint8(0x66); 849 EmitUint8(0x66);
851 } 850 }
852 851
853 } // namespace dart 852 } // namespace dart
854 853
855 #endif // VM_ASSEMBLER_X64_H_ 854 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32_test.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698