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

Side by Side Diff: src/IceInstARM32.h

Issue 1397043003: Fix emission of move immediate for ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Clean up header file for IceAssemblerARM. Created 5 years, 2 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 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1168 Variable *getDestHi() const { return DestHi; } 1168 Variable *getDestHi() const { return DestHi; }
1169 1169
1170 private: 1170 private:
1171 InstARM32Mov(Cfg *Func, Variable *Dest, Operand *Src, 1171 InstARM32Mov(Cfg *Func, Variable *Dest, Operand *Src,
1172 CondARM32::Cond Predicate); 1172 CondARM32::Cond Predicate);
1173 1173
1174 void emitMultiDestSingleSource(const Cfg *Func) const; 1174 void emitMultiDestSingleSource(const Cfg *Func) const;
1175 void emitSingleDestMultiSource(const Cfg *Func) const; 1175 void emitSingleDestMultiSource(const Cfg *Func) const;
1176 void emitSingleDestSingleSource(const Cfg *Func) const; 1176 void emitSingleDestSingleSource(const Cfg *Func) const;
1177 1177
1178 void emitIASSingleDestSingleSource(const Cfg *Func) const;
1179
1178 Variable *DestHi = nullptr; 1180 Variable *DestHi = nullptr;
1179 }; 1181 };
1180 1182
1181 class InstARM32Vcmp final : public InstARM32Pred { 1183 class InstARM32Vcmp final : public InstARM32Pred {
1182 InstARM32Vcmp() = delete; 1184 InstARM32Vcmp() = delete;
1183 InstARM32Vcmp(const InstARM32Vcmp &) = delete; 1185 InstARM32Vcmp(const InstARM32Vcmp &) = delete;
1184 InstARM32Vcmp &operator=(const InstARM32Vcmp &) = delete; 1186 InstARM32Vcmp &operator=(const InstARM32Vcmp &) = delete;
1185 1187
1186 public: 1188 public:
1187 static InstARM32Vcmp *create(Cfg *Func, Variable *Src0, Variable *Src1, 1189 static InstARM32Vcmp *create(Cfg *Func, Variable *Src0, Variable *Src1,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 // default implementations. Without this, there is the possibility of ODR 1263 // default implementations. Without this, there is the possibility of ODR
1262 // violations and link errors. 1264 // violations and link errors.
1263 1265
1264 template <> void InstARM32Ldr::emit(const Cfg *Func) const; 1266 template <> void InstARM32Ldr::emit(const Cfg *Func) const;
1265 template <> void InstARM32Movw::emit(const Cfg *Func) const; 1267 template <> void InstARM32Movw::emit(const Cfg *Func) const;
1266 template <> void InstARM32Movt::emit(const Cfg *Func) const; 1268 template <> void InstARM32Movt::emit(const Cfg *Func) const;
1267 1269
1268 } // end of namespace Ice 1270 } // end of namespace Ice
1269 1271
1270 #endif // SUBZERO_SRC_ICEINSTARM32_H 1272 #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