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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 void cld(); | 641 void cld(); |
642 | 642 |
643 // Repetitive string instructions. | 643 // Repetitive string instructions. |
644 void rep_movs(); | 644 void rep_movs(); |
645 void rep_stos(); | 645 void rep_stos(); |
646 void stos(); | 646 void stos(); |
647 | 647 |
648 // Exchange | 648 // Exchange |
649 void xchg(Register dst, Register src); | 649 void xchg(Register dst, Register src); |
650 void xchg(Register dst, const Operand& src); | 650 void xchg(Register dst, const Operand& src); |
| 651 void xchg_b(Register reg, const Operand& op); |
| 652 void xchg_w(Register reg, const Operand& op); |
651 | 653 |
652 // Arithmetics | 654 // Arithmetics |
653 void adc(Register dst, int32_t imm32); | 655 void adc(Register dst, int32_t imm32); |
654 void adc(Register dst, const Operand& src); | 656 void adc(Register dst, const Operand& src); |
655 | 657 |
656 void add(Register dst, Register src) { add(dst, Operand(src)); } | 658 void add(Register dst, Register src) { add(dst, Operand(src)); } |
657 void add(Register dst, const Operand& src); | 659 void add(Register dst, const Operand& src); |
658 void add(const Operand& dst, Register src); | 660 void add(const Operand& dst, Register src); |
659 void add(Register dst, const Immediate& imm) { add(Operand(dst), imm); } | 661 void add(Register dst, const Immediate& imm) { add(Operand(dst), imm); } |
660 void add(const Operand& dst, const Immediate& x); | 662 void add(const Operand& dst, const Immediate& x); |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1099 Assembler* assembler_; | 1101 Assembler* assembler_; |
1100 #ifdef DEBUG | 1102 #ifdef DEBUG |
1101 int space_before_; | 1103 int space_before_; |
1102 #endif | 1104 #endif |
1103 }; | 1105 }; |
1104 | 1106 |
1105 } // namespace internal | 1107 } // namespace internal |
1106 } // namespace v8 | 1108 } // namespace v8 |
1107 | 1109 |
1108 #endif // V8_X87_ASSEMBLER_X87_H_ | 1110 #endif // V8_X87_ASSEMBLER_X87_H_ |
OLD | NEW |