[gcc r13-9005] Arm: Fix incorrect tailcall-generation for indirect calls [PR113780]

2024-09-05 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:c56dc83e82af319d02a19f0703c301523ab1ef25 commit r13-9005-gc56dc83e82af319d02a19f0703c301523ab1ef25 Author: Tejas Belagod Date: Thu Jan 25 16:05:36 2024 +0530 Arm: Fix incorrect tailcall-generation for indirect calls [PR113780] This patch fixes a bug that caus

[gcc r15-3588] arm: avoid indirect sibcalls when IP is live [PR116597]

2024-09-11 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:670cfd5fe6433ee8f2e86eedb197d2523dbb033b commit r15-3588-g670cfd5fe6433ee8f2e86eedb197d2523dbb033b Author: Richard Earnshaw Date: Wed Aug 21 16:15:34 2024 +0100 arm: avoid indirect sibcalls when IP is live [PR116597] On Arm only r0-r3 (the argument registers)

[gcc r15-3607] arm: testsuite: make use of -mcpu=unset/-march=unset

2024-09-12 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:9a94c8ffdc8b554a2d95e0101e96830efee58add commit r15-3607-g9a94c8ffdc8b554a2d95e0101e96830efee58add Author: Richard Earnshaw Date: Thu Sep 12 14:24:55 2024 +0100 arm: testsuite: make use of -mcpu=unset/-march=unset This patch makes use of the new ability to un

[gcc r15-3606] arm: Allow -mcpu and -march options to be unset

2024-09-12 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:7d6c6a0d15c136a68d066c60da0f48265a2b1886 commit r15-3606-g7d6c6a0d15c136a68d066c60da0f48265a2b1886 Author: Richard Earnshaw Date: Wed Sep 11 17:06:12 2024 +0100 arm: Allow -mcpu and -march options to be unset The compiler will warn if the architectural specif

[gcc r15-1840] arm: Use LDMIA/STMIA for thumb1 DI/DF loads/stores

2024-07-04 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:236d6fef2479654b3011f8208e1bd7f078700109 commit r15-1840-g236d6fef2479654b3011f8208e1bd7f078700109 Author: Siarhei Volkau Date: Thu Jun 20 10:24:31 2024 +0300 arm: Use LDMIA/STMIA for thumb1 DI/DF loads/stores If the address register is dead after load/store

[gcc r15-1912] arm: clean up some legacy FPA related cruft.

2024-07-09 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:959c168e77f2e1a02b086536c69c99f7413e08bf commit r15-1912-g959c168e77f2e1a02b086536c69c99f7413e08bf Author: Richard Earnshaw Date: Mon Jul 8 23:14:03 2024 +0100 arm: clean up some legacy FPA related cruft. Support for the FPA on Arm was removed after gcc-4.7,

[gcc r15-1938] arm: cleanup legacy ARM_PE code

2024-07-10 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:73f5a3aa3e2f468d2c1a0f6884fe433a4f30 commit r15-1938-g73f5a3aa3e2f468d2c1a0f6884fe433a4f30 Author: Richard Earnshaw Date: Tue Jul 9 22:31:32 2024 +0100 arm: cleanup legacy ARM_PE code The arm 'pe' target was removed back in 2012 when the FPA support w

[gcc r14-9399] arm: testsuite: tweak bics_3.c [PR113542]

2024-03-08 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:ac829a89fb56cfd914d5e29ed4695e499b0dbc95 commit r14-9399-gac829a89fb56cfd914d5e29ed4695e499b0dbc95 Author: Richard Earnshaw Date: Fri Mar 8 16:23:53 2024 + arm: testsuite: tweak bics_3.c [PR113542] This test was too simple, which meant that the compiler w

[gcc r14-9430] gomp: testsuite: improve compatibility of bad-array-section-3.c [PR113428]

2024-03-11 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:c27b30552e6cc789425d3628d294dafc5f3a0861 commit r14-9430-gc27b30552e6cc789425d3628d294dafc5f3a0861 Author: Richard Earnshaw Date: Wed Mar 6 13:41:02 2024 + gomp: testsuite: improve compatibility of bad-array-section-3.c [PR113428] This test generates diff

[gcc r14-9521] testsuite: Turn errors back into warnings in arm/acle/cde-mve-error-2.c

2024-03-18 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:9316d021ebb95062f5e3ed9d67734863279671fe commit r14-9521-g9316d021ebb95062f5e3ed9d67734863279671fe Author: Thiago Jung Bauermann Date: Fri Mar 15 12:13:29 2024 -0300 testsuite: Turn errors back into warnings in arm/acle/cde-mve-error-2.c Since commit 2c3db94d

[gcc r14-9572] aarch64: Sync aarch64-sys-regs.def with Binutils

2024-03-20 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:47cdd86cd5d3d3fd26f9764020c4502ea8eca27b commit r14-9572-g47cdd86cd5d3d3fd26f9764020c4502ea8eca27b Author: Yury Khrustalev Date: Wed Mar 20 11:21:04 2024 + aarch64: Sync aarch64-sys-regs.def with Binutils This patch updates `aarch64-sys-regs.def', bringin

[gcc r15-3930] aarch64: fix build failure on aarch64-none-elf

2024-09-27 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:0ff49a5c1d39382c57d614a29510559068947376 commit r15-3930-g0ff49a5c1d39382c57d614a29510559068947376 Author: Matthieu Longo Date: Thu Sep 26 18:14:23 2024 +0100 aarch64: fix build failure on aarch64-none-elf A previous patch ([1]) introduced a build regression

[gcc r15-5949] arm: remove support for iWMMX/iWMMX2 intrinsics

2024-12-05 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:a92b2be97f369ae4c6e1cdcbb7a45525994afaad commit r15-5949-ga92b2be97f369ae4c6e1cdcbb7a45525994afaad Author: Richard Earnshaw Date: Thu Dec 5 15:14:09 2024 + arm: remove support for iWMMX/iWMMX2 intrinsics The mmintrin.h header was adjusted for GCC-14 to ge

[gcc r15-6038] arm: remove obsolete vcond expanders

2024-12-09 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:2c9b69594665a87f74c6d5cb39fc6e075d75d771 commit r15-6038-g2c9b69594665a87f74c6d5cb39fc6e075d75d771 Author: Richard Earnshaw Date: Fri Dec 6 12:57:52 2024 + arm: remove obsolete vcond expanders The vcond{,u} expander paterns have been declared as obsolete.

[gcc r15-7371] arm: cleanup code in ldm_stm_operation_p; relax limits on ldm/stm

2025-02-05 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:aead1d44b7df50c77ff63482f5548f237ff29033 commit r15-7371-gaead1d44b7df50c77ff63482f5548f237ff29033 Author: Richard Earnshaw Date: Thu Dec 19 15:32:36 2024 + arm: cleanup code in ldm_stm_operation_p; relax limits on ldm/stm I needed to make some adjustment

[gcc r15-7373] arm: Use POP {pc} to return when returning [PR118089]

2025-02-05 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:5163cf2ae14c5e7ec730ad72680564001d0d0441 commit r15-7373-g5163cf2ae14c5e7ec730ad72680564001d0d0441 Author: Richard Earnshaw Date: Thu Dec 19 16:00:48 2024 + arm: Use POP {pc} to return when returning [PR118089] When generating thumb2 code, LDM

[gcc r15-7372] arm: remove constraints from *pop_multiple_with_writeback_and_return

2025-02-05 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:b47c7a5a3c8280ea64754a6c24582236eacef8a2 commit r15-7372-gb47c7a5a3c8280ea64754a6c24582236eacef8a2 Author: Richard Earnshaw Date: Thu Dec 19 15:54:16 2024 + arm: remove constraints from *pop_multiple_with_writeback_and_return This pattern is intended to b

[gcc r15-7455] arm: fix typo in dg-require-effective-target [PR118089]

2025-02-10 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:6ed1b40268ed56c82ea75e7403ded7750d01c85a commit r15-7455-g6ed1b40268ed56c82ea75e7403ded7750d01c85a Author: Richard Earnshaw Date: Mon Feb 10 10:50:36 2025 + arm: fix typo in dg-require-effective-target [PR118089] Trivial typo. gcc/testsuite:

[gcc r15-7430] arm: Prefer POP {lo-reg} over LDR lo-reg, ... for thumb2 [PR118089]

2025-02-07 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:0b6453d5575d4aa773a1fe25060123bc6f539891 commit r15-7430-g0b6453d5575d4aa773a1fe25060123bc6f539891 Author: Richard Earnshaw Date: Fri Feb 7 13:55:58 2025 + arm: Prefer POP {lo-reg} over LDR lo-reg, ... for thumb2 [PR118089] For thumb2, popping a single lo

[gcc r15-7429] arm: fix ICE due to fix for POP {PC} change

2025-02-07 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:7bee37094c502de7c191ee5f2f9ce72789d27c99 commit r15-7429-g7bee37094c502de7c191ee5f2f9ce72789d27c99 Author: Richard Earnshaw Date: Fri Feb 7 11:34:13 2025 + arm: fix ICE due to fix for POP {PC} change My earlier change for making the compiler prefer

[gcc r15-5990] arm: testsuite: fix some legacy C tests

2024-12-06 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:92c7a190d7e87100d7e2015220baa127480492ba commit r15-5990-g92c7a190d7e87100d7e2015220baa127480492ba Author: Richard Earnshaw Date: Fri Dec 6 17:05:27 2024 + arm: testsuite: fix some legacy C tests These tests all lack ISO-C style function definitions. Som

[gcc r15-5941] arm: Add CDE options for star-mc1 cpu

2024-12-05 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:237fdf51fbfcfa4829471c18fe67535ae9c3efdb commit r15-5941-g237fdf51fbfcfa4829471c18fe67535ae9c3efdb Author: Arvin Zhong Date: Thu Dec 5 13:43:14 2024 + arm: Add CDE options for star-mc1 cpu This patch adds the CDE options support for the -mcpu=star-mc1.

[gcc r15-7251] arm: libbacktrace: Check if the compiler supports __sync atomics

2025-01-28 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:a235c45354de9a89ba2f6f12d3aac42efc18f311 commit r15-7251-ga235c45354de9a89ba2f6f12d3aac42efc18f311 Author: Richard Earnshaw Date: Mon Jan 27 13:52:05 2025 + arm: libbacktrace: Check if the compiler supports __sync atomics Older versions of the Arm archite

[gcc r15-7258] arm: libgcc: make -spec=sync-*.specs compatible with LTO [PR118642]

2025-01-28 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:0204dcf930b5093d0811a007b7f47aa42e55e787 commit r15-7258-g0204dcf930b5093d0811a007b7f47aa42e55e787 Author: Richard Earnshaw Date: Tue Jan 28 16:14:35 2025 + arm: libgcc: make -spec=sync-*.specs compatible with LTO [PR118642] The arm-none-eabi port provide

[gcc r15-7796] arm: remove some redundant zero_extend ops on thumb1

2025-03-03 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:2a502f9e4c5c6a8e908ef1b0b5c03fb2e4bd4390 commit r15-7796-g2a502f9e4c5c6a8e908ef1b0b5c03fb2e4bd4390 Author: Richard Earnshaw Date: Mon Mar 3 15:30:58 2025 + arm: remove some redundant zero_extend ops on thumb1 The code in gcc.target/unsigned-extend-1.c rea

[gcc r15-7889] arm: make arm_neon.h compatible with '-march= -mfloat-abi=softfp'

2025-03-07 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:104d86ceb14bfa30e6b9fdff494f3ce7246f46d0 commit r15-7889-g104d86ceb14bfa30e6b9fdff494f3ce7246f46d0 Author: Richard Earnshaw Date: Fri Mar 7 15:17:14 2025 + arm: make arm_neon.h compatible with '-march= -mfloat-abi=softfp' With -mfpu set to auto, an archit

[gcc r15-7890] arm: testsuite: improve guard checks for arm_neon.h

2025-03-07 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:b7f5d9114801716924a67ea393f0c30ab793e505 commit r15-7890-gb7f5d9114801716924a67ea393f0c30ab793e505 Author: Richard Earnshaw Date: Tue Mar 4 16:17:32 2025 + arm: testsuite: improve guard checks for arm_neon.h The header file arm_neon.h provides the Advance

[gcc r15-7954] arm: testsuite: fix arm_neon_h checks with conflicting cpu/arch

2025-03-11 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:1b7a05770833eb210783ec8babd0027ec237d191 commit r15-7954-g1b7a05770833eb210783ec8babd0027ec237d191 Author: Richard Earnshaw Date: Tue Mar 11 10:48:54 2025 + arm: testsuite: fix arm_neon_h checks with conflicting cpu/arch GCC will complain if the -mcpu fla

[gcc r15-7727] testsuite: arm: Avoid incremental link warnings in pr61123-enum-size

2025-02-27 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:767a7a06915651da173b6751959a47487351ed3a commit r15-7727-g767a7a06915651da173b6751959a47487351ed3a Author: Richard Earnshaw Date: Thu Feb 27 15:11:47 2025 + testsuite: arm: Avoid incremental link warnings in pr61123-enum-size This test uses incremental li

[gcc r15-7998] arm: allow type-punning subregs in vpr_register_operand [PR115439]

2025-03-12 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:6e4045513d789587b2c7750e9016c7035b461299 commit r15-7998-g6e4045513d789587b2c7750e9016c7035b461299 Author: Richard Earnshaw Date: Mon Mar 10 14:12:38 2025 + arm: allow type-punning subregs in vpr_register_operand [PR115439] Subregs that only change the mo

[gcc r15-7836] arm: Fix signedness of vld1q intrinsic parms [PR118942]

2025-03-05 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:4d0a333ef13e2da140cd44c4941b20f48a80dc0f commit r15-7836-g4d0a333ef13e2da140cd44c4941b20f48a80dc0f Author: Hannes Braun Date: Thu Feb 20 15:09:41 2025 +0100 arm: Fix signedness of vld1q intrinsic parms [PR118942] vld1q_s8_x3, vld1q_s16_x3, vld1q_s8_x4 and vld

[gcc r14-11385] arm: Fix signedness of vld1q intrinsic parms [PR118942]

2025-03-05 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:6e17b356a78635e66d1a895b86fbcc0bde0589bb commit r14-11385-g6e17b356a78635e66d1a895b86fbcc0bde0589bb Author: Hannes Braun Date: Thu Feb 20 15:09:41 2025 +0100 arm: Fix signedness of vld1q intrinsic parms [PR118942] vld1q_s8_x3, vld1q_s16_x3, vld1q_s8_x4 and vl

[gcc r15-8008] arm: testsuite: remove gcc.target/arm/lp1243022.c [PR117931]

2025-03-12 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:9ee6c2619b256878d43800a16f7b98b3ddf59e52 commit r15-8008-g9ee6c2619b256878d43800a16f7b98b3ddf59e52 Author: Richard Earnshaw Date: Wed Mar 12 18:48:55 2025 + arm: testsuite: remove gcc.target/arm/lp1243022.c [PR117931] This test has been failing since gcc-

[gcc r15-8882] arm: add commutative alternatives to mull pattern.

2025-03-25 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:a86891525d200c1ae81d9f5f441a5b8e24b647ca commit r15-8882-ga86891525d200c1ae81d9f5f441a5b8e24b647ca Author: Richard Earnshaw Date: Tue Mar 25 11:50:30 2025 + arm: add commutative alternatives to mull pattern. Prior to Armv6, the SMULL and UMULL instruction

[gcc r15-8881] opcodes: fix wrong code in expand_binop_directly [PR117811]

2025-03-25 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:7679b826840c58343d72d05922355b646db4bdcc commit r15-8881-g7679b826840c58343d72d05922355b646db4bdcc Author: Richard Earnshaw Date: Thu Mar 20 14:42:59 2025 + opcodes: fix wrong code in expand_binop_directly [PR117811] If expand_binop_directly fails to add

[gcc r15-8648] arm: testsuite: memcpy-aligned requires unaligned accesses

2025-04-05 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:b1ac0c5f1986d0774cfc980da8323f17747a1ce9 commit r15-8648-gb1ac0c5f1986d0774cfc980da8323f17747a1ce9 Author: Richard Earnshaw Date: Fri Mar 21 15:15:21 2025 + arm: testsuite: memcpy-aligned requires unaligned accesses This test is designed to check that if

[gcc r15-8889] arm: testsuite use -std=gnu17 for pr65647.c

2025-03-25 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:143ad00ccd63a6cf38d8067d5fa79bd9a81e3144 commit r15-8889-g143ad00ccd63a6cf38d8067d5fa79bd9a81e3144 Author: Richard Earnshaw Date: Tue Mar 25 13:18:06 2025 + arm: testsuite use -std=gnu17 for pr65647.c This test has missing prototypes. To avoid disturbing

[gcc r15-9064] arm: testsuite: fix vect-fmaxmin.c test

2025-03-31 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:f30e180194bfbcd7594566ef050534388be31e8d commit r15-9064-gf30e180194bfbcd7594566ef050534388be31e8d Author: Richard Earnshaw Date: Mon Mar 31 10:37:11 2025 +0100 arm: testsuite: fix vect-fmaxmin.c test This is another case of a test that was both an executable

[gcc r15-9200] arm: testsuite: restore dg-do-what-default in mve.exp

2025-04-04 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:6e79fa4a25769b2facf519aaf04b2a757dd3c887 commit r15-9200-g6e79fa4a25769b2facf519aaf04b2a757dd3c887 Author: Richard Earnshaw Date: Fri Apr 4 13:38:35 2025 +0100 arm: testsuite: restore dg-do-what-default in mve.exp On Arm, running make check-g

[gcc r15-8722] arm: testsuite: tighten scan-assembler in unaligned-memcpy-4.c

2025-03-24 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:beec790e2b5d55058c4323731ccffd07c203fd71 commit r15-8722-gbeec790e2b5d55058c4323731ccffd07c203fd71 Author: Richard Earnshaw Date: Mon Mar 24 11:22:05 2025 + arm: testsuite: tighten scan-assembler in unaligned-memcpy-4.c The scan-assembler-not pattern in t

[gcc r15-8899] arm: testsuite: skip mtp tests on thumb1

2025-03-25 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:ca0a8421f7aa2191b2b867ff24888223d6cde433 commit r15-8899-gca0a8421f7aa2191b2b867ff24888223d6cde433 Author: Richard Earnshaw Date: Tue Mar 25 16:30:36 2025 + arm: testsuite: skip mtp tests on thumb1 These tests need access to the MRC instruction, but that

[gcc r15-8897] arm: testsuite: adjust ftest tests

2025-03-25 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:91051d60d95156e830423fd258dedfb574b42195 commit r15-8897-g91051d60d95156e830423fd258dedfb574b42195 Author: Richard Earnshaw Date: Tue Mar 25 15:36:02 2025 + arm: testsuite: adjust ftest tests The ftest-*.c tests for Arm check certain ACLE mandated macros

[gcc r15-8891] arm: testsuite: avoid dg-options in primary LTO file

2025-03-25 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:927cfea902c330092848bd7a228b714b07d08f6b commit r15-8891-g927cfea902c330092848bd7a228b714b07d08f6b Author: Richard Earnshaw Date: Tue Mar 25 13:48:06 2025 + arm: testsuite: avoid dg-options in primary LTO file As the primary LTO file in this test, it cann

[gcc r15-8890] arm: testsuite: update expected output in vect-early-break-cbranch.c

2025-03-25 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:2f4c5cf2c9bad6a6207b3377cf3179ed00cfcf11 commit r15-8890-g2f4c5cf2c9bad6a6207b3377cf3179ed00cfcf11 Author: Richard Earnshaw Date: Tue Mar 25 13:31:54 2025 + arm: testsuite: update expected output in vect-early-break-cbranch.c Similar to r15-4930-gd56d2f31

[gcc r15-8965] arm: don't vectorize fmaxf() unless unsafe math opts are enabled

2025-03-27 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:b631ff45f231db55b28b4c92cf1a1b46b3638ddd commit r15-8965-gb631ff45f231db55b28b4c92cf1a1b46b3638ddd Author: Richard Earnshaw Date: Wed Mar 26 15:56:18 2025 + arm: don't vectorize fmaxf() unless unsafe math opts are enabled This test has presumably been fai

[gcc r15-8649] arm: testsuite: make unaligned-memcpy-*.c executable tests [PR91614]

2025-04-04 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:1d2257dc850d088f6d9267b4624ba08533ab2475 commit r15-8649-g1d2257dc850d088f6d9267b4624ba08533ab2475 Author: Richard Earnshaw Date: Fri Mar 21 15:20:03 2025 + arm: testsuite: make unaligned-memcpy-*.c executable tests [PR91614] These tests have been looking