[clang] [lld] [llvm] [clang][MIPS] Add support for mipsel-windows-* targets (PR #107744)

Jiaxun Yang via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 14 03:50:37 PDT 2024


=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>,
=?utf-8?q?Hervé?= Poussineau <hpoussin at reactos.org>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/107744 at github.com>


FlyGoat wrote:

> > Is there any documentation for calling conventions/exception-handling/etc. for Mips? Do we need to distinguish Windows NT Mips from Windows CE Mips?
> 
> Official Microsoft documentation for Windows CE MIPS is on [MSDN](https://learn.microsoft.com/en-us/previous-versions/windows/embedded/ms864304(v=msdn.10)) Raymond Chen described MIPS on his blog, including [calling convention](https://devblogs.microsoft.com/oldnewthing/20180417-00).
> 
> He also noted that: `The documentation was originally written for Windows CE, but I figure they are still true for Windows NT, because why not reuse the compiler you already have?`

FYI the only practical difference between NT and CE toolchain is that CE toolchain do support n32 ABI `\QMn32`. But I guess that's trivial here.

https://github.com/llvm/llvm-project/pull/107744


More information about the cfe-commits mailing list