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

Side by Side Diff: src/IceAssemblerARM32.h

Issue 1623433004: Add missing vcvt instructions to integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nit. 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 void vcmps(const Operand *OpSd, const Operand *OpSm, CondARM32::Cond cond); 326 void vcmps(const Operand *OpSd, const Operand *OpSm, CondARM32::Cond cond);
327 327
328 // Second argument of compare is zero (+0.0). 328 // Second argument of compare is zero (+0.0).
329 void vcmpsz(const Operand *OpSd, CondARM32::Cond cond); 329 void vcmpsz(const Operand *OpSd, CondARM32::Cond cond);
330 330
331 void vcvtds(const Operand *OpDd, const Operand *OpSm, CondARM32::Cond Cond); 331 void vcvtds(const Operand *OpDd, const Operand *OpSm, CondARM32::Cond Cond);
332 332
333 // vcvt<c>.S32.F32 333 // vcvt<c>.S32.F32
334 void vcvtis(const Operand *OpSd, const Operand *OpSm, CondARM32::Cond Cond); 334 void vcvtis(const Operand *OpSd, const Operand *OpSm, CondARM32::Cond Cond);
335 335
336 // vcvt<c>.S32.F64
337 void vcvtid(const Operand *OpSd, const Operand *OpDm, CondARM32::Cond Cond);
338
339 // vcvt<c>.F64.S32
340 void vcvtdi(const Operand *OpDd, const Operand *OpSm, CondARM32::Cond Cond);
341
342 // vcvt<c>.F64.U32
343 void vcvtdu(const Operand *OpDd, const Operand *OpSm, CondARM32::Cond Cond);
344
336 void vcvtsd(const Operand *OpSd, const Operand *OpDm, CondARM32::Cond Cond); 345 void vcvtsd(const Operand *OpSd, const Operand *OpDm, CondARM32::Cond Cond);
337 346
347 // vcvt<c>.F32.S32
348 void vcvtsi(const Operand *OpSd, const Operand *OpSm, CondARM32::Cond Cond);
349
350 // vcvt<c>.F32.U32
351 void vcvtsu(const Operand *OpSd, const Operand *OpSm, CondARM32::Cond Cond);
352
353 // vcvt<c>.U32.F64
354 void vcvtud(const Operand *OpSd, const Operand *OpDm, CondARM32::Cond Cond);
355
356 // vcvt<c>.u32.f32
357 void vcvtus(const Operand *OpSd, const Operand *OpSm, CondARM32::Cond Cond);
358
338 void vdivd(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm, 359 void vdivd(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm,
339 CondARM32::Cond Cond); 360 CondARM32::Cond Cond);
340 361
341 void vdivs(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm, 362 void vdivs(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm,
342 CondARM32::Cond Cond); 363 CondARM32::Cond Cond);
343 364
344 void veord(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm); 365 void veord(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm);
345 366
346 void vldrd(const Operand *OpDd, const Operand *OpAddress, 367 void vldrd(const Operand *OpDd, const Operand *OpAddress,
347 CondARM32::Cond Cond, const TargetInfo &TInfo); 368 CondARM32::Cond Cond, const TargetInfo &TInfo);
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 576
556 // Emit VFP instruction with 3 S registers. 577 // Emit VFP instruction with 3 S registers.
557 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn, 578 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn,
558 IValueT Sm); 579 IValueT Sm);
559 }; 580 };
560 581
561 } // end of namespace ARM32 582 } // end of namespace ARM32
562 } // end of namespace Ice 583 } // end of namespace Ice
563 584
564 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H 585 #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