Re: [PATCH] MIPS: Add some floating point instructions support for MIPSr6

2024-09-11 Thread Xi Ruoyao
On Wed, 2024-09-11 at 16:17 +0800, 梅杰 wrote: > 在 2024/9/10 17:30, Xi Ruoyao 写道: > > On Tue, 2024-09-10 at 16:50 +0800, 梅杰 wrote: > > > As for the function `__builtin_rint`, although it exists, however, after > > > defining the instruction in `mips.md`, GCC still won't generate > > > `RINT.fmt` >

Re: [PATCH] MIPS: Add some floating point instructions support for MIPSr6

2024-09-11 Thread 梅杰
在 2024/9/10 17:30, Xi Ruoyao 写道: > On Tue, 2024-09-10 at 16:50 +0800, 梅杰 wrote: >> As for the function `__builtin_rint`, although it exists, however, after >> defining the instruction in `mips.md`, GCC still won't generate `RINT.fmt` >> instruction for MIPS, it generates following code instead: >

Re: [PATCH] MIPS: Add some floating point instructions support for MIPSr6

2024-09-10 Thread Xi Ruoyao
On Tue, 2024-09-10 at 16:50 +0800, 梅杰 wrote: > As for the function `__builtin_rint`, although it exists, however, after > defining the instruction in `mips.md`, GCC still won't generate `RINT.fmt` > instruction for MIPS, it generates following code instead: > > > lui $28,%hi(__gnu_local_

Re: [PATCH] MIPS: Add some floating point instructions support for MIPSr6

2024-09-10 Thread 梅杰
在 2024/9/3 08:30, YunQiang Su 写道: > Jie Mei 于2024年7月26日周五 14:50写道: >> >> This patch adds some floating point instructiions from mips32r6, >> for instance, MINA/MAXA.fmt, RINT.fmt, CLASS.fmt etc. >> >> Also add built-in functions to MIPSr6 to better handle tests >> for MIPSr6. >> >> gcc/ChangeLog:

Re: [PATCH] MIPS: Add some floating point instructions support for MIPSr6

2024-09-02 Thread YunQiang Su
Jie Mei 于2024年7月26日周五 14:50写道: > > This patch adds some floating point instructiions from mips32r6, > for instance, MINA/MAXA.fmt, RINT.fmt, CLASS.fmt etc. > > Also add built-in functions to MIPSr6 to better handle tests > for MIPSr6. > > gcc/ChangeLog: > > * config/mips/i6400.md (i6400_fp

[PATCH] MIPS: Add some floating point instructions support for MIPSr6

2024-07-25 Thread Jie Mei
This patch adds some floating point instructiions from mips32r6, for instance, MINA/MAXA.fmt, RINT.fmt, CLASS.fmt etc. Also add built-in functions to MIPSr6 to better handle tests for MIPSr6. gcc/ChangeLog: * config/mips/i6400.md (i6400_fpu_minmax): Include fclass type. (