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

Side by Side Diff: src/IceInstARM32.h

Issue 1657193003: Add FABS intrinsic to the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Format. Created 4 years, 10 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/IceAssemblerARM32.cpp ('k') | src/IceInstARM32.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/IceInstARM32.h - ARM32 machine instructions --*- C++ -*-===// 1 //===- subzero/src/IceInstARM32.h - ARM32 machine instructions --*- C++ -*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1405 InstARM32Vabs(const InstARM32Vabs &) = delete; 1405 InstARM32Vabs(const InstARM32Vabs &) = delete;
1406 InstARM32Vabs &operator=(const InstARM32Vabs &) = delete; 1406 InstARM32Vabs &operator=(const InstARM32Vabs &) = delete;
1407 1407
1408 public: 1408 public:
1409 static InstARM32Vabs *create(Cfg *Func, Variable *Dest, Variable *Src, 1409 static InstARM32Vabs *create(Cfg *Func, Variable *Dest, Variable *Src,
1410 CondARM32::Cond Predicate) { 1410 CondARM32::Cond Predicate) {
1411 return new (Func->allocate<InstARM32Vabs>()) 1411 return new (Func->allocate<InstARM32Vabs>())
1412 InstARM32Vabs(Func, Dest, Src, Predicate); 1412 InstARM32Vabs(Func, Dest, Src, Predicate);
1413 } 1413 }
1414 void emit(const Cfg *Func) const override; 1414 void emit(const Cfg *Func) const override;
1415 void emitIAS(const Cfg *Func) const override;
1415 void dump(const Cfg *Func) const override; 1416 void dump(const Cfg *Func) const override;
1416 static bool classof(const Inst *Inst) { return isClassof(Inst, Vabs); } 1417 static bool classof(const Inst *Inst) { return isClassof(Inst, Vabs); }
1417 1418
1418 private: 1419 private:
1419 InstARM32Vabs(Cfg *Func, Variable *Dest, Variable *Src, 1420 InstARM32Vabs(Cfg *Func, Variable *Dest, Variable *Src,
1420 CondARM32::Cond Predicate); 1421 CondARM32::Cond Predicate);
1421 }; 1422 };
1422 1423
1423 class InstARM32Dmb final : public InstARM32Pred { 1424 class InstARM32Dmb final : public InstARM32Pred {
1424 InstARM32Dmb() = delete; 1425 InstARM32Dmb() = delete;
(...skipping 18 matching lines...) Expand all
1443 // violations and link errors. 1444 // violations and link errors.
1444 1445
1445 template <> void InstARM32Ldr::emit(const Cfg *Func) const; 1446 template <> void InstARM32Ldr::emit(const Cfg *Func) const;
1446 template <> void InstARM32Movw::emit(const Cfg *Func) const; 1447 template <> void InstARM32Movw::emit(const Cfg *Func) const;
1447 template <> void InstARM32Movt::emit(const Cfg *Func) const; 1448 template <> void InstARM32Movt::emit(const Cfg *Func) const;
1448 1449
1449 } // end of namespace ARM32 1450 } // end of namespace ARM32
1450 } // end of namespace Ice 1451 } // end of namespace Ice
1451 1452
1452 #endif // SUBZERO_SRC_ICEINSTARM32_H 1453 #endif // SUBZERO_SRC_ICEINSTARM32_H
OLDNEW
« no previous file with comments | « src/IceAssemblerARM32.cpp ('k') | src/IceInstARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698