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`
>
在 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:
>
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_
在 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:
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
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.
(