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

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

Issue 14057004: Convert diamond shaped control flow into a single conditional instruction. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address Florian's comments Created 7 years, 8 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
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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 332
333 static const intptr_t kCallExternalLabelSize = 13; 333 static const intptr_t kCallExternalLabelSize = 13;
334 334
335 void pushq(Register reg); 335 void pushq(Register reg);
336 void pushq(const Address& address); 336 void pushq(const Address& address);
337 void pushq(const Immediate& imm); 337 void pushq(const Immediate& imm);
338 338
339 void popq(Register reg); 339 void popq(Register reg);
340 void popq(const Address& address); 340 void popq(const Address& address);
341 341
342 void setcc(Condition condition, ByteRegister dst);
343
342 void movl(Register dst, Register src); 344 void movl(Register dst, Register src);
343 void movl(Register dst, const Immediate& imm); 345 void movl(Register dst, const Immediate& imm);
344 void movl(Register dst, const Address& src); 346 void movl(Register dst, const Address& src);
345 void movl(const Address& dst, Register src); 347 void movl(const Address& dst, Register src);
346 348
347 void movzxb(Register dst, Register src); 349 void movzxb(Register dst, Register src);
348 void movzxb(Register dst, const Address& src); 350 void movzxb(Register dst, const Address& src);
349 void movsxb(Register dst, Register src); 351 void movsxb(Register dst, Register src);
350 void movsxb(Register dst, const Address& src); 352 void movsxb(Register dst, const Address& src);
351 void movb(Register dst, const Address& src); 353 void movb(Register dst, const Address& src);
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 } 907 }
906 908
907 909
908 inline void Assembler::EmitOperandSizeOverride() { 910 inline void Assembler::EmitOperandSizeOverride() {
909 EmitUint8(0x66); 911 EmitUint8(0x66);
910 } 912 }
911 913
912 } // namespace dart 914 } // namespace dart
913 915
914 #endif // VM_ASSEMBLER_X64_H_ 916 #endif // VM_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698