Re: [PATCH] libffi: Fix MIPS r6 support

2021-08-30 Thread YunQiang Su
Jeff Law via Gcc-patches 于2021年8月30日周一 下午9:48写道: > > > > On 8/30/2021 2:47 AM, YunQiang Su wrote: > > 在 2021/8/30 5:00, Jeff Law 写道: > >> > >> > >> On 8/28/2021 1:23 AM, Xi Ruoyao wrote: > >>> On Fri, 2021-08-27 at 15:28 -0600, Jeff Law via Gcc-patches wrote: > > On 8/26/2021 10:58 PM,

Re: [PATCH] libffi: Fix MIPS r6 support

2021-08-30 Thread Jeff Law via Gcc-patches
On 8/30/2021 2:47 AM, YunQiang Su wrote: 在 2021/8/30 5:00, Jeff Law 写道: On 8/28/2021 1:23 AM, Xi Ruoyao wrote: On Fri, 2021-08-27 at 15:28 -0600, Jeff Law via Gcc-patches wrote: On 8/26/2021 10:58 PM, YunQiang Su wrote: for some instructions, MIPS r6 uses different encoding other than

Re: [PATCH] libffi: Fix MIPS r6 support

2021-08-30 Thread YunQiang Su
在 2021/8/30 5:00, Jeff Law 写道: On 8/28/2021 1:23 AM, Xi Ruoyao wrote: On Fri, 2021-08-27 at 15:28 -0600, Jeff Law via Gcc-patches wrote: On 8/26/2021 10:58 PM, YunQiang Su wrote: for some instructions, MIPS r6 uses different encoding other than the previous releases. 1. mips/n32.S disable

Re: [PATCH] libffi: Fix MIPS r6 support

2021-08-29 Thread Jeff Law via Gcc-patches
On 8/28/2021 1:23 AM, Xi Ruoyao wrote: On Fri, 2021-08-27 at 15:28 -0600, Jeff Law via Gcc-patches wrote: On 8/26/2021 10:58 PM, YunQiang Su wrote: for some instructions, MIPS r6 uses different encoding other than the previous releases. 1. mips/n32.S disable .set mips4: since it casuses

Re: [PATCH] libffi: Fix MIPS r6 support

2021-08-28 Thread YunQiang Su
Xi Ruoyao via Gcc-patches 于2021年8月28日周六 下午3:25写道: > > On Fri, 2021-08-27 at 15:28 -0600, Jeff Law via Gcc-patches wrote: > > > > > > On 8/26/2021 10:58 PM, YunQiang Su wrote: > > > for some instructions, MIPS r6 uses different encoding other than > > > the previous releases. > > > > > > 1.

Re: [PATCH] libffi: Fix MIPS r6 support

2021-08-28 Thread Xi Ruoyao via Gcc-patches
On Fri, 2021-08-27 at 15:28 -0600, Jeff Law via Gcc-patches wrote: > > > On 8/26/2021 10:58 PM, YunQiang Su wrote: > > for some instructions, MIPS r6 uses different encoding other than > > the previous releases. > > > > 1. mips/n32.S disable .set mips4: since it casuses old insn encoding > >    

Re: [PATCH] libffi: Fix MIPS r6 support

2021-08-27 Thread Jeff Law via Gcc-patches
On 8/26/2021 10:58 PM, YunQiang Su wrote: for some instructions, MIPS r6 uses different encoding other than the previous releases. 1. mips/n32.S disable .set mips4: since it casuses old insn encoding is used. https://github.com/libffi/libffi/pull/396 2. mips/ffi.c: the encoding for

[PATCH] libffi: Fix MIPS r6 support

2021-08-26 Thread YunQiang Su
for some instructions, MIPS r6 uses different encoding other than the previous releases. 1. mips/n32.S disable .set mips4: since it casuses old insn encoding is used. https://github.com/libffi/libffi/pull/396 2. mips/ffi.c: the encoding for JR is hardcoded: we need to use different value