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

Side by Side Diff: src/IceInstARM32.h

Issue 1422253003: Add UMULL to ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. 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 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 1079
1080 public: 1080 public:
1081 /// Everything must be a register. 1081 /// Everything must be a register.
1082 static InstARM32Umull *create(Cfg *Func, Variable *DestLo, Variable *DestHi, 1082 static InstARM32Umull *create(Cfg *Func, Variable *DestLo, Variable *DestHi,
1083 Variable *Src0, Variable *Src1, 1083 Variable *Src0, Variable *Src1,
1084 CondARM32::Cond Predicate) { 1084 CondARM32::Cond Predicate) {
1085 return new (Func->allocate<InstARM32Umull>()) 1085 return new (Func->allocate<InstARM32Umull>())
1086 InstARM32Umull(Func, DestLo, DestHi, Src0, Src1, Predicate); 1086 InstARM32Umull(Func, DestLo, DestHi, Src0, Src1, Predicate);
1087 } 1087 }
1088 void emit(const Cfg *Func) const override; 1088 void emit(const Cfg *Func) const override;
1089 void emitIAS(const Cfg *Func) const override;
1089 void dump(const Cfg *Func) const override; 1090 void dump(const Cfg *Func) const override;
1090 static bool classof(const Inst *Inst) { return isClassof(Inst, Umull); } 1091 static bool classof(const Inst *Inst) { return isClassof(Inst, Umull); }
1091 1092
1092 private: 1093 private:
1093 InstARM32Umull(Cfg *Func, Variable *DestLo, Variable *DestHi, Variable *Src0, 1094 InstARM32Umull(Cfg *Func, Variable *DestLo, Variable *DestHi, Variable *Src0,
1094 Variable *Src1, CondARM32::Cond Predicate); 1095 Variable *Src1, CondARM32::Cond Predicate);
1095 1096
1096 Variable *DestHi; 1097 Variable *DestHi;
1097 }; 1098 };
1098 1099
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1243 // default implementations. Without this, there is the possibility of ODR 1244 // default implementations. Without this, there is the possibility of ODR
1244 // violations and link errors. 1245 // violations and link errors.
1245 1246
1246 template <> void InstARM32Ldr::emit(const Cfg *Func) const; 1247 template <> void InstARM32Ldr::emit(const Cfg *Func) const;
1247 template <> void InstARM32Movw::emit(const Cfg *Func) const; 1248 template <> void InstARM32Movw::emit(const Cfg *Func) const;
1248 template <> void InstARM32Movt::emit(const Cfg *Func) const; 1249 template <> void InstARM32Movt::emit(const Cfg *Func) const;
1249 1250
1250 } // end of namespace Ice 1251 } // end of namespace Ice
1251 1252
1252 #endif // SUBZERO_SRC_ICEINSTARM32_H 1253 #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