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

Side by Side Diff: src/IceInstARM32.h

Issue 1564393002: Add VCMP{s,sz,d,dz} Instructions to ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. 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 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 return new (Func->allocate<InstARM32Vcmp>()) 1355 return new (Func->allocate<InstARM32Vcmp>())
1356 InstARM32Vcmp(Func, Src0, Src1, Predicate); 1356 InstARM32Vcmp(Func, Src0, Src1, Predicate);
1357 } 1357 }
1358 static InstARM32Vcmp *create(Cfg *Func, Variable *Src0, 1358 static InstARM32Vcmp *create(Cfg *Func, Variable *Src0,
1359 OperandARM32FlexFpZero *Src1, 1359 OperandARM32FlexFpZero *Src1,
1360 CondARM32::Cond Predicate) { 1360 CondARM32::Cond Predicate) {
1361 return new (Func->allocate<InstARM32Vcmp>()) 1361 return new (Func->allocate<InstARM32Vcmp>())
1362 InstARM32Vcmp(Func, Src0, Src1, Predicate); 1362 InstARM32Vcmp(Func, Src0, Src1, Predicate);
1363 } 1363 }
1364 void emit(const Cfg *Func) const override; 1364 void emit(const Cfg *Func) const override;
1365 void emitIAS(const Cfg *Func) const override;
1365 void dump(const Cfg *Func) const override; 1366 void dump(const Cfg *Func) const override;
1366 static bool classof(const Inst *Inst) { return isClassof(Inst, Vcmp); } 1367 static bool classof(const Inst *Inst) { return isClassof(Inst, Vcmp); }
1367 1368
1368 private: 1369 private:
1369 InstARM32Vcmp(Cfg *Func, Variable *Src0, Operand *Src1, 1370 InstARM32Vcmp(Cfg *Func, Variable *Src0, Operand *Src1,
1370 CondARM32::Cond Predicate); 1371 CondARM32::Cond Predicate);
1371 }; 1372 };
1372 1373
1373 /// Copies the FP Status and Control Register the core flags. 1374 /// Copies the FP Status and Control Register the core flags.
1374 class InstARM32Vmrs final : public InstARM32Pred { 1375 class InstARM32Vmrs final : public InstARM32Pred {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 // violations and link errors. 1432 // violations and link errors.
1432 1433
1433 template <> void InstARM32Ldr::emit(const Cfg *Func) const; 1434 template <> void InstARM32Ldr::emit(const Cfg *Func) const;
1434 template <> void InstARM32Movw::emit(const Cfg *Func) const; 1435 template <> void InstARM32Movw::emit(const Cfg *Func) const;
1435 template <> void InstARM32Movt::emit(const Cfg *Func) const; 1436 template <> void InstARM32Movt::emit(const Cfg *Func) const;
1436 1437
1437 } // end of namespace ARM32 1438 } // end of namespace ARM32
1438 } // end of namespace Ice 1439 } // end of namespace Ice
1439 1440
1440 #endif // SUBZERO_SRC_ICEINSTARM32_H 1441 #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