RE: [PATCH 03/11] arm: Update unexpected empty split condition

2021-06-02 Thread Kyrylo Tkachov via Gcc-patches



> -Original Message-
> From: Kewen Lin 
> Sent: 02 June 2021 06:05
> To: gcc-patches@gcc.gnu.org
> Cc: Kewen Lin ; ni...@redhat.com; Richard
> Earnshaw ; Ramana Radhakrishnan
> ; Kyrylo Tkachov
> 
> Subject: [PATCH 03/11] arm: Update unexpected empty split condition
> 
> gcc/ChangeLog:
> 
>   * config/arm/vfp.md (no_literal_pool_df_immediate,
>   no_literal_pool_sf_immediate): Fix empty split condition.

Ok, thanks for doing this.
Kyrill

> ---
>  gcc/config/arm/vfp.md | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gcc/config/arm/vfp.md b/gcc/config/arm/vfp.md
> index f97af92716b..55b6c1ac585 100644
> --- a/gcc/config/arm/vfp.md
> +++ b/gcc/config/arm/vfp.md
> @@ -2129,7 +2129,7 @@ (define_insn_and_split
> "no_literal_pool_df_immediate"
> && !arm_const_double_rtx (operands[1])
> && !(TARGET_VFP_DOUBLE && vfp3_const_double_rtx (operands[1]))"
>"#"
> -  ""
> +  "&& 1"
>[(const_int 0)]
>  {
>long buf[2];
> @@ -2154,7 +2154,7 @@ (define_insn_and_split
> "no_literal_pool_sf_immediate"
> && TARGET_VFP_BASE
> && !vfp3_const_double_rtx (operands[1])"
>"#"
> -  ""
> +  "&& 1"
>[(const_int 0)]
>  {
>long buf;
> --
> 2.17.1



[PATCH 03/11] arm: Update unexpected empty split condition

2021-06-01 Thread Kewen Lin via Gcc-patches
gcc/ChangeLog:

* config/arm/vfp.md (no_literal_pool_df_immediate,
no_literal_pool_sf_immediate): Fix empty split condition.
---
 gcc/config/arm/vfp.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/arm/vfp.md b/gcc/config/arm/vfp.md
index f97af92716b..55b6c1ac585 100644
--- a/gcc/config/arm/vfp.md
+++ b/gcc/config/arm/vfp.md
@@ -2129,7 +2129,7 @@ (define_insn_and_split "no_literal_pool_df_immediate"
&& !arm_const_double_rtx (operands[1])
&& !(TARGET_VFP_DOUBLE && vfp3_const_double_rtx (operands[1]))"
   "#"
-  ""
+  "&& 1"
   [(const_int 0)]
 {
   long buf[2];
@@ -2154,7 +2154,7 @@ (define_insn_and_split "no_literal_pool_sf_immediate"
&& TARGET_VFP_BASE
&& !vfp3_const_double_rtx (operands[1])"
   "#"
-  ""
+  "&& 1"
   [(const_int 0)]
 {
   long buf;
-- 
2.17.1