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

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: Fix nit. 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') | no next file with comments »
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 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 void MoveRegister(Register rd, Register rm, Condition cond = AL); 957 void MoveRegister(Register rd, Register rm, Condition cond = AL);
958 958
959 // Convenience shift instructions. Use mov instruction with shifter operand 959 // Convenience shift instructions. Use mov instruction with shifter operand
960 // for variants setting the status flags. 960 // for variants setting the status flags.
961 #if 0 961 #if 0
962 // Moved to ARM32::AssemblerARM32::lsl() 962 // Moved to ARM32::AssemblerARM32::lsl()
963 void Lsl(Register rd, Register rm, const Operand& shift_imm, 963 void Lsl(Register rd, Register rm, const Operand& shift_imm,
964 Condition cond = AL); 964 Condition cond = AL);
965 // Moved to ARM32::AssemblerARM32::lsl() 965 // Moved to ARM32::AssemblerARM32::lsl()
966 void Lsl(Register rd, Register rm, Register rs, Condition cond = AL); 966 void Lsl(Register rd, Register rm, Register rs, Condition cond = AL);
967 #endif 967 // Moved to ARM32::AssemblerARM32::lsr()
968 void Lsr(Register rd, Register rm, const Operand& shift_imm, 968 void Lsr(Register rd, Register rm, const Operand& shift_imm,
969 Condition cond = AL); 969 Condition cond = AL);
970 // Moved to ARM32::AssemblerARM32::lsr()
970 void Lsr(Register rd, Register rm, Register rs, Condition cond = AL); 971 void Lsr(Register rd, Register rm, Register rs, Condition cond = AL);
972 #endif
971 void Asr(Register rd, Register rm, const Operand& shift_imm, 973 void Asr(Register rd, Register rm, const Operand& shift_imm,
972 Condition cond = AL); 974 Condition cond = AL);
973 void Asr(Register rd, Register rm, Register rs, Condition cond = AL); 975 void Asr(Register rd, Register rm, Register rs, Condition cond = AL);
974 void Asrs(Register rd, Register rm, const Operand& shift_imm, 976 void Asrs(Register rd, Register rm, const Operand& shift_imm,
975 Condition cond = AL); 977 Condition cond = AL);
976 void Ror(Register rd, Register rm, const Operand& shift_imm, 978 void Ror(Register rd, Register rm, const Operand& shift_imm,
977 Condition cond = AL); 979 Condition cond = AL);
978 void Ror(Register rd, Register rm, Register rs, Condition cond = AL); 980 void Ror(Register rd, Register rm, Register rs, Condition cond = AL);
979 void Rrx(Register rd, Register rm, Condition cond = AL); 981 void Rrx(Register rd, Register rm, Condition cond = AL);
980 982
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 // ARM32::AssemblerARM::uxt() (uxtb and uxth). 1318 // ARM32::AssemblerARM::uxt() (uxtb and uxth).
1317 #endif 1319 #endif
1318 1320
1319 DISALLOW_ALLOCATION(); 1321 DISALLOW_ALLOCATION();
1320 DISALLOW_COPY_AND_ASSIGN(Assembler); 1322 DISALLOW_COPY_AND_ASSIGN(Assembler);
1321 }; 1323 };
1322 1324
1323 } // namespace dart 1325 } // namespace dart
1324 1326
1325 #endif // VM_ASSEMBLER_ARM_H_ 1327 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/DartARM32/assembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698