| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |