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

Side by Side Diff: src/IceInstARM32.h

Issue 1433743002: Add POP instruction to ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Merged into master Created 5 years, 1 month 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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 class InstARM32Pop : public InstARM32 { 941 class InstARM32Pop : public InstARM32 {
942 InstARM32Pop() = delete; 942 InstARM32Pop() = delete;
943 InstARM32Pop(const InstARM32Pop &) = delete; 943 InstARM32Pop(const InstARM32Pop &) = delete;
944 InstARM32Pop &operator=(const InstARM32Pop &) = delete; 944 InstARM32Pop &operator=(const InstARM32Pop &) = delete;
945 945
946 public: 946 public:
947 static InstARM32Pop *create(Cfg *Func, const VarList &Dests) { 947 static InstARM32Pop *create(Cfg *Func, const VarList &Dests) {
948 return new (Func->allocate<InstARM32Pop>()) InstARM32Pop(Func, Dests); 948 return new (Func->allocate<InstARM32Pop>()) InstARM32Pop(Func, Dests);
949 } 949 }
950 void emit(const Cfg *Func) const override; 950 void emit(const Cfg *Func) const override;
951 void emitIAS(const Cfg *Func) const override;
951 void dump(const Cfg *Func) const override; 952 void dump(const Cfg *Func) const override;
952 static bool classof(const Inst *Inst) { return isClassof(Inst, Pop); } 953 static bool classof(const Inst *Inst) { return isClassof(Inst, Pop); }
953 954
954 private: 955 private:
955 InstARM32Pop(Cfg *Func, const VarList &Dests); 956 InstARM32Pop(Cfg *Func, const VarList &Dests);
956 957
957 VarList Dests; 958 VarList Dests;
958 }; 959 };
959 960
960 /// Push a list of GPRs. Technically this can be predicated, but we don't need 961 /// Push a list of GPRs. Technically this can be predicated, but we don't need
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 // default implementations. Without this, there is the possibility of ODR 1245 // default implementations. Without this, there is the possibility of ODR
1245 // violations and link errors. 1246 // violations and link errors.
1246 1247
1247 template <> void InstARM32Ldr::emit(const Cfg *Func) const; 1248 template <> void InstARM32Ldr::emit(const Cfg *Func) const;
1248 template <> void InstARM32Movw::emit(const Cfg *Func) const; 1249 template <> void InstARM32Movw::emit(const Cfg *Func) const;
1249 template <> void InstARM32Movt::emit(const Cfg *Func) const; 1250 template <> void InstARM32Movt::emit(const Cfg *Func) const;
1250 1251
1251 } // end of namespace Ice 1252 } // end of namespace Ice
1252 1253
1253 #endif // SUBZERO_SRC_ICEINSTARM32_H 1254 #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