]> gcc.gnu.org Git - gcc.git/commit
aarch64, testsuite: Tweak sve/pcs/args_9.c to allow stps
authorAlex Coplan <alex.coplan@arm.com>
Wed, 4 Oct 2023 13:13:00 +0000 (14:13 +0100)
committerAlex Coplan <alex.coplan@arm.com>
Thu, 19 Oct 2023 10:12:23 +0000 (11:12 +0100)
commitcf776eebe86b8b75697de55a6a8ade72ce9f66c5
treed5294d01e4ad12c485508c4a77e904aae1b01c60
parent583ca5f5997df6595b0c760053f4499a456b0003
aarch64, testsuite: Tweak sve/pcs/args_9.c to allow stps

With the new ldp/stp pass enabled, there is a change in the codegen for
this test as follows:

        add     x8, sp, 16
        ptrue   p3.h, mul3
        str     p3, [x8]
-       str     x8, [sp, 8]
-       str     x9, [sp]
+       stp     x9, x8, [sp]
        ptrue   p3.d, vl8
        ptrue   p2.s, vl7
        ptrue   p1.h, vl6

i.e. we now form an stp that we were missing previously. This patch
adjusts the scan-assembler such that it should pass whether or not
we form the stp.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/sve/pcs/args_9.c: Adjust scan-assemblers to
allow for stp.
gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c
This page took 0.06605 seconds and 5 git commands to generate.