[gcc r17-3804] testsuite, x86: Allow for vpord in sse2-v1ti-logic-2.c.

Iain D Sandoe iains@gcc.gnu.org
Tue Sep 1 08:16:32 GMT 2026


https://gcc.gnu.org/g:dadf4de4556924e28bb200c6f3d296f2d290ff9f

commit r17-3804-gdadf4de4556924e28bb200c6f3d296f2d290ff9f
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Tue Sep 1 09:12:28 2026 +0100

    testsuite, x86: Allow for vpord in sse2-v1ti-logic-2.c.
    
    The change at r17-3773 did not account for code-gen on arches such as
    cascadelake / sapphirerapids that can produce 'vpord' instructions.
    
    Fixed by allowing the trailing 'd' optionally.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/i386/sse2-v1ti-logic-2.c: Allow for vpord instruction
            variant.
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

Diff:
---
 gcc/testsuite/gcc.target/i386/sse2-v1ti-logic-2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/sse2-v1ti-logic-2.c b/gcc/testsuite/gcc.target/i386/sse2-v1ti-logic-2.c
index 83e9763b4b4b..5817b9d46768 100644
--- a/gcc/testsuite/gcc.target/i386/sse2-v1ti-logic-2.c
+++ b/gcc/testsuite/gcc.target/i386/sse2-v1ti-logic-2.c
@@ -49,5 +49,5 @@ void not2()
 }
 
 /* { dg-final { scan-assembler-times "pand" 2 } } */
-/* { dg-final { scan-assembler-times "por\[ \t\]" 2 } } */
+/* { dg-final { scan-assembler-times "pord?\[ \t\]" 2 } } */
 /* { dg-final { scan-assembler-times "pxor" 4 } } */


More information about the Gcc-cvs mailing list