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

Side by Side Diff: src/IceInstARM32.h

Issue 1540653003: Add VADD instruction to the ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Clean up ARM register functions. 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/IceConditionCodesARM32.h ('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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 static InstARM32ThreeAddrFP *create(Cfg *Func, Variable *Dest, Variable *Src0, 725 static InstARM32ThreeAddrFP *create(Cfg *Func, Variable *Dest, Variable *Src0,
726 Variable *Src1) { 726 Variable *Src1) {
727 return new (Func->allocate<InstARM32ThreeAddrFP>()) 727 return new (Func->allocate<InstARM32ThreeAddrFP>())
728 InstARM32ThreeAddrFP(Func, Dest, Src0, Src1); 728 InstARM32ThreeAddrFP(Func, Dest, Src0, Src1);
729 } 729 }
730 void emit(const Cfg *Func) const override { 730 void emit(const Cfg *Func) const override {
731 if (!BuildDefs::dump()) 731 if (!BuildDefs::dump())
732 return; 732 return;
733 emitThreeAddrFP(Opcode, this, Func); 733 emitThreeAddrFP(Opcode, this, Func);
734 } 734 }
735 void emitIAS(const Cfg *Func) const override;
735 void dump(const Cfg *Func) const override { 736 void dump(const Cfg *Func) const override {
736 if (!BuildDefs::dump()) 737 if (!BuildDefs::dump())
737 return; 738 return;
738 Ostream &Str = Func->getContext()->getStrDump(); 739 Ostream &Str = Func->getContext()->getStrDump();
739 dumpDest(Func); 740 dumpDest(Func);
740 Str << " = "; 741 Str << " = ";
741 Str << Opcode << "." << getDest()->getType() << " "; 742 Str << Opcode << "." << getDest()->getType() << " ";
742 dumpSources(Func); 743 dumpSources(Func);
743 } 744 }
744 static bool classof(const Inst *Inst) { return isClassof(Inst, K); } 745 static bool classof(const Inst *Inst) { return isClassof(Inst, K); }
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 // violations and link errors. 1375 // violations and link errors.
1375 1376
1376 template <> void InstARM32Ldr::emit(const Cfg *Func) const; 1377 template <> void InstARM32Ldr::emit(const Cfg *Func) const;
1377 template <> void InstARM32Movw::emit(const Cfg *Func) const; 1378 template <> void InstARM32Movw::emit(const Cfg *Func) const;
1378 template <> void InstARM32Movt::emit(const Cfg *Func) const; 1379 template <> void InstARM32Movt::emit(const Cfg *Func) const;
1379 1380
1380 } // end of namespace ARM32 1381 } // end of namespace ARM32
1381 } // end of namespace Ice 1382 } // end of namespace Ice
1382 1383
1383 #endif // SUBZERO_SRC_ICEINSTARM32_H 1384 #endif // SUBZERO_SRC_ICEINSTARM32_H
OLDNEW
« no previous file with comments | « src/IceConditionCodesARM32.h ('k') | src/IceInstARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698