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

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

Issue 1501073002: Implement LSR instructions for the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add comments to dart code to show port. 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') | tests_lit/assembler/arm32/lsr.ll » ('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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 void MoveRegister(Register rd, Register rm, Condition cond = AL); 958 void MoveRegister(Register rd, Register rm, Condition cond = AL);
959 959
960 // Convenience shift instructions. Use mov instruction with shifter operand 960 // Convenience shift instructions. Use mov instruction with shifter operand
961 // for variants setting the status flags. 961 // for variants setting the status flags.
962 #if 0 962 #if 0
963 // Moved to ARM32::AssemblerARM32::lsl() 963 // Moved to ARM32::AssemblerARM32::lsl()
964 void Lsl(Register rd, Register rm, const Operand& shift_imm, 964 void Lsl(Register rd, Register rm, const Operand& shift_imm,
965 Condition cond = AL); 965 Condition cond = AL);
966 // Moved to ARM32::AssemblerARM32::lsl() 966 // Moved to ARM32::AssemblerARM32::lsl()
967 void Lsl(Register rd, Register rm, Register rs, Condition cond = AL); 967 void Lsl(Register rd, Register rm, Register rs, Condition cond = AL);
968 #endif 968 // Moved to ARM32::AssemblerARM32::lsr()
969 void Lsr(Register rd, Register rm, const Operand& shift_imm, 969 void Lsr(Register rd, Register rm, const Operand& shift_imm,
970 Condition cond = AL); 970 Condition cond = AL);
971 // Moved to ARM32::AssemblerARM32::lsr()
971 void Lsr(Register rd, Register rm, Register rs, Condition cond = AL); 972 void Lsr(Register rd, Register rm, Register rs, Condition cond = AL);
973 #endif
972 void Asr(Register rd, Register rm, const Operand& shift_imm, 974 void Asr(Register rd, Register rm, const Operand& shift_imm,
973 Condition cond = AL); 975 Condition cond = AL);
974 void Asr(Register rd, Register rm, Register rs, Condition cond = AL); 976 void Asr(Register rd, Register rm, Register rs, Condition cond = AL);
975 void Asrs(Register rd, Register rm, const Operand& shift_imm, 977 void Asrs(Register rd, Register rm, const Operand& shift_imm,
976 Condition cond = AL); 978 Condition cond = AL);
977 void Ror(Register rd, Register rm, const Operand& shift_imm, 979 void Ror(Register rd, Register rm, const Operand& shift_imm,
978 Condition cond = AL); 980 Condition cond = AL);
979 void Ror(Register rd, Register rm, Register rs, Condition cond = AL); 981 void Ror(Register rd, Register rm, Register rs, Condition cond = AL);
980 void Rrx(Register rd, Register rm, Condition cond = AL); 982 void Rrx(Register rd, Register rm, Condition cond = AL);
981 983
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 // ARM32::AssemblerARM::uxt() (uxtb and uxth). 1319 // ARM32::AssemblerARM::uxt() (uxtb and uxth).
1318 #endif 1320 #endif
1319 1321
1320 DISALLOW_ALLOCATION(); 1322 DISALLOW_ALLOCATION();
1321 DISALLOW_COPY_AND_ASSIGN(Assembler); 1323 DISALLOW_COPY_AND_ASSIGN(Assembler);
1322 }; 1324 };
1323 1325
1324 } // namespace dart 1326 } // namespace dart
1325 1327
1326 #endif // VM_ASSEMBLER_ARM_H_ 1328 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/DartARM32/assembler_arm.cc » ('j') | tests_lit/assembler/arm32/lsr.ll » ('J')

Powered by Google App Engine
This is Rietveld 408576698