[PATCH] D90570: [mips] Add a -mmips3d command line option to clang

Michael Roe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 10:47:27 PST 2020


michael-roe added a comment.

The goal of this patch is that if you have some C code with inline MIPS assembly language that uses MIPS3D instructions, you can get it to compile by passing -mmips3d on the command line. (Without this command line option, there's an awkward workaround that involves putting .set mips3d in your inline assembly language).

I will admit that not many MIPS cores support MIPS3D. The CHERI MIPS FPGA soft core, which may be one of the few remaining MIPS cores that anyone still cares about, currently supports the MIPS V paired single instructions but not (at present) MIPS3D.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90570/new/

https://reviews.llvm.org/D90570



More information about the cfe-commits mailing list