]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/aarch64: Update bitint-args.c for w vs x reg usage
authorAndrea Pinski <andrew.pinski@oss.qualcomm.com>
Fri, 24 Jul 2026 20:47:02 +0000 (13:47 -0700)
committerAndrea Pinski <andrew.pinski@oss.qualcomm.com>
Fri, 24 Jul 2026 21:01:38 +0000 (14:01 -0700)
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 <andrew.pinski@oss.qualcomm.com>
gcc/testsuite/gcc.target/aarch64/bitint-args.c

index 06b47246fa50809e95a3ba1eb9cd029f2cd4a627..bc580849658d73de2242f280aa71f93aefbc0b56 100644 (file)
@@ -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
 */