| 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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 void andb(Register dst, Immediate src) { | 785 void andb(Register dst, Immediate src) { |
| 786 immediate_arithmetic_op_8(0x4, dst, src); | 786 immediate_arithmetic_op_8(0x4, dst, src); |
| 787 } | 787 } |
| 788 | 788 |
| 789 void decb(Register dst); | 789 void decb(Register dst); |
| 790 void decb(const Operand& dst); | 790 void decb(const Operand& dst); |
| 791 | 791 |
| 792 // Lock prefix. | 792 // Lock prefix. |
| 793 void lock(); | 793 void lock(); |
| 794 | 794 |
| 795 void xchgb(Register reg, const Operand& op); | 795 void xchgb(Register reg, const Operand& op, bool is_signed); |
| 796 void xchgw(Register reg, const Operand& op); | 796 void xchgw(Register reg, const Operand& op, bool is_signed); |
| 797 | 797 |
| 798 void cmpxchgb(const Operand& dst, Register src); | 798 void cmpxchgb(const Operand& dst, Register src); |
| 799 void cmpxchgw(const Operand& dst, Register src); | 799 void cmpxchgw(const Operand& dst, Register src); |
| 800 | 800 |
| 801 // Sign-extends rax into rdx:rax. | 801 // Sign-extends rax into rdx:rax. |
| 802 void cqo(); | 802 void cqo(); |
| 803 // Sign-extends eax into edx:eax. | 803 // Sign-extends eax into edx:eax. |
| 804 void cdq(); | 804 void cdq(); |
| 805 | 805 |
| 806 // Multiply eax by src, put the result in edx:eax. | 806 // Multiply eax by src, put the result in edx:eax. |
| (...skipping 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2528 Assembler* assembler_; | 2528 Assembler* assembler_; |
| 2529 #ifdef DEBUG | 2529 #ifdef DEBUG |
| 2530 int space_before_; | 2530 int space_before_; |
| 2531 #endif | 2531 #endif |
| 2532 }; | 2532 }; |
| 2533 | 2533 |
| 2534 } // namespace internal | 2534 } // namespace internal |
| 2535 } // namespace v8 | 2535 } // namespace v8 |
| 2536 | 2536 |
| 2537 #endif // V8_X64_ASSEMBLER_X64_H_ | 2537 #endif // V8_X64_ASSEMBLER_X64_H_ |
| OLD | NEW |