This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] [MIPS] Add machine mode to get_fcsr pattern operand


On 8/23/19 1:45 AM, Mihailo Stojanovic wrote:
> Hi,
> 
> Missing machine mode for the unspec_volatile operand of get_fcsr
> patterns causes an ICE in simplify_subreg on n64 ABI.
> 
> This adds the missing machine modes and a new test.
> 
> Tested on mips64el-mti-linux-gnu.
> 
> Ok for trunk and possibly backport?
> 
> Cheers,
> Mihailo
> 
> gcc/
> 
>         * config/mips/mips.md (mips_get_fcsr, *mips_get_fcsr): Use SI
>         machine mode for unspec_volatile operand.
>         * testsuite/gcc.target/mips/get-fcsr-3.c: New test.
Committed to the trunk, gcc-9 and gcc-8 branches.

Thanks,
jeff
> ---


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]