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

Side by Side Diff: src/IceInstMIPS32.h

Issue 1730263002: Subzero: Add missing bits to MIPS implementation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | src/IceInstMIPS32.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/IceInstMIPS32.h - MIPS32 machine instrs --*- C++ -*-=== // 1 //===- subzero/src/IceInstMIPS32.h - MIPS32 machine instrs --*- 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 SizeT getNumber() const { return Number; } 312 SizeT getNumber() const { return Number; }
313 void emit(const Cfg *Func) const override; 313 void emit(const Cfg *Func) const override;
314 void emitIAS(const Cfg *Func) const override; 314 void emitIAS(const Cfg *Func) const override;
315 void dump(const Cfg *Func) const override; 315 void dump(const Cfg *Func) const override;
316 316
317 static bool classof(const Inst *Instr) { return isClassof(Instr, Label); } 317 static bool classof(const Inst *Instr) { return isClassof(Instr, Label); }
318 318
319 private: 319 private:
320 InstMIPS32Label(Cfg *Func, TargetMIPS32 *Target); 320 InstMIPS32Label(Cfg *Func, TargetMIPS32 *Target);
321 321
322 RelocOffset *OffsetReloc = nullptr; 322 // RelocOffset *OffsetReloc = nullptr;
John 2016/02/24 15:11:19 why? just remove the field if it is not used.
Jim Stichnoth 2016/02/24 15:16:50 Leaving that for a separate cleanup CL - unfortuna
323 323
324 SizeT Number; // used for unique label generation. 324 SizeT Number; // used for unique label generation.
325 }; 325 };
326 326
327 /// Direct branch instruction. 327 /// Direct branch instruction.
328 class InstMIPS32Br : public InstMIPS32 { 328 class InstMIPS32Br : public InstMIPS32 {
329 InstMIPS32Br() = delete; 329 InstMIPS32Br() = delete;
330 InstMIPS32Br(const InstMIPS32Br &) = delete; 330 InstMIPS32Br(const InstMIPS32Br &) = delete;
331 InstMIPS32Br &operator=(const InstMIPS32Br &) = delete; 331 InstMIPS32Br &operator=(const InstMIPS32Br &) = delete;
332 332
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 void emitSingleDestMultiSource(const Cfg *Func) const; 511 void emitSingleDestMultiSource(const Cfg *Func) const;
512 void emitSingleDestSingleSource(const Cfg *Func) const; 512 void emitSingleDestSingleSource(const Cfg *Func) const;
513 513
514 Variable *DestHi = nullptr; 514 Variable *DestHi = nullptr;
515 }; 515 };
516 516
517 } // end of namespace MIPS32 517 } // end of namespace MIPS32
518 } // end of namespace Ice 518 } // end of namespace Ice
519 519
520 #endif // SUBZERO_SRC_ICEINSTMIPS32_H 520 #endif // SUBZERO_SRC_ICEINSTMIPS32_H
OLDNEW
« no previous file with comments | « no previous file | src/IceInstMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698