[gcc r14-1792] i386: Fix up whitespace in assembly

Jakub Jelinek jakub@gcc.gnu.org
Tue Jun 13 16:40:53 GMT 2023


https://gcc.gnu.org/g:1c188877bfc5a4aee3f777f0d4d60500bc222b54

commit r14-1792-g1c188877bfc5a4aee3f777f0d4d60500bc222b54
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Jun 13 18:39:45 2023 +0200

    i386: Fix up whitespace in assembly
    
    I've noticed that standard_sse_constant_opcode emits some spurious
    whitespace around tab, that isn't something which is done for
    any other instruction and looks wrong.
    
    2023-06-13  Jakub Jelinek  <jakub@redhat.com>
    
            * config/i386/i386.cc (standard_sse_constant_opcode): Remove
            superfluous spaces around \t for vpcmpeqd.

Diff:
---
 gcc/config/i386/i386.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc
index 3a1444db882..b20cb86b822 100644
--- a/gcc/config/i386/i386.cc
+++ b/gcc/config/i386/i386.cc
@@ -5358,19 +5358,19 @@ standard_sse_constant_opcode (rtx_insn *insn, rtx *operands)
       if (GET_MODE_SIZE (mode) == 64)
 	{
 	  gcc_assert (TARGET_AVX512F);
-	  return "vpcmpeqd \t %t0, %t0, %t0";
+	  return "vpcmpeqd\t%t0, %t0, %t0";
 	}
       else if (GET_MODE_SIZE (mode) == 32)
 	{
 	  gcc_assert (TARGET_AVX);
-	  return "vpcmpeqd \t %x0, %x0, %x0";
+	  return "vpcmpeqd\t%x0, %x0, %x0";
 	}
       gcc_unreachable ();
     }
   else if (vector_all_ones_zero_extend_quarter_operand (x, mode))
     {
       gcc_assert (TARGET_AVX512F);
-      return "vpcmpeqd \t %x0, %x0, %x0";
+      return "vpcmpeqd\t%x0, %x0, %x0";
     }
 
   gcc_unreachable ();


More information about the Gcc-cvs mailing list