https://gcc.gnu.org/g:7233c056b80d2c2a89b034b50a52d2d3873930ef

commit 7233c056b80d2c2a89b034b50a52d2d3873930ef
Author: Alexandre Oliva <ol...@gnu.org>
Date:   Thu May 8 20:21:43 2025 -0300

    [testsuite] [ppc] adjust vsx-builtin-7.c xxpermdi/rldic counts
    
    xxpermdi (and rldic) instruction counts are slightly lower than
    expected.  Adjust.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/vsx-builtin-7.c: Adjust expected counts.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c 
b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c
index 4de240c6a95d..832a365dd394 100644
--- a/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c
+++ b/gcc/testsuite/gcc.target/powerpc/vsx-builtin-7.c
@@ -192,10 +192,11 @@ vector unsigned __int128 splat_uint128 (unsigned __int128 
x) { return vec_splats
  */
 
 /* { dg-final { scan-assembler-times {\mrldic\M} 0  { target { be && ilp32 } } 
} } */
-/* { dg-final { scan-assembler-times {\mrldic\M} 65 { target { be && lp64 } } 
} } */
-/* { dg-final { scan-assembler-times {\mrldic\M} 65 { target le } } } */
-/* { dg-final { scan-assembler-times "xxpermdi" 33 { target be } } } */
-/* { dg-final { scan-assembler-times "xxpermdi" 35 { target le } } } */
+/* { dg-final { scan-assembler-times {\mrldic\M} 64 { target { be && lp64 } } 
} } */
+/* { dg-final { scan-assembler-times {\mrldic\M} 64 { target le } } } */
+/* { dg-final { scan-assembler-times "xxpermdi" 32 { target ilp32 } } } */
+/* { dg-final { scan-assembler-times "xxpermdi" 32 { target { be && lp64 } } } 
} */
+/* { dg-final { scan-assembler-times "xxpermdi" 34 { target { le && lp64 } } } 
} */
 /* { dg-final { scan-assembler-times "vspltisb" 2 } } */
 /* { dg-final { scan-assembler-times "vspltish" 2 } } */
 /* { dg-final { scan-assembler-times "vspltisw" 2 { target be } } } */

Reply via email to