[PATCH] D14770: [mips][microMIPS] Fix issue with offset operand of BALC and BC instructions

Zoran Jovanovic via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 04:20:31 PST 2015


zoran.jovanovic created this revision.
zoran.jovanovic added reviewers: dsanders, hvarga, zbuljan.
zoran.jovanovic added a subscriber: llvm-commits.
Herald added a subscriber: dsanders.

Value of offset operand for microMIPS BALC and BC instructions is currently shifted 2 bits, but it should be 1 bit.


http://reviews.llvm.org/D14770

Files:
  lib/Target/Mips/Disassembler/MipsDisassembler.cpp
  lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
  lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h
  lib/Target/Mips/MicroMips32r6InstrInfo.td
  test/MC/Disassembler/Mips/micromips32r6/valid.txt
  test/MC/Mips/micromips32r6/valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14770.40493.patch
Type: text/x-patch
Size: 6371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151118/b086a42c/attachment.bin>


More information about the llvm-commits mailing list