[PATCH] [mips] Enable code generation for the MIPS II target.

Vasileios Kalintiris Vasileios.Kalintiris at imgtec.com
Thu Nov 6 08:51:11 PST 2014


Hi dsanders,

This patch enables code generation for the MIPS II target. Pre-Mips32
targets don't have the MUL instruction, so we add the correspondent
pattern that uses the MULT/MFLO combination in order to retrieve the
product.

This is WIP as we don't support code generation for select nodes due to
the lack of conditional-move instructions.

http://reviews.llvm.org/D6150

Files:
  lib/Target/Mips/MipsInstrInfo.td
  lib/Target/Mips/MipsSubtarget.cpp
  lib/Target/Mips/MipsSubtarget.h
  test/CodeGen/Mips/llvm-ir/mul.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6150.15877.patch
Type: text/x-patch
Size: 6142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141106/3f824484/attachment.bin>


More information about the llvm-commits mailing list