Richard Pennington via llvm-dev
2015-Sep-27 23:52 UTC
[llvm-dev] [libunwind][Mips] Problem using gas to assemble UnwindRegistersSave.S
On 09/27/2015 06:41 PM, Vasileios Kalintiris wrote:> Hi Richard, > > Clang doesn't have support for MIPS I. The trap-on-condition instructions were added in MIPS II and they should work fine. This is why it works with ".set mips32r2". > > Which version of the ISA did you specify when you used the integrated assembler? > > Thanks, > Vasileios > >Hi Vasileios, The integrated assembler works great. It was gas that complained. Apparently gas must default to MIPS I -Rich
Daniel Sanders via llvm-dev
2015-Sep-28 08:15 UTC
[llvm-dev] [libunwind][Mips] Problem using gas to assemble UnwindRegistersSave.S
> The integrated assembler works great. It was gas that complained. > Apparently gas must default to MIPS IThat depends on the exact toolchain you have since the default is often overridden but the default-default is MIPS-I. Clang defaults to MIPS32R2/MIPS64R2 depending on the triple at the moment.> Should the integrated assembler be enabled by default for the Mips?Not yet. There's a number of quiet mis-assembly bugs at the moment. The plan is to switch it on once it's good enough for the Linux kernel and see what bug reports come back.> -----Original Message----- > From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of > Richard Pennington via llvm-dev > Sent: 28 September 2015 00:52 > To: Vasileios Kalintiris; llvm-dev at lists.llvm.org > Subject: Re: [llvm-dev] [libunwind][Mips] Problem using gas to assemble > UnwindRegistersSave.S > > On 09/27/2015 06:41 PM, Vasileios Kalintiris wrote: > > Hi Richard, > > > > Clang doesn't have support for MIPS I. The trap-on-condition instructions > were added in MIPS II and they should work fine. This is why it works with > ".set mips32r2". > > > > Which version of the ISA did you specify when you used the integrated > assembler? > > > > Thanks, > > Vasileios > > > > > Hi Vasileios, > > The integrated assembler works great. It was gas that complained. > Apparently gas must default to MIPS I > > -Rich > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Daniel Sanders via llvm-dev
2015-Sep-30 10:48 UTC
[llvm-dev] [libunwind][Mips] Problem using gas to assemble UnwindRegistersSave.S
> > Should the integrated assembler be enabled by default for the Mips? > > Not yet. There's a number of quiet mis-assembly bugs at the moment. The > plan is to switch it on once it's good enough for the Linux kernel and see what > bug reports come back.Having said this, we had our first successful boot of the Linux kernel build with clang and -fintegrated-as today.
Maybe Matching Threads
- [libunwind][Mips] Problem using gas to assemble UnwindRegistersSave.S
- [libunwind][Mips] Problem using gas to assemble UnwindRegistersSave.S
- Exceptions not getting caught on bare-metal target
- clang invokes assembler when generating obj file?
- Failed to configure LLVM for use with Musl