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

Side by Side Diff: src/DartARM32/assembler_arm.h

Issue 1516863003: Add various forms of LDREX/STREX to ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Update Dart files and fix nits. Created 5 years 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
« no previous file with comments | « no previous file | src/DartARM32/assembler_arm.cc » ('j') | src/IceAssemblerARM32.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 #if 0 580 #if 0
581 // Folded into ARM32::AssemblerARM32::popList(), since it is its only use (and 581 // Folded into ARM32::AssemblerARM32::popList(), since it is its only use (and
582 // doesn't implement ARM LDM instructions). 582 // doesn't implement ARM LDM instructions).
583 void ldm(BlockAddressMode am, Register base, 583 void ldm(BlockAddressMode am, Register base,
584 RegList regs, Condition cond = AL); 584 RegList regs, Condition cond = AL);
585 585
586 // Folded into ARM32::AssemblerARM32::pushList(), since it is its only use 586 // Folded into ARM32::AssemblerARM32::pushList(), since it is its only use
587 // (and doesn't implement ARM STM instruction). 587 // (and doesn't implement ARM STM instruction).
588 void stm(BlockAddressMode am, Register base, 588 void stm(BlockAddressMode am, Register base,
589 RegList regs, Condition cond = AL); 589 RegList regs, Condition cond = AL);
590
591 // Moved to ARM::AssemblerARM32::ldrex();
592 void ldrex(Register rd, Register rn, Condition cond = AL);
593 // Moved to ARM::AssemblerARM32::strex();
594 void strex(Register rd, Register rt, Register rn, Condition cond = AL);
590 #endif 595 #endif
591 596
592 void ldrex(Register rd, Register rn, Condition cond = AL);
593 void strex(Register rd, Register rt, Register rn, Condition cond = AL);
594
595 // Miscellaneous instructions. 597 // Miscellaneous instructions.
596 void clrex(); 598 void clrex();
597 #if 0 599 #if 0
598 // Moved to ARM32::AssemblerARM32::nop(). 600 // Moved to ARM32::AssemblerARM32::nop().
599 void nop(Condition cond = AL); 601 void nop(Condition cond = AL);
600 602
601 // Moved to ARM32::AssemblerARM32::bkpt() 603 // Moved to ARM32::AssemblerARM32::bkpt()
602 // Note that gdb sets breakpoints using the undefined instruction 0xe7f001f0. 604 // Note that gdb sets breakpoints using the undefined instruction 0xe7f001f0.
603 void bkpt(uint16_t imm16); 605 void bkpt(uint16_t imm16);
604 606
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 // ARM32::AssemblerARM::uxt() (uxtb and uxth). 1322 // ARM32::AssemblerARM::uxt() (uxtb and uxth).
1321 #endif 1323 #endif
1322 1324
1323 DISALLOW_ALLOCATION(); 1325 DISALLOW_ALLOCATION();
1324 DISALLOW_COPY_AND_ASSIGN(Assembler); 1326 DISALLOW_COPY_AND_ASSIGN(Assembler);
1325 }; 1327 };
1326 1328
1327 } // namespace dart 1329 } // namespace dart
1328 1330
1329 #endif // VM_ASSEMBLER_ARM_H_ 1331 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/DartARM32/assembler_arm.cc » ('j') | src/IceAssemblerARM32.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698