[PATCH] D14390: [mips] Expansion of LI.S and LI.D

Srdjan Obucina via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 13:02:57 PST 2015


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

This patch introduces LI.S and LI.D pseudo instruction with floating point operand.

Main concern here - is the floating point operand type introduced in the right manner. Do we need or in what way to make this part more general, and enable its usage in more instructions (e.g. aliases for instructions with floating-point constant as operand, similar to what loadImmediate does for integers)?


http://reviews.llvm.org/D14390

Files:
  include/llvm/MC/MCExpr.h
  lib/MC/MCExpr.cpp
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
  lib/Target/Mips/InstPrinter/MipsInstPrinter.h
  lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
  lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
  lib/Target/Mips/MipsInstrFPU.td
  lib/Target/Mips/MipsMCInstLower.cpp
  test/MC/Mips/li.d.s
  test/MC/Mips/li.s.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14390.39399.patch
Type: text/x-patch
Size: 34173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151105/43d5f61a/attachment.bin>


More information about the llvm-commits mailing list