Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: src/arm/assembler-arm.h

Issue 115256: Fix fp problems in runtime code on ARM EABI by 8-byte aligning... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/macro-assembler-arm.cc » ('j') | src/arm/macro-assembler-arm.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/arm/macro-assembler-arm.cc » ('j') | src/arm/macro-assembler-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698