[gcc r17-2689] testsuite/aarch64: Update bitint-args.c for w vs x reg usage

Andrea Pinski via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:6c3bea12470afd607fe7a56da18c312a6784ec4c

commit r17-2689-g6c3bea12470afd607fe7a56da18c312a6784ec4c
Author: Andrea Pinski <[email protected]>
Date:   Fri Jul 24 13:47:02 2026 -0700

    testsuite/aarch64: Update bitint-args.c for w vs x reg usage
    
    bitint-args.c was failing due to the code produced by gcc,
    now using the w form of register for f19.  This code is
    correct and expected form now after prefering the w form
    over the x form.
    
    Pushed as obvious after testing to make sure it works now.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/aarch64/bitint-args.c (f19): Fix
            expected form of sbfx to use the w form.
    
    Signed-off-by: Andrea Pinski <[email protected]>

Diff:
---
 gcc/testsuite/gcc.target/aarch64/bitint-args.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/bitint-args.c b/gcc/testsuite/gcc.target/aarch64/bitint-args.c
index 06b47246fa50..bc580849658d 100644
--- a/gcc/testsuite/gcc.target/aarch64/bitint-args.c
+++ b/gcc/testsuite/gcc.target/aarch64/bitint-args.c
@@ -40,7 +40,7 @@ CHECK_ARG(16)
 CHECK_ARG(19)
 /*
 ** f19:
-**	sbfx	x([0-9]+), x1, 0, 19
+**	sbfx	w([0-9]+), w1, 0, 19
 **	str	w\1, \[x0\]
 **	ret
 */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.