diff options
author | Jozef Kolek <jozef.kolek@imgtec.com> | 2015-01-12 12:03:34 +0000 |
---|---|---|
committer | Jozef Kolek <jozef.kolek@imgtec.com> | 2015-01-12 12:03:34 +0000 |
commit | 9761e96b011f0ef7ca380a25c96d3c04fed84b2d (patch) | |
tree | 50213d30dbb27612f4d03aae6cc0dddaadad6119 /llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h | |
parent | b70f83eb10c498850b8d099e68b4e3fc13501b17 (diff) | |
download | bcm5719-llvm-9761e96b011f0ef7ca380a25c96d3c04fed84b2d.tar.gz bcm5719-llvm-9761e96b011f0ef7ca380a25c96d3c04fed84b2d.zip |
[mips][microMIPS] Implement BEQZ16 and BNEZ16 instructions
Differential Revision: http://reviews.llvm.org/D5271
llvm-svn: 225627
Diffstat (limited to 'llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h')
-rw-r--r-- | llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h b/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h index 863dd3b1527..0f0f49ddb97 100644 --- a/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h +++ b/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h @@ -101,6 +101,13 @@ public: SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const; + // getBranchTarget7OpValue - Return binary encoding of the microMIPS branch + // target operand. If the machine operand requires relocation, + // record the relocation and return zero. + unsigned getBranchTarget7OpValueMM(const MCInst &MI, unsigned OpNo, + SmallVectorImpl<MCFixup> &Fixups, + const MCSubtargetInfo &STI) const; + // getBranchTargetOpValue - Return binary encoding of the microMIPS branch // target operand. If the machine operand requires relocation, // record the relocation and return zero. |