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

Side by Side Diff: src/IceInstARM32.h

Issue 1636473002: Add the VMRS instruction to the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix test case. 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/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 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 class InstARM32Vmrs final : public InstARM32Pred { 1376 class InstARM32Vmrs final : public InstARM32Pred {
1377 InstARM32Vmrs() = delete; 1377 InstARM32Vmrs() = delete;
1378 InstARM32Vmrs(const InstARM32Vmrs &) = delete; 1378 InstARM32Vmrs(const InstARM32Vmrs &) = delete;
1379 InstARM32Vmrs &operator=(const InstARM32Vmrs &) = delete; 1379 InstARM32Vmrs &operator=(const InstARM32Vmrs &) = delete;
1380 1380
1381 public: 1381 public:
1382 static InstARM32Vmrs *create(Cfg *Func, CondARM32::Cond Predicate) { 1382 static InstARM32Vmrs *create(Cfg *Func, CondARM32::Cond Predicate) {
1383 return new (Func->allocate<InstARM32Vmrs>()) InstARM32Vmrs(Func, Predicate); 1383 return new (Func->allocate<InstARM32Vmrs>()) InstARM32Vmrs(Func, Predicate);
1384 } 1384 }
1385 void emit(const Cfg *Func) const override; 1385 void emit(const Cfg *Func) const override;
1386 void emitIAS(const Cfg *Func) const override;
1386 void dump(const Cfg *Func) const override; 1387 void dump(const Cfg *Func) const override;
1387 static bool classof(const Inst *Inst) { return isClassof(Inst, Vmrs); } 1388 static bool classof(const Inst *Inst) { return isClassof(Inst, Vmrs); }
1388 1389
1389 private: 1390 private:
1390 InstARM32Vmrs(Cfg *Func, CondARM32::Cond Predicate); 1391 InstARM32Vmrs(Cfg *Func, CondARM32::Cond Predicate);
1391 }; 1392 };
1392 1393
1393 class InstARM32Vabs final : public InstARM32Pred { 1394 class InstARM32Vabs final : public InstARM32Pred {
1394 InstARM32Vabs() = delete; 1395 InstARM32Vabs() = delete;
1395 InstARM32Vabs(const InstARM32Vabs &) = delete; 1396 InstARM32Vabs(const InstARM32Vabs &) = delete;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 // violations and link errors. 1434 // violations and link errors.
1434 1435
1435 template <> void InstARM32Ldr::emit(const Cfg *Func) const; 1436 template <> void InstARM32Ldr::emit(const Cfg *Func) const;
1436 template <> void InstARM32Movw::emit(const Cfg *Func) const; 1437 template <> void InstARM32Movw::emit(const Cfg *Func) const;
1437 template <> void InstARM32Movt::emit(const Cfg *Func) const; 1438 template <> void InstARM32Movt::emit(const Cfg *Func) const;
1438 1439
1439 } // end of namespace ARM32 1440 } // end of namespace ARM32
1440 } // end of namespace Ice 1441 } // end of namespace Ice
1441 1442
1442 #endif // SUBZERO_SRC_ICEINSTARM32_H 1443 #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