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

Side by Side Diff: src/x64/assembler-x64.h

Issue 6374002: X64 Crank: Implemented DoBranch and all *AndBranch comparisons. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge/build-x64
Patch Set: Removed unnecessary temporary. Created 9 years, 11 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 | « src/objects.h ('k') | src/x64/code-stubs-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) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 } 700 }
701 701
702 void addq(const Operand& dst, Immediate src) { 702 void addq(const Operand& dst, Immediate src) {
703 immediate_arithmetic_op(0x0, dst, src); 703 immediate_arithmetic_op(0x0, dst, src);
704 } 704 }
705 705
706 void sbbl(Register dst, Register src) { 706 void sbbl(Register dst, Register src) {
707 arithmetic_op_32(0x1b, dst, src); 707 arithmetic_op_32(0x1b, dst, src);
708 } 708 }
709 709
710 void sbbq(Register dst, Register src) {
711 arithmetic_op(0x1b, dst, src);
712 }
713
710 void cmpb(Register dst, Immediate src) { 714 void cmpb(Register dst, Immediate src) {
711 immediate_arithmetic_op_8(0x7, dst, src); 715 immediate_arithmetic_op_8(0x7, dst, src);
712 } 716 }
713 717
714 void cmpb_al(Immediate src); 718 void cmpb_al(Immediate src);
715 719
716 void cmpb(Register dst, Register src) { 720 void cmpb(Register dst, Register src) {
717 arithmetic_op(0x3A, dst, src); 721 arithmetic_op(0x3A, dst, src);
718 } 722 }
719 723
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 private: 1522 private:
1519 Assembler* assembler_; 1523 Assembler* assembler_;
1520 #ifdef DEBUG 1524 #ifdef DEBUG
1521 int space_before_; 1525 int space_before_;
1522 #endif 1526 #endif
1523 }; 1527 };
1524 1528
1525 } } // namespace v8::internal 1529 } } // namespace v8::internal
1526 1530
1527 #endif // V8_X64_ASSEMBLER_X64_H_ 1531 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698