This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2] [MIPS] Add machine mode to get_fcsr pattern operand
- From: Jeff Law <law at redhat dot com>
- To: Mihailo Stojanovic <mihailo dot stojanovic at rt-rk dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 23 Aug 2019 13:11:26 -0600
- Subject: Re: [PATCH v2] [MIPS] Add machine mode to get_fcsr pattern operand
- References: <1566546354-14448-1-git-send-email-mihailo.stojanovic@rt-rk.com>
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
> ---