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

2020-11-03 Thread Michael Roe via Phabricator via cfe-commits
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

___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


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

2020-11-04 Thread Michael Roe via Phabricator via cfe-commits
michael-roe added a comment.

Thanks!

I agree with those changes; I'll implement them and then resubmit a patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90570

___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits