| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This is forked from Dart revision df52deea9f25690eb8b66c5995da92b70f7ac1fe | 5 // This is forked from Dart revision df52deea9f25690eb8b66c5995da92b70f7ac1fe |
| 6 // Please update the (git) revision if we merge changes from Dart. | 6 // Please update the (git) revision if we merge changes from Dart. |
| 7 // https://code.google.com/p/dart/wiki/GettingTheSource | 7 // https://code.google.com/p/dart/wiki/GettingTheSource |
| 8 | 8 |
| 9 #ifndef VM_ASSEMBLER_ARM_H_ | 9 #ifndef VM_ASSEMBLER_ARM_H_ |
| 10 #define VM_ASSEMBLER_ARM_H_ | 10 #define VM_ASSEMBLER_ARM_H_ |
| (...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 581 #if 0 | 581 #if 0 |
| 582 // Folded into ARM32::AssemblerARM32::popList(), since it is its only use (and | 582 // Folded into ARM32::AssemblerARM32::popList(), since it is its only use (and |
| 583 // doesn't implement ARM LDM instructions). | 583 // doesn't implement ARM LDM instructions). |
| 584 void ldm(BlockAddressMode am, Register base, | 584 void ldm(BlockAddressMode am, Register base, |
| 585 RegList regs, Condition cond = AL); | 585 RegList regs, Condition cond = AL); |
| 586 | 586 |
| 587 // Folded into ARM32::AssemblerARM32::pushList(), since it is its only use | 587 // Folded into ARM32::AssemblerARM32::pushList(), since it is its only use |
| 588 // (and doesn't implement ARM STM instruction). | 588 // (and doesn't implement ARM STM instruction). |
| 589 void stm(BlockAddressMode am, Register base, | 589 void stm(BlockAddressMode am, Register base, |
| 590 RegList regs, Condition cond = AL); | 590 RegList regs, Condition cond = AL); |
| 591 |
| 592 // Moved to ARM::AssemblerARM32::ldrex(); |
| 593 void ldrex(Register rd, Register rn, Condition cond = AL); |
| 594 // Moved to ARM::AssemblerARM32::strex(); |
| 595 void strex(Register rd, Register rt, Register rn, Condition cond = AL); |
| 591 #endif | 596 #endif |
| 592 | 597 |
| 593 void ldrex(Register rd, Register rn, Condition cond = AL); | |
| 594 void strex(Register rd, Register rt, Register rn, Condition cond = AL); | |
| 595 | |
| 596 // Miscellaneous instructions. | 598 // Miscellaneous instructions. |
| 597 void clrex(); | 599 void clrex(); |
| 598 #if 0 | 600 #if 0 |
| 599 // Moved to ARM32::AssemblerARM32::nop(). | 601 // Moved to ARM32::AssemblerARM32::nop(). |
| 600 void nop(Condition cond = AL); | 602 void nop(Condition cond = AL); |
| 601 | 603 |
| 602 // Moved to ARM32::AssemblerARM32::bkpt() | 604 // Moved to ARM32::AssemblerARM32::bkpt() |
| 603 // Note that gdb sets breakpoints using the undefined instruction 0xe7f001f0. | 605 // Note that gdb sets breakpoints using the undefined instruction 0xe7f001f0. |
| 604 void bkpt(uint16_t imm16); | 606 void bkpt(uint16_t imm16); |
| 605 | 607 |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 // ARM32::AssemblerARM::uxt() (uxtb and uxth). | 1323 // ARM32::AssemblerARM::uxt() (uxtb and uxth). |
| 1322 #endif | 1324 #endif |
| 1323 | 1325 |
| 1324 DISALLOW_ALLOCATION(); | 1326 DISALLOW_ALLOCATION(); |
| 1325 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1327 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1326 }; | 1328 }; |
| 1327 | 1329 |
| 1328 } // namespace dart | 1330 } // namespace dart |
| 1329 | 1331 |
| 1330 #endif // VM_ASSEMBLER_ARM_H_ | 1332 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |