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