| 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 | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are 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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 // Convenience branch instructions using labels | 621 // Convenience branch instructions using labels |
| 622 void b(Label* L, Condition cond = al) { | 622 void b(Label* L, Condition cond = al) { |
| 623 b(branch_offset(L, cond == al), cond); | 623 b(branch_offset(L, cond == al), cond); |
| 624 } | 624 } |
| 625 void b(Condition cond, Label* L) { b(branch_offset(L, cond == al), cond); } | 625 void b(Condition cond, Label* L) { b(branch_offset(L, cond == al), cond); } |
| 626 void bl(Label* L, Condition cond = al) { bl(branch_offset(L, false), cond); } | 626 void bl(Label* L, Condition cond = al) { bl(branch_offset(L, false), cond); } |
| 627 void bl(Condition cond, Label* L) { bl(branch_offset(L, false), cond); } | 627 void bl(Condition cond, Label* L) { bl(branch_offset(L, false), cond); } |
| 628 void blx(Label* L) { blx(branch_offset(L, false)); } // v5 and above | 628 void blx(Label* L) { blx(branch_offset(L, false)); } // v5 and above |
| 629 | 629 |
| 630 // Data-processing instructions | 630 // Data-processing instructions |
| 631 void ubfx(Register dst, Register src1, const Operand& src2, |
| 632 const Operand& src3, Condition cond = al); |
| 633 |
| 631 void and_(Register dst, Register src1, const Operand& src2, | 634 void and_(Register dst, Register src1, const Operand& src2, |
| 632 SBit s = LeaveCC, Condition cond = al); | 635 SBit s = LeaveCC, Condition cond = al); |
| 633 | 636 |
| 634 void eor(Register dst, Register src1, const Operand& src2, | 637 void eor(Register dst, Register src1, const Operand& src2, |
| 635 SBit s = LeaveCC, Condition cond = al); | 638 SBit s = LeaveCC, Condition cond = al); |
| 636 | 639 |
| 637 void sub(Register dst, Register src1, const Operand& src2, | 640 void sub(Register dst, Register src1, const Operand& src2, |
| 638 SBit s = LeaveCC, Condition cond = al); | 641 SBit s = LeaveCC, Condition cond = al); |
| 639 void sub(Register dst, Register src1, Register src2, | 642 void sub(Register dst, Register src1, Register src2, |
| 640 SBit s = LeaveCC, Condition cond = al) { | 643 SBit s = LeaveCC, Condition cond = al) { |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1024 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); | 1027 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); |
| 1025 | 1028 |
| 1026 friend class RegExpMacroAssemblerARM; | 1029 friend class RegExpMacroAssemblerARM; |
| 1027 friend class RelocInfo; | 1030 friend class RelocInfo; |
| 1028 friend class CodePatcher; | 1031 friend class CodePatcher; |
| 1029 }; | 1032 }; |
| 1030 | 1033 |
| 1031 } } // namespace v8::internal | 1034 } } // namespace v8::internal |
| 1032 | 1035 |
| 1033 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1036 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |