| 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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 | 590 |
| 591 void test(Register reg, const Immediate& imm); | 591 void test(Register reg, const Immediate& imm); |
| 592 void test(Register reg, const Operand& op); | 592 void test(Register reg, const Operand& op); |
| 593 void test(const Operand& op, const Immediate& imm); | 593 void test(const Operand& op, const Immediate& imm); |
| 594 | 594 |
| 595 void xor_(Register dst, int32_t imm32); | 595 void xor_(Register dst, int32_t imm32); |
| 596 void xor_(Register dst, const Operand& src); | 596 void xor_(Register dst, const Operand& src); |
| 597 void xor_(const Operand& src, Register dst); | 597 void xor_(const Operand& src, Register dst); |
| 598 void xor_(const Operand& dst, const Immediate& x); | 598 void xor_(const Operand& dst, const Immediate& x); |
| 599 | 599 |
| 600 // Rotate dist right count times, asserts count < 32. |
| 601 void ror(Register dst, uint32_t count); |
| 602 |
| 600 // Bit operations. | 603 // Bit operations. |
| 601 void bt(const Operand& dst, Register src); | 604 void bt(const Operand& dst, Register src); |
| 602 void bts(const Operand& dst, Register src); | 605 void bts(const Operand& dst, Register src); |
| 603 | 606 |
| 604 // Miscellaneous | 607 // Miscellaneous |
| 605 void hlt(); | 608 void hlt(); |
| 606 void int3(); | 609 void int3(); |
| 607 void nop(); | 610 void nop(); |
| 608 void rdtsc(); | 611 void rdtsc(); |
| 609 void ret(int imm16); | 612 void ret(int imm16); |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 860 private: | 863 private: |
| 861 Assembler* assembler_; | 864 Assembler* assembler_; |
| 862 #ifdef DEBUG | 865 #ifdef DEBUG |
| 863 int space_before_; | 866 int space_before_; |
| 864 #endif | 867 #endif |
| 865 }; | 868 }; |
| 866 | 869 |
| 867 } } // namespace v8::internal | 870 } } // namespace v8::internal |
| 868 | 871 |
| 869 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 872 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |