From 475904f710ccb99653d1f5c1cf426eaa3aa1626c Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Wed, 10 May 2023 22:10:49 +0100 Subject: [PATCH] Use [(const_int 0)] idiom consistently in i386.md This cleans up the use of [(clobber (const_int 0))] in the i386 backend. 2023-05-10 Roger Sayle gcc/ChangeLog * config/i386/i386.md (*concat3_1): Use preferred [(const_int 0)] idiom, instead of [(clobber (const_int 0))]. (*concat3_2): Likewise. (*concat3_3): Likewise. (*concat3_4): Likewise. (*concat3_5): Likewise. (*concat3_6): Likewise. (*concat3_7): Likewise. --- gcc/config/i386/i386.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 5a064f306eb..e6ebc461e52 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -11609,7 +11609,7 @@ "INTVAL (operands[2]) == * BITS_PER_UNIT" "#" "&& reload_completed" - [(clobber (const_int 0))] + [(const_int 0)] { split_double_concat (mode, operands[0], operands[3], gen_lowpart (mode, operands[1])); @@ -11626,7 +11626,7 @@ "INTVAL (operands[3]) == * BITS_PER_UNIT" "#" "&& reload_completed" - [(clobber (const_int 0))] + [(const_int 0)] { split_double_concat (mode, operands[0], operands[1], gen_lowpart (mode, operands[2])); @@ -11645,7 +11645,7 @@ "INTVAL (operands[2]) == * BITS_PER_UNIT" "#" "&& reload_completed" - [(clobber (const_int 0))] + [(const_int 0)] { split_double_concat (mode, operands[0], operands[3], operands[1]); DONE; @@ -11663,7 +11663,7 @@ "INTVAL (operands[3]) == * BITS_PER_UNIT" "#" "&& reload_completed" - [(clobber (const_int 0))] + [(const_int 0)] { split_double_concat (mode, operands[0], operands[1], operands[2]); DONE; @@ -11690,7 +11690,7 @@ VOIDmode))" "#" "&& reload_completed" - [(clobber (const_int 0))] + [(const_int 0)] { rtx op3 = simplify_subreg (mode, operands[3], mode, 0); split_double_concat (mode, operands[0], op3, @@ -11722,7 +11722,7 @@ VOIDmode))" "#" "&& reload_completed" - [(clobber (const_int 0))] + [(const_int 0)] { rtx op3 = simplify_subreg (mode, operands[3], mode, 0); split_double_concat (mode, operands[0], op3, operands[1]); @@ -11748,7 +11748,7 @@ VOIDmode)" "#" "&& reload_completed" - [(clobber (const_int 0))] + [(const_int 0)] { rtx op2; if (mode == DImode)