[gcc r16-20] testsuite: Use int size instead of alignment for pr116357.c

2025-04-18 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:6b635f84c4e973c873cf49f99d87b0fe22d3f5f5 commit r16-20-g6b635f84c4e973c873cf49f99d87b0fe22d3f5f5 Author: Dimitar Dimitrov Date: Wed Jan 29 19:43:15 2025 +0200 testsuite: Use int size instead of alignment for pr116357.c The test case assumes that alignof(int)=

[gcc r15-8985] testsuite: Require effective target sigsetjmp for gcov-31/32

2025-03-27 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:1c5c57092cf23ac6eae139627d2406f67fe3303b commit r15-8985-g1c5c57092cf23ac6eae139627d2406f67fe3303b Author: Dimitar Dimitrov Date: Thu Mar 27 20:31:17 2025 +0200 testsuite: Require effective target sigsetjmp for gcov-31/32 The tests call sigsetjmp and use sigj

[gcc r15-7912] testsuite: Require effective target float16 for test [PR119133]

2025-03-09 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:1b21da6abf22f164adb5d03cc91ef09472d035db commit r15-7912-g1b21da6abf22f164adb5d03cc91ef09472d035db Author: Dimitar Dimitrov Date: Sun Mar 9 15:57:25 2025 +0200 testsuite: Require effective target float16 for test [PR119133] The test spuriously failed on pru-u

[gcc r15-7358] testsuite: RISC-V: Ignore pr118170.c for E ABI

2025-02-04 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:88c9c4a2605db2b5f29f849ee33b92b31b95b887 commit r15-7358-g88c9c4a2605db2b5f29f849ee33b92b31b95b887 Author: Dimitar Dimitrov Date: Wed Jan 29 20:42:56 2025 +0200 testsuite: RISC-V: Ignore pr118170.c for E ABI The -mcpu=tt-ascalon-d8 option for the test implies

[gcc r15-7112] testsuite: Require int32plus for test case pr117546.c

2025-01-21 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:16d778239397b2f70a1e0680c0b82ae6ee98fe9e commit r15-7112-g16d778239397b2f70a1e0680c0b82ae6ee98fe9e Author: Dimitar Dimitrov Date: Tue Jan 21 21:38:12 2025 +0200 testsuite: Require int32plus for test case pr117546.c Test case is valid even if size of int is mo

[gcc r15-7031] testsuite: Fixes for test case pr117546.c

2025-01-18 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:34c51485808188eec3ebdacf969dd335e908aab3 commit r15-7031-g34c51485808188eec3ebdacf969dd335e908aab3 Author: Dimitar Dimitrov Date: Sat Jan 18 20:19:43 2025 +0200 testsuite: Fixes for test case pr117546.c This test fails on AVR. Debugging the test on x

[gcc r15-6743] testsuite: Require trampolines for gcc.dg/pr118325.c

2025-01-09 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:04f4ac9218259a1508f9a86ca98cf1d36cab2df2 commit r15-6743-g04f4ac9218259a1508f9a86ca98cf1d36cab2df2 Author: Dimitar Dimitrov Date: Thu Jan 9 20:18:08 2025 +0200 testsuite: Require trampolines for gcc.dg/pr118325.c The test case uses a nested function, which is

[gcc r15-6665] testsuite: RISC-V: Skip tests using -mcpu= for ILP32E/ILP64E ABIs

2025-01-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:3eaf74beac9c587edab13aa946b52a09b759d7fe commit r15-6665-g3eaf74beac9c587edab13aa946b52a09b759d7fe Author: Dimitar Dimitrov Date: Wed Dec 4 17:51:11 2024 +0200 testsuite: RISC-V: Skip tests using -mcpu= for ILP32E/ILP64E ABIs The tests are specifying -mcpu wi

[gcc r15-6664] testsuite: RISC-V: Skip V and Zvbb tests for ILP32E/ILP64E ABIs

2025-01-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:62e7c496696eb68186616a2fa3654a876d21d695 commit r15-6664-g62e7c496696eb68186616a2fa3654a876d21d695 Author: Dimitar Dimitrov Date: Mon Nov 25 20:48:00 2024 +0200 testsuite: RISC-V: Skip V and Zvbb tests for ILP32E/ILP64E ABIs Some tests add options for V and Z

[gcc r15-6663] testsuite: RISC-V: Add effective target for E ABI variant

2025-01-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:904f332cce3de59b99a48751e69717cbd3592901 commit r15-6663-g904f332cce3de59b99a48751e69717cbd3592901 Author: Dimitar Dimitrov Date: Thu Dec 12 20:22:59 2024 +0200 testsuite: RISC-V: Add effective target for E ABI variant Add new effective target check for eithe

[gcc r15-6281] testsuite: Require int32plus target for gcc.dg/pr117816.c

2024-12-16 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:450ad5d43f134e656eee92cbae5749cb41e15e6f commit r15-6281-g450ad5d43f134e656eee92cbae5749cb41e15e6f Author: Dimitar Dimitrov Date: Mon Dec 16 17:27:53 2024 +0200 testsuite: Require int32plus target for gcc.dg/pr117816.c Memmove destination overflows if size of

[gcc r15-6015] pru: Implement c and n asm operand modifiers

2024-12-08 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:89d19ab91a167c4c2258cc6c9fa7dd448c007ab7 commit r15-6015-g89d19ab91a167c4c2258cc6c9fa7dd448c007ab7 Author: Dimitar Dimitrov Date: Sun Dec 8 11:37:06 2024 +0200 pru: Implement c and n asm operand modifiers Fix c-c++-common/toplevel-asm-1.c failure for PRU back

[gcc r15-5845] testsuite: Silence gcc.dg/pr117806.c for default_packed

2024-12-01 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:7151aa12d659fc095687a22688dd0307ebb4845d commit r15-5845-g7151aa12d659fc095687a22688dd0307ebb4845d Author: Dimitar Dimitrov Date: Sun Dec 1 16:24:03 2024 +0200 testsuite: Silence gcc.dg/pr117806.c for default_packed On default_packed targets like PRU, spuriou

[gcc r15-5591] testsuite: RISC-V: Fix vector flags handling [PR117603]

2024-11-22 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:eeff504238aeb4a9a20a9e445307b6773adb6f01 commit r15-5591-geeff504238aeb4a9a20a9e445307b6773adb6f01 Author: Dimitar Dimitrov Date: Sat Nov 16 09:57:31 2024 +0200 testsuite: RISC-V: Fix vector flags handling [PR117603] The DejaGnu routine "riscv_get_arch" fails

[gcc r15-5465] RISC-V: Tie MUL and DIV masks to the M extension

2024-11-19 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:c9530a0e24e35a6fdce91b2002b798f44b62fd44 commit r15-5465-gc9530a0e24e35a6fdce91b2002b798f44b62fd44 Author: Dimitar Dimitrov Date: Thu Nov 7 20:13:02 2024 +0200 RISC-V: Tie MUL and DIV masks to the M extension When configuring GCC for RV32EC with: ./conf

[gcc r15-5342] testsuite: pru: Fix pr64366.c for new -std=gnu23 default

2024-11-16 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:601a734188f3d2d344202dac182218503c487550 commit r15-5342-g601a734188f3d2d344202dac182218503c487550 Author: Dimitar Dimitrov Date: Sat Nov 16 16:29:48 2024 +0200 testsuite: pru: Fix pr64366.c for new -std=gnu23 default Provide function declaration in order to

[gcc r15-5105] testsuite: Require atomic operations for c2y-if-decls-*

2024-11-11 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:7b5c974dfc83edfb534dc0550dee8b0e8fd32d96 commit r15-5105-g7b5c974dfc83edfb534dc0550dee8b0e8fd32d96 Author: Dimitar Dimitrov Date: Sun Oct 27 09:49:49 2024 +0200 testsuite: Require atomic operations for c2y-if-decls-* Since some of the c2y-if-decls tests use _

[gcc r15-4866] testsuite: Require trampoline support for pr117245.c

2024-11-02 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:5e40dcf2458aab0441221f89af10f4c5682a8f63 commit r15-4866-g5e40dcf2458aab0441221f89af10f4c5682a8f63 Author: Dimitar Dimitrov Date: Sat Nov 2 20:20:56 2024 +0200 testsuite: Require trampoline support for pr117245.c Test case pr117245.c is using trampolines, so

[gcc r15-4867] testsuite: Require fpic support for pr116887.c

2024-11-02 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:af5a62ee88fbfbf5d60872bff2be5c2c0345dcf7 commit r15-4867-gaf5a62ee88fbfbf5d60872bff2be5c2c0345dcf7 Author: Dimitar Dimitrov Date: Sat Nov 2 20:23:19 2024 +0200 testsuite: Require fpic support for pr116887.c Test case pr116887.c is passing -fpic, so mark it as

[gcc r15-4725] testsuite: Require atomic operations for pr47333_0

2024-10-28 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:6638fcc161350e1d68c0739356b286cff947470b commit r15-4725-g6638fcc161350e1d68c0739356b286cff947470b Author: Dimitar Dimitrov Date: Sun Oct 27 09:49:49 2024 +0200 testsuite: Require atomic operations for pr47333_0 Since the test uses __sync_fetch_and_add, add a

[gcc r15-4612] testsuite: Require effective target pie for pr113197

2024-10-24 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:bcd56224d74cdd8dc3c77097de51e97bc7b6d181 commit r15-4612-gbcd56224d74cdd8dc3c77097de51e97bc7b6d181 Author: Dimitar Dimitrov Date: Thu Oct 24 19:59:42 2024 +0300 testsuite: Require effective target pie for pr113197 The test for PR113197 explicitly enables PIE.

[gcc r15-3945] doc: Document struct-layout-1.exp for ABI checks

2024-09-29 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:a30a9d5da144d87bdfd60cfc485b46bb3a74842f commit r15-3945-ga30a9d5da144d87bdfd60cfc485b46bb3a74842f Author: Dimitar Dimitrov Date: Fri Sep 6 22:49:50 2024 +0300 doc: Document struct-layout-1.exp for ABI checks This test helped discover PR116621, so it is worth

[gcc r15-3168] testsuite: Run array54.C only for sync_int_long targets

2024-08-25 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:b21d64742e9cffafeb7c4c2b131bf622aaf38dbe commit r15-3168-gb21d64742e9cffafeb7c4c2b131bf622aaf38dbe Author: Dimitar Dimitrov Date: Tue Aug 6 21:47:24 2024 +0300 testsuite: Run array54.C only for sync_int_long targets The test case uses "atomic", which fails to

[gcc r15-2904] testsuite: Fix struct size check [PR116155]

2024-08-13 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:b13e34699c7d27e561fcfe1b66ced1e50e69976f commit r15-2904-gb13e34699c7d27e561fcfe1b66ced1e50e69976f Author: Dimitar Dimitrov Date: Mon Aug 5 19:00:28 2024 +0300 testsuite: Fix struct size check [PR116155] The size of "struct only_fam_2" is dependent on the ali

[gcc r15-2606] testsuite: Add filters for default_packed targets [PR116155]

2024-08-01 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:7e88a1a34aae0abd3019423d3ceae045c9931adb commit r15-2606-g7e88a1a34aae0abd3019423d3ceae045c9931adb Author: Dimitar Dimitrov Date: Tue Jul 30 23:08:38 2024 +0300 testsuite: Add filters for default_packed targets [PR116155] A few recent C++ test cases are assum

[gcc r15-2455] pru: Enable section anchoring by default

2024-07-31 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:dcdefe47e18fabc340f9862a27ebd521dfa3d38c commit r15-2455-gdcdefe47e18fabc340f9862a27ebd521dfa3d38c Author: Dimitar Dimitrov Date: Sun Jul 14 19:45:09 2024 +0300 pru: Enable section anchoring by default Loading an arbitrary constant address in a register is ex

[gcc r15-2454] testsuite: Fix for targets not passing argc/argv [PR116154]

2024-07-31 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:f2fac502097f75e4a098a3321f216523b59030be commit r15-2454-gf2fac502097f75e4a098a3321f216523b59030be Author: Dimitar Dimitrov Date: Wed Jul 31 19:20:20 2024 +0300 testsuite: Fix for targets not passing argc/argv [PR116154] PRU and other simulator targets do not

[gcc r15-493] pru: Implement TARGET_CLASS_LIKELY_SPILLED_P to fix PR115013

2024-05-14 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:fc559584fa5b1e101a4520e88a936246458d5a5d commit r15-493-gfc559584fa5b1e101a4520e88a936246458d5a5d Author: Dimitar Dimitrov Date: Mon May 13 19:24:14 2024 +0300 pru: Implement TARGET_CLASS_LIKELY_SPILLED_P to fix PR115013 Commit r15-436-g44e7855e did not fix P

[gcc r15-365] pru: Fix register class checks in predicates

2024-05-10 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:d4d30461c02b50c07f92c8cccb87da528a806d3e commit r15-365-gd4d30461c02b50c07f92c8cccb87da528a806d3e Author: Dimitar Dimitrov Date: Thu May 9 22:19:24 2024 +0300 pru: Fix register class checks in predicates The register class checks in the multiply-source predic

[gcc r15-233] pru: New validation pass for minrt

2024-05-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:0822400aae8f79de8f10ddde268f592ba6c2d2fb commit r15-233-g0822400aae8f79de8f10ddde268f592ba6c2d2fb Author: Dimitar Dimitrov Date: Fri Feb 9 22:30:28 2024 +0200 pru: New validation pass for minrt Add a new pru-specific pass to validate that the assumptions for

[gcc r15-232] pru: Refactor to use passes definition file

2024-05-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:4cf8daaf8a5db7ac1123fd2cbc3d9fc466bda69d commit r15-232-g4cf8daaf8a5db7ac1123fd2cbc3d9fc466bda69d Author: Dimitar Dimitrov Date: Sat Mar 9 22:16:09 2024 +0200 pru: Refactor to use passes definition file Switch to using a passes definition file instead of expl

[gcc r15-231] pru: Use HOST_WIDE_INT_1U macro

2024-05-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:3d342993a4d5000bcd3fd407e42e348c6d4a80b3 commit r15-231-g3d342993a4d5000bcd3fd407e42e348c6d4a80b3 Author: Dimitar Dimitrov Date: Sat Mar 2 15:05:12 2024 +0200 pru: Use HOST_WIDE_INT_1U macro Use the HOST_WIDE_INT_1U macro instead of literal 1 when constructin

[gcc r15-230] pru: Drop usage of ATTRIBUTE_UNUSED

2024-05-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:00090d5ea82f1acad8fd4feead4652a9fc5572f6 commit r15-230-g00090d5ea82f1acad8fd4feead4652a9fc5572f6 Author: Dimitar Dimitrov Date: Tue Jan 23 22:03:33 2024 +0200 pru: Drop usage of ATTRIBUTE_UNUSED Remove usage of ATTRIBUTE_UNUSED. Instead remove the argument'

[gcc r15-229] pru: Skip register save if function will not return

2024-05-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:b3bcc3f6a775ec1fee2ebc881e9c8706cf60351e commit r15-229-gb3bcc3f6a775ec1fee2ebc881e9c8706cf60351e Author: Dimitar Dimitrov Date: Sat Jan 13 22:29:57 2024 +0200 pru: Skip register save if function will not return There is no need to store callee-saved register

[gcc r15-228] pru: Add pattern variants for zero extending destination

2024-05-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:b3ad0d413c009e839ff180f19f6b0a18822f521d commit r15-228-gb3ad0d413c009e839ff180f19f6b0a18822f521d Author: Dimitar Dimitrov Date: Fri Dec 29 21:22:58 2023 +0200 pru: Add pattern variants for zero extending destination The higher bits in the result of some ALU

[gcc r15-227] pru: Optimize the extzv and insv patterns

2024-05-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:47b757cf31fffb2ae5fdb93f9f031890080504a8 commit r15-227-g47b757cf31fffb2ae5fdb93f9f031890080504a8 Author: Dimitar Dimitrov Date: Sun Nov 19 12:20:08 2023 +0200 pru: Optimize the extzv and insv patterns Optimize the generated code for the bit-field extract and

[gcc r15-226] pru: Implement zero fill for 64-bit registers

2024-05-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:ca7d6d729183685279a0d9dcd39aed11021f1dfa commit r15-226-gca7d6d729183685279a0d9dcd39aed11021f1dfa Author: Dimitar Dimitrov Date: Sat Nov 18 23:05:09 2023 +0200 pru: Implement zero fill for 64-bit registers Loading a constant zero in a 64-bit register now take

[gcc r15-225] pru: Implement TARGET_ADDRESS_COST

2024-05-07 Thread Dimitar Dimitrov via Gcc-cvs
https://gcc.gnu.org/g:3888f62ffb7b919ada4959207448af15b2cfd5a5 commit r15-225-g3888f62ffb7b919ada4959207448af15b2cfd5a5 Author: Dimitar Dimitrov Date: Sun Oct 22 14:44:29 2023 +0300 pru: Implement TARGET_ADDRESS_COST Stop relying on the default fallback to TARGET_RTX_COST for PRU'