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

Side by Side Diff: src/IceAssemblerARM32.h

Issue 1564393002: Add VCMP{s,sz,d,dz} Instructions to ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 4 years, 11 months 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.cc ('k') | src/IceAssemblerARM32.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceAssemblerARM32.h - Assembler for ARM32 ----*- C++ -*-===// 1 //===- subzero/src/IceAssemblerARM32.h - Assembler for ARM32 ----*- C++ -*-===//
2 // 2 //
3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 // 6 //
7 // Modified by the Subzero authors. 7 // Modified by the Subzero authors.
8 // 8 //
9 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===//
10 // 10 //
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 311
312 // Implements uxtb/uxth depending on type of OpSrc0. 312 // Implements uxtb/uxth depending on type of OpSrc0.
313 void uxt(const Operand *OpRd, const Operand *OpSrc0, CondARM32::Cond Cond); 313 void uxt(const Operand *OpRd, const Operand *OpSrc0, CondARM32::Cond Cond);
314 314
315 void vaddd(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm, 315 void vaddd(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm,
316 CondARM32::Cond Cond); 316 CondARM32::Cond Cond);
317 317
318 void vadds(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm, 318 void vadds(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm,
319 CondARM32::Cond Cond); 319 CondARM32::Cond Cond);
320 320
321 void vcmpd(const Operand *OpDd, const Operand *OpDm, CondARM32::Cond cond);
322
323 // Second argument of compare is zero (+0.0).
324 void vcmpdz(const Operand *OpDd, CondARM32::Cond cond);
325
326 void vcmps(const Operand *OpSd, const Operand *OpSm, CondARM32::Cond cond);
327
328 // Second argument of compare is zero (+0.0).
329 void vcmpsz(const Operand *OpSd, CondARM32::Cond cond);
330
321 void vcvtsd(const Operand *OpSd, const Operand *OpDm, CondARM32::Cond Cond); 331 void vcvtsd(const Operand *OpSd, const Operand *OpDm, CondARM32::Cond Cond);
322 332
323 void vcvtds(const Operand *OpDd, const Operand *OpSm, CondARM32::Cond Cond); 333 void vcvtds(const Operand *OpDd, const Operand *OpSm, CondARM32::Cond Cond);
324 334
325 void vdivd(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm, 335 void vdivd(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm,
326 CondARM32::Cond Cond); 336 CondARM32::Cond Cond);
327 337
328 void vdivs(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm, 338 void vdivs(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm,
329 CondARM32::Cond Cond); 339 CondARM32::Cond Cond);
330 340
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 514
505 // Emit VFP instruction with 3 S registers. 515 // Emit VFP instruction with 3 S registers.
506 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn, 516 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn,
507 IValueT Sm); 517 IValueT Sm);
508 }; 518 };
509 519
510 } // end of namespace ARM32 520 } // end of namespace ARM32
511 } // end of namespace Ice 521 } // end of namespace Ice
512 522
513 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H 523 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H
OLDNEW
« no previous file with comments | « src/DartARM32/assembler_arm.cc ('k') | src/IceAssemblerARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698