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

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

Issue 1513543002: Add CMN instruction to ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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 | « src/DartARM32/assembler_arm.h ('k') | src/IceAssemblerARM32.h » ('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 #include "vm/globals.h" // NOLINT 9 #include "vm/globals.h" // NOLINT
10 #if defined(TARGET_ARCH_ARM) 10 #if defined(TARGET_ARCH_ARM)
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 void Assembler::teq(Register rn, Operand o, Condition cond) { 263 void Assembler::teq(Register rn, Operand o, Condition cond) {
264 EmitType01(cond, o.type(), TEQ, 1, rn, R0, o); 264 EmitType01(cond, o.type(), TEQ, 1, rn, R0, o);
265 } 265 }
266 266
267 #if 0 267 #if 0
268 // Moved to ARM32::AssemblerARM32::cmp() 268 // Moved to ARM32::AssemblerARM32::cmp()
269 void Assembler::cmp(Register rn, Operand o, Condition cond) { 269 void Assembler::cmp(Register rn, Operand o, Condition cond) {
270 EmitType01(cond, o.type(), CMP, 1, rn, R0, o); 270 EmitType01(cond, o.type(), CMP, 1, rn, R0, o);
271 } 271 }
272 #endif
273 272
274 273 // Moved to ARM32::AssemblerARM32::cmn()
275 void Assembler::cmn(Register rn, Operand o, Condition cond) { 274 void Assembler::cmn(Register rn, Operand o, Condition cond) {
276 EmitType01(cond, o.type(), CMN, 1, rn, R0, o); 275 EmitType01(cond, o.type(), CMN, 1, rn, R0, o);
277 } 276 }
278 277
279 #if 0
280 // Moved to ARM32::AssemberARM32::orr() 278 // Moved to ARM32::AssemberARM32::orr()
281 void Assembler::orr(Register rd, Register rn, Operand o, Condition cond) { 279 void Assembler::orr(Register rd, Register rn, Operand o, Condition cond) {
282 EmitType01(cond, o.type(), ORR, 0, rn, rd, o); 280 EmitType01(cond, o.type(), ORR, 0, rn, rd, o);
283 } 281 }
284 282
285 // Moved to ARM32::AssemberARM32::orr() 283 // Moved to ARM32::AssemberARM32::orr()
286 void Assembler::orrs(Register rd, Register rn, Operand o, Condition cond) { 284 void Assembler::orrs(Register rd, Register rn, Operand o, Condition cond) {
287 EmitType01(cond, o.type(), ORR, 1, rn, rd, o); 285 EmitType01(cond, o.type(), ORR, 1, rn, rd, o);
288 } 286 }
289 287
(...skipping 3397 matching lines...) Expand 10 before | Expand all | Expand 10 after
3687 3685
3688 3686
3689 const char* Assembler::FpuRegisterName(FpuRegister reg) { 3687 const char* Assembler::FpuRegisterName(FpuRegister reg) {
3690 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); 3688 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters));
3691 return fpu_reg_names[reg]; 3689 return fpu_reg_names[reg];
3692 } 3690 }
3693 3691
3694 } // namespace dart 3692 } // namespace dart
3695 3693
3696 #endif // defined TARGET_ARCH_ARM 3694 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/DartARM32/assembler_arm.h ('k') | src/IceAssemblerARM32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698