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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 LFlag l = Short, Condition cond = al); | 615 LFlag l = Short, Condition cond = al); |
616 | 616 |
617 void stc2(Coprocessor coproc, CRegister crd, const MemOperand& dst, | 617 void stc2(Coprocessor coproc, CRegister crd, const MemOperand& dst, |
618 LFlag l = Short); // v5 and above | 618 LFlag l = Short); // v5 and above |
619 void stc2(Coprocessor coproc, CRegister crd, Register base, int option, | 619 void stc2(Coprocessor coproc, CRegister crd, Register base, int option, |
620 LFlag l = Short); // v5 and above | 620 LFlag l = Short); // v5 and above |
621 | 621 |
622 // Pseudo instructions | 622 // Pseudo instructions |
623 void nop() { mov(r0, Operand(r0)); } | 623 void nop() { mov(r0, Operand(r0)); } |
624 | 624 |
625 void push(Register src) { | 625 void push(Register src, Condition cond = al) { |
626 str(src, MemOperand(sp, 4, NegPreIndex), al); | 626 str(src, MemOperand(sp, 4, NegPreIndex), cond); |
627 } | 627 } |
628 | 628 |
629 void pop(Register dst) { | 629 void pop(Register dst) { |
630 ldr(dst, MemOperand(sp, 4, PostIndex), al); | 630 ldr(dst, MemOperand(sp, 4, PostIndex), al); |
631 } | 631 } |
632 | 632 |
633 void pop() { | 633 void pop() { |
634 add(sp, sp, Operand(kPointerSize)); | 634 add(sp, sp, Operand(kPointerSize)); |
635 } | 635 } |
636 | 636 |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 void link_to(Label* L, Label* appendix); | 780 void link_to(Label* L, Label* appendix); |
781 void next(Label* L); | 781 void next(Label* L); |
782 | 782 |
783 // Record reloc info for current pc_ | 783 // Record reloc info for current pc_ |
784 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); | 784 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); |
785 }; | 785 }; |
786 | 786 |
787 } } // namespace v8::internal | 787 } } // namespace v8::internal |
788 | 788 |
789 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 789 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |