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 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1313 } | 1313 } |
1314 | 1314 |
1315 void pop() { | 1315 void pop() { |
1316 add(sp, sp, Operand(kPointerSize)); | 1316 add(sp, sp, Operand(kPointerSize)); |
1317 } | 1317 } |
1318 | 1318 |
1319 void vpush(DwVfpRegister src, Condition cond = al) { | 1319 void vpush(DwVfpRegister src, Condition cond = al) { |
1320 vstm(db_w, sp, src, src, cond); | 1320 vstm(db_w, sp, src, src, cond); |
1321 } | 1321 } |
1322 | 1322 |
| 1323 void vpush(SwVfpRegister src, Condition cond = al) { |
| 1324 vstm(db_w, sp, src, src, cond); |
| 1325 } |
| 1326 |
1323 void vpop(DwVfpRegister dst, Condition cond = al) { | 1327 void vpop(DwVfpRegister dst, Condition cond = al) { |
1324 vldm(ia_w, sp, dst, dst, cond); | 1328 vldm(ia_w, sp, dst, dst, cond); |
1325 } | 1329 } |
1326 | 1330 |
1327 // Jump unconditionally to given label. | 1331 // Jump unconditionally to given label. |
1328 void jmp(Label* L) { b(L, al); } | 1332 void jmp(Label* L) { b(L, al); } |
1329 | 1333 |
1330 // Check the code size generated from label to here. | 1334 // Check the code size generated from label to here. |
1331 int SizeOfCodeGeneratedSince(Label* label) { | 1335 int SizeOfCodeGeneratedSince(Label* label) { |
1332 return pc_offset() - label->pos(); | 1336 return pc_offset() - label->pos(); |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1680 explicit EnsureSpace(Assembler* assembler) { | 1684 explicit EnsureSpace(Assembler* assembler) { |
1681 assembler->CheckBuffer(); | 1685 assembler->CheckBuffer(); |
1682 } | 1686 } |
1683 }; | 1687 }; |
1684 | 1688 |
1685 | 1689 |
1686 } // namespace internal | 1690 } // namespace internal |
1687 } // namespace v8 | 1691 } // namespace v8 |
1688 | 1692 |
1689 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1693 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |