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

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

Issue 92433002: Merge sin(a), cos(a) into one instruction. TODO: Implement for ARM and MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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_ia32.cc » ('j') | runtime/vm/compiler.cc » ('J')
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_IA32_H_ 5 #ifndef VM_ASSEMBLER_IA32_H_
6 #define VM_ASSEMBLER_IA32_H_ 6 #define VM_ASSEMBLER_IA32_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_ia32.h directly; use assembler.h instead. 9 #error Do not include assembler_ia32.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 void fistpl(const Address& dst); 505 void fistpl(const Address& dst);
506 void fistps(const Address& dst); 506 void fistps(const Address& dst);
507 void fildl(const Address& src); 507 void fildl(const Address& src);
508 void filds(const Address& src); 508 void filds(const Address& src);
509 509
510 void fincstp(); 510 void fincstp();
511 void ffree(intptr_t value); 511 void ffree(intptr_t value);
512 512
513 void fsin(); 513 void fsin();
514 void fcos(); 514 void fcos();
515 void fsincos();
515 void fptan(); 516 void fptan();
516 517
517 void xchgl(Register dst, Register src); 518 void xchgl(Register dst, Register src);
518 519
519 void cmpl(Register reg, const Immediate& imm); 520 void cmpl(Register reg, const Immediate& imm);
520 void cmpl(Register reg0, Register reg1); 521 void cmpl(Register reg0, Register reg1);
521 void cmpl(Register reg, const Address& address); 522 void cmpl(Register reg, const Address& address);
522 523
523 void cmpl(const Address& address, Register reg); 524 void cmpl(const Address& address, Register reg);
524 void cmpl(const Address& address, const Immediate& imm); 525 void cmpl(const Address& address, const Immediate& imm);
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 } 878 }
878 879
879 880
880 inline void Assembler::EmitOperandSizeOverride() { 881 inline void Assembler::EmitOperandSizeOverride() {
881 EmitUint8(0x66); 882 EmitUint8(0x66);
882 } 883 }
883 884
884 } // namespace dart 885 } // namespace dart
885 886
886 #endif // VM_ASSEMBLER_IA32_H_ 887 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_ia32.cc » ('j') | runtime/vm/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698