[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2020-09-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #26 from Christophe Lyon --- Created attachment 49171 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49171&action=edit v7 intrinsics not supported by the aarch32/arm target

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2020-09-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #25 from Christophe Lyon --- Created attachment 49170 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49170&action=edit a64 intrinsics not supported by the aarch64 target

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2020-09-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #23 from Christophe Lyon --- Created attachment 49168 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49168&action=edit v7 intrinsics not supported by the aarch64 target Update 2020-09-01

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2020-09-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #24 from Christophe Lyon --- Created attachment 49169 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49169&action=edit a32/a64 intrinsics not supported by the aarch64 target

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2020-09-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #22 from Christophe Lyon --- Applying the recipe from comment #6, the current list of duplicates is: New ones: 2 vcmla_laneq_f16 2 vcmla_rot180_laneq_f16 2 vcmla_rot270_laneq_f16 2 vcmla_rot90_laneq_f16 Known,

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2020-09-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #21 from Christophe Lyon --- Created attachment 49167 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49167&action=edit Full list of intrinsics documented for a64

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2020-09-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #20 from Christophe Lyon --- Created attachment 49166 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49166&action=edit Full list of intrinsics documented for a32/a64

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2020-09-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #19 from Christophe Lyon --- Created attachment 49165 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49165&action=edit Full list of intrinsics documented for v7/a32/a64

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2020-09-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #18 from Christophe Lyon --- The list at https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics has a new format (the list is split in 146 pages, I couldn't find how to get the list on a single page). So I

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2020-09-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #17 from Christophe Lyon --- Created attachment 49162 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49162&action=edit Full Neon intrinsics list as of 2020-09-01. Full Neon intrinsics list as of 2020-09-01.

[Bug target/96768] -mpure-code produces switch tables for thumb-1

2020-08-28 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96768 --- Comment #4 from Christophe Lyon --- That's what I replied in the original PR94538, but Wilco said the best option was to turn off switch tables: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538#c14 See also another comment from him: https:

[Bug tree-optimization/96579] [8/9/10 Regression] ICE in gimple check: expected gimple_assign(error_mark), have gimple_nop() in gimple_assign_rhs1, at gimple.h:2605 since r7-950-g8a85cee26eabf5cf

2020-08-28 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96579 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug target/96768] -mpure-code produces switch tables for thumb-1

2020-08-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96768 Christophe Lyon changed: What|Removed |Added Last reconfirmed||2020-08-27 Ever confirmed|0

[Bug target/96768] -mpure-code produces switch tables for thumb-1

2020-08-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96768 --- Comment #2 from Christophe Lyon --- Send patch proposal: https://gcc.gnu.org/pipermail/gcc-patches/2020-August/552798.html

[Bug target/96768] -mpure-code produces switch tables for thumb-1

2020-08-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96768 --- Comment #1 from Christophe Lyon --- This is related to comments 10,11,14,15 and 16 in the original PR94538. In comment 14, Wilco suggested: "The best option is to do the same as Cortex-M3: just switch off branch tables altogether and fall ba

[Bug target/94538] [9/10/11 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-08-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 Christophe Lyon changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/96771] New: arm/pr32920-2.c fails since svn r228175 / f11a7b6d57f6fcba1bf2e5a0403dc49120195320

2020-08-24 Thread clyon at gcc dot gnu.org
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- The gcc.target/arm/pr43920-c testcase fails since svn r228175 / git f11a7b6d57f6fcba1bf2e5a0403dc49120195320 (r6

[Bug target/94538] [9/10/11 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-08-24 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 --- Comment #21 from Christophe Lyon --- I filed PR96767, PR96768, PR96769, PR96770 to track the enhancements discussed here. The ICE is now fixed in trunk.

[Bug target/96770] New: -mpure-code produces suboptimal code for relocations with small offset for thumb-1

2020-08-24 Thread clyon at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- As discussed in PR94538, -mpure-code produces suboptimal code for relocations with small offset for thumb-1. int arr

[Bug target/96769] New: -mpure-code produces suboptimal code for immediate generation for thumb-1

2020-08-24 Thread clyon at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- As discussed in PR94538, -mpure-code produces switch tables for thumb-1. int f3 (void) { return 0x1100; } int f3_2 (void

[Bug target/96768] New: -mpure-code produces switch tables for thumb-1

2020-08-24 Thread clyon at gcc dot gnu.org
: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- As discussed in PR94538, -mpure-code produces switch tables for thumb-1. int f2 (int x, int y) { switch (x) { case 0: return y + 0; case 1: return y + 1; case

[Bug target/96767] New: -mpure-code produces indirect loads for thumb-1

2020-08-24 Thread clyon at gcc dot gnu.org
: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- As described in PR94538, -mpure-code produces suboptimal code for thumb-1 CPUs. int x; int f1 (void) { return x; } Compiled with -O2 -mpure-code, -mcpu=cortex-m0

[Bug target/94531] gcc.target/arm/its.c fails for cortex-m3

2020-08-20 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94531 --- Comment #1 from Christophe Lyon --- (In reply to Christophe Lyon from comment #0) > I've noticed that gcc.target/arm/its.c fails when targetting > cortex-m3 or m33, but that's probably true with all cortex-m versions. > Since I have extendin

[Bug libstdc++/94681] filesystem::sysmlink_status using stat instead of lstat when --disable-libstdcxx-filesystem-ts

2020-08-10 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94681 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug testsuite/96519] [11 regression] new test case gcc.dg/ia64-sync-5.c fails

2020-08-10 Thread clyon at gcc dot gnu.org
||aarch64 arm CC||clyon at gcc dot gnu.org --- Comment #1 from Christophe Lyon --- Seen also on aarch64 and arm

[Bug target/96375] [11 regression] arm/lob[2-5].c fail on some configurations

2020-08-03 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96375 --- Comment #4 from Christophe Lyon --- (In reply to Andrea Corallo from comment #3) > "clyon at gcc dot gnu.org" writes: > > Hi, > > Hi, > > > It does fix the FAIL, thanks. > > Thanks for testing i

[Bug ipa/96431] New: [11 regression] ipa-clone-2.c fails since r13cdbb6a97c3d853cd380e5a03be8e0d35966c1e

2020-08-03 Thread clyon at gcc dot gnu.org
Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Hi, Since r13cdbb6a97c3d853cd380e5a03be8e0d35966c1e, I've noticed

[Bug target/96375] [11 regression] arm/lob[2-5].c fail on some configurations

2020-08-03 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96375 --- Comment #2 from Christophe Lyon --- (In reply to akrl from comment #1) > Created attachment 48968 [details] > pr96375 lob tests patch > > Hi Christophe, > > The following patch does the job for me. Would you double check is > effective for

[Bug tree-optimization/96376] [11 regression] vect/vect-alias-check.c and vect/vect-live-5.c fail on armeb

2020-07-30 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96376 --- Comment #1 from Christophe Lyon --- Bisect identified commit g30fdaead5b7880c4e9f140618e26ad1c545642d5

[Bug tree-optimization/96376] New: [11 regression] vect/vect-alias-check.c and vect/vect-live-5.c fail on armeb

2020-07-29 Thread clyon at gcc dot gnu.org
: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- I've noticed regressions on target armeb-none-linux-gnueabihf --with-mode arm --with-cpu cortex-a9 --wit

[Bug target/96375] New: [11 regression] arm/lob[2-5].c fail on some configurations

2020-07-29 Thread clyon at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, Since these new tests were introduced, I've noticed that they fail on some configurations. For instance, with target arm-none-

[Bug target/96372] New: [11 regression] arm/ivopts.c fails since r11-2012

2020-07-29 Thread clyon at gcc dot gnu.org
: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Since r11-2012-gd2ed233cb940aa3eecc163d98b47979dd81dbc0a, I've noticed that FAIL: gcc.target/arm/ivopts.c object-size text <= 20 depending on how GCC is configur

[Bug middle-end/96136] [11 regression] ICE in reduce_to_bit_field_precision

2020-07-12 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96136 Christophe Lyon changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug testsuite/96149] New: gcc.dg/vect/slp-46.c on aarch64

2020-07-10 Thread clyon at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- gcc.dg/vect/slp-46.c fails on aarch64 since it was introduced. In the logs I can see: PASS: gcc.dg/vect/slp-46.c execution test gcc.dg/vect/slp-46.c: pattern found 0 times FAIL: gcc.dg

[Bug testsuite/96109] gcc.dg/vect/slp-47.c etc. FAIL

2020-07-10 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96109 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org

[Bug middle-end/96136] New: [11 regression] ICE in reduce_to_bit_field_precision

2020-07-09 Thread clyon at gcc dot gnu.org
Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, Since r11-1914-g760df6d296b8fc59796f42dca5eb14012fbfa28b, I've noticed an ICE while building glibc-2.29 when GCC is configured --target arm-none-linux-gnue

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-06-30 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #22 from Christophe Lyon --- Not sure if we can close this PR: I have only implemented a part of what we discussed here. GCC now emits a warning so the user can take action to make sure his code is correct/correctly generated, but GCC

[Bug testsuite/95900] [11 Regression] New test case gcc.dg/vect/bb-slp-pr95866.c in r11-1647 fails

2020-06-26 Thread clyon at gcc dot gnu.org
||arm*-linux-gnueabihf CC||clyon at gcc dot gnu.org --- Comment #3 from Christophe Lyon --- I see it on arm-none-linux-gnueabihf too (--with-cpu cortex-a9 --with-fpu neon-fp16 for instance)

[Bug tree-optimization/95896] New: [11 regression] ICE in mask_load_slp_1 since r11-1621-gd32708e796504eaeaad7d19990909204d74f9ba3

2020-06-25 Thread clyon at gcc dot gnu.org
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, Since r11-1621-gd32708e796504eaeaad7d19990909204d74f9ba3 I have noticed: FAIL: gcc.target

[Bug fortran/95893] New: pr95690.f90 fails

2020-06-25 Thread clyon at gcc dot gnu.org
: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, The new testcase pr95690.f90 fails on arm and aarch64 (and powerpc, s390 accordng to gcc-testresults). compiler exited with status 1 FAIL: gfortran.dg/pr95690.f90 -O (test for errors, line 5

[Bug testsuite/95720] [11 Regression] New dump output filename strategy invalidates tests

2020-06-25 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95720 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug fortran/95858] [11 Regression] gcc/testsuite/gfortran.fortran-torture/execute/forall_5.f90 fails since r11-1595-gabcde0a658e17dbb

2020-06-24 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95858 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug tree-optimization/95745] [11 regression] O3-pr85794.c fails since r11-1445-g502d63b6d6141597bb18fd23c87736a1b384cf8f

2020-06-19 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95745 --- Comment #6 from Christophe Lyon --- (In reply to Martin Liška from comment #4) > Ok, can I test it with a x86_64-linux-gnu cross compiler? Yes, that's what I am using. Target: arm-none-linux-gnueabi Configured with: /configure --target=arm-

[Bug middle-end/95757] [11 regression] missing warning in gcc.dg/Wstringop-overflow-25.c since r11-1517

2020-06-19 Thread clyon at gcc dot gnu.org
CC||clyon at gcc dot gnu.org --- Comment #1 from Christophe Lyon --- I see the same thing on some arm targets: arm-none-linux-gnueabihf --with-cpu=cortex-a5 arm-none-eabi -mcpu=cortex-m[034] but for instance arm-none-linux-gnueabihf --with-cpu=cortex-a9 works.

[Bug tree-optimization/95745] [11 regression] O3-pr85794.c fails since r11-1445-g502d63b6d6141597bb18fd23c87736a1b384cf8f

2020-06-19 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95745 --- Comment #3 from Christophe Lyon --- I still see it with r11-1521-gaae80e833d2826fc0afe7ff1704d2ab0f4607c5a

[Bug tree-optimization/95745] New: [11 regression] O3-pr85794.c fails since r11-1445-g502d63b6d6141597bb18fd23c87736a1b384cf8f

2020-06-18 Thread clyon at gcc dot gnu.org
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, Since r11-1445-g502d63b6d6141597bb18fd23c87736a1b384cf8f I have noticed that O3-pr85794.c

[Bug testsuite/95706] New test case gfortran.dg/pr95690.f90 fails

2020-06-18 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95706 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug tree-optimization/95633] [11 regression] ICEs since r11-1143-gb05d5563f4be13b4a0d0951375a82adf483973c0

2020-06-12 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95633 --- Comment #6 from Christophe Lyon --- (In reply to Richard Biener from comment #3) > I cannot reproduce the arm failure, neon-fp1 doesn't seem to exist and any > combo of -mcpu=cortex-a9 and -mfpu=... does not ICE for me. Sorry, that was a cut

[Bug tree-optimization/95633] New: [11 regression] ICEs since r11-1143-gb05d5563f4be13b4a0d0951375a82adf483973c0

2020-06-11 Thread clyon at gcc dot gnu.org
: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, I've noticed regressions since r11-1143-gb05d5563f4be13b4a0d0951375a82adf483973c0: on aarch64:

[Bug ipa/95600] New: [11 regression] tree-prof/indir-call-prof-2.c fails on armeb-linux-gnueabihf since r11-830

2020-06-09 Thread clyon at gcc dot gnu.org
Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Hi, Since r11-830 (g:85bce484d37fdda9c7eadb9bdcdb1ded891462bb

[Bug target/95421] [AArch64] Missing NEON functions documented on ARM's web site

2020-06-03 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95421 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug target/95399] [ARM] 32/64-bit vcvtnq_* functions are missing

2020-06-03 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95399 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug fortran/95373] [9/10/11 Regression] ICE in build_reference_type, at tree.c:7942

2020-05-29 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95373 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug tree-optimization/95406] New: [11 regression] vshift-5.c fails since g:e31cd607e999ca6ab47b7e65a7045b1594e4fba4

2020-05-29 Thread clyon at gcc dot gnu.org
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Since g:e31cd607e999ca6ab47b7e65a7045b1594e4fba4 I've noticed gcc.dg/vshift-5.c (internal compiler

[Bug tree-optimization/95363] New: [11 regression] bb-slp-pr95271.c fails on arm since gc0e27f72358794692e367363940c6383e9ad1e45

2020-05-27 Thread clyon at gcc dot gnu.org
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Since gc0e27f72358794692e367363940c6383e9ad1e45, I've noticed that gcc.dg/vect/bb-slp-pr95

[Bug other/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since ga746f952abb78af9db28a7f3bce442e113877c9c

2020-05-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362 Christophe Lyon changed: What|Removed |Added Summary|[11 regression] pr34457-1.c |[11 regression] pr34457-1.c

[Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c

2020-05-27 Thread clyon at gcc dot gnu.org
Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, since ga746f952abb78af9db28a7f3bce442e113877c9c, I've noticed that pr34457-1.c fails on arm and aa

[Bug tree-optimization/95273] [11 regression] many ICEs after r11-564

2020-05-26 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95273 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-14 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #19 from Christophe Lyon --- (In reply to Christophe Lyon from comment #8) > Patch sent: https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544872.html > > This is a simple improvement, hopefully simple enough for stage 4, yet > us

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-14 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #18 from Christophe Lyon --- > I'm working on this, and just realized that this also means saving FPSR. It > seems there's no support for that yet in arm.md (unlike aarch64.md), am I > missing something? > Sorry, I see it's called

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #17 from Christophe Lyon --- (In reply to Richard Earnshaw from comment #10) > (In reply to Christophe Lyon from comment #9) > > > My initial thoughts are along the lines of... > > > Only try to save FP registers that this function di

[Bug target/95056] New: slp-perm-9.c fails on aarch64 after gbc484e250990393e887f7239157cc85ce6fadcce

2020-05-11 Thread clyon at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, I've noticed that FAIL: gcc.dg/vect/slp-perm-9.c -flto -ffat-lto-objects scan-tree-dump-times vect "p

[Bug target/95055] New: gcc.dg/compat/scalar-by-value-3 fails on aarch64 after r11-165-geb72dc663e9070b281be83a80f6f838a3a878822

2020-05-11 Thread clyon at gcc dot gnu.org
: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, After r11-165-geb72dc663e9070b281be83a80f6f838a3a878822, I've noticed that scalar-by-va

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-05 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #16 from Christophe Lyon --- Another potential issue just came to my mind: what if the IRQ handler is compiled with -mfloat-abi=soft but calls a function compiled with -mfloat-abi=softfp? We have no way to guess that the FP registers

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-05 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #15 from Christophe Lyon --- > Well obviously that won't work. But if you build the interrupt routine with > a d16 system and then call a function from it that requires d32 then that > should still work if running on a d32 CPU. Tha

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #13 from Christophe Lyon --- > > Why do we need a library function for that? It would have to be special with > > the stack: push FP registers, but do not restore SP, so that the dual > > restore function can pop them and restore SP.

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #11 from Christophe Lyon --- (In reply to Richard Earnshaw from comment #10) > (In reply to Christophe Lyon from comment #9) > > > My initial thoughts are along the lines of... > > > Only try to save FP registers that this function di

[Bug c++/94896] [10/11 regression] ICE: canonical types differ for identical types

2020-05-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94896 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #9 from Christophe Lyon --- > My initial thoughts are along the lines of... > Only try to save FP registers that this function directly clobbers. What's the point of saving these if a callee clobbers other registers? Shouldn't that

[Bug target/94538] [9/10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-30 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 Christophe Lyon changed: What|Removed |Added Known to work||9.2.0 --- Comment #18 from Christophe

[Bug testsuite/94763] UNRESOLVED scan assembler tests on arm-none-eabi

2020-04-30 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94763 --- Comment #3 from Christophe Lyon --- (In reply to vvinayag from comment #2) > Sorry for the late reply. > The tests appear to pass when I invoke them locally. They only failed as > part of our buildbot run tests. It could be a glitch in our

[Bug target/57002] ARM back end has extra entries in attribute interrupt array.

2020-04-30 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57002 Christophe Lyon changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-04-29 Thread clyon at gcc dot gnu.org
|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |clyon at gcc dot gnu.org --- Comment #8 from Christophe Lyon --- Patch sent: https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544872.html This is a simple

[Bug target/57002] ARM back end has extra entries in attribute interrupt array.

2020-04-29 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57002 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-04-28 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #6 from Christophe Lyon --- If we consider the initial testcase, it doesn't clobber any FP register directly, but the compiler inserts a call to memcpy which does. So IIUC your 1st suggestion, it would mean: - save no FP register in

[Bug target/94820] New: pr94780.c fails with ICE on aarch64

2020-04-28 Thread clyon at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, The new gcc.dg/pr94780.c test causes an ICE on aarch64: /gcc/testsuite/gcc.dg/pr94780.c: In function 'foo': /gcc/testsuite/gcc.dg/pr94780.c:8:1: internal comp

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-04-28 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 Christophe Lyon changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Commen

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-04-28 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #3 from Christophe Lyon --- Maybe we could - save the VFP registers as needed by default - emit a warning "IRQ handler 'foo' saves VFP registers because it is not a leaf function. If you know none of the callees will clobber the VFP r

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-04-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #2 from Christophe Lyon --- I have a preliminary patch which generates: vpush.64{d0, d1, d2, d3, d4, d5, d6, d7} vpush.64{d16, d17, d18, d19, d20, d21, d22, d23, d24, d25, d26, d27, d28, d29, d30, d31}

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-04-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #1 from Christophe Lyon --- clang has implemented a warning for this case: https://reviews.llvm.org/D28820

[Bug target/94697] aarch64: bti j at function start instead of bti c

2020-04-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94697 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug testsuite/94763] UNRESOLVED scan assembler tests on arm-none-eabi

2020-04-26 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94763 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug target/94743] New: IRQ handler implementation wrong when using __attribute__ ((interrupt("IRQ")))

2020-04-24 Thread clyon at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, As described in https://bugs.linaro.org/show_bug.cgi?id=5614: IRQ implementation when using __attribute__ (

[Bug rtl-optimization/70164] [8/9/10 Regression] Code/performance regression due to poor register allocation on Cortex-M0

2020-04-21 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70164 --- Comment #26 from Christophe Lyon --- For what CPU did you configure GCC? With today's trunk I still see the same code as in comment #24. I can get the same code as you have in comment #25 if I force -mcpu=cortex-a9. The bug report is about

[Bug target/94604] support for the ETSI basic operations

2020-04-21 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94604 --- Comment #2 from Christophe Lyon --- I think this is provided by arm_acle.h: https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config/arm/arm_acle.h;h=6b08ffd4174c8d829fe5730f99cd8f28e300afab;hb=HEAD You can see that saturating and DSP intrins

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-16 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 --- Comment #15 from Christophe Lyon --- (In reply to Wilco from comment #14) > (In reply to Christophe Lyon from comment #11) > > (In reply to Wilco from comment #10) > > > Right, but the code is functional. > > It doesn't avoid the literal lo

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-16 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 --- Comment #12 from Christophe Lyon --- I've posted a patch to fix the regression for your f3() examples: https://gcc.gnu.org/pipermail/gcc-patches/2020-April/543993.html

[Bug c++/94608] New: Fix for PR94426 causes a regression in g++.dg/lto/pr83720 on arm

2020-04-15 Thread clyon at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, The recent fix for PR94426 (g8d213cbbe1856e6088282aa0076646cec694b030) causes regressions on arm: g++.dg/lto/pr83720

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-14 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 --- Comment #11 from Christophe Lyon --- (In reply to Wilco from comment #10) > > For example: > > int x; > int f1 (void) { return x; } > > with eg. -O2 -mcpu=cortex-m0 -mpure-code I get: > > movsr3, #:upper8_15:#.LC1 > ls

[Bug target/94595] New: gcc.target/arm/thumb2-cond-cmp-*.c fail for cortex-m

2020-04-14 Thread clyon at gcc dot gnu.org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- I've noticed that gcc.target/arm/thumb2-cond-cmp-*.c fail when targeting cortex-M CPUs. For thumb2-cond-cmp-1.c, the code generated at svn r196196 for cortex-m3 w

[Bug target/94576] Regression build newlib for Arm

2020-04-14 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94576 Christophe Lyon changed: What|Removed |Added Target|aarch64 |arm Summary|Regression buil

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-14 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538 --- Comment #8 from Christophe Lyon --- > Adding Christophe. I'm thinking the best approach right now is to revert > given -mpure-code doesn't work at all on Thumb-1 targets - it still emits > literal pools, switch tables etc. That's not pure co

[Bug target/94576] Regression build newlib for Arm64

2020-04-14 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94576 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug target/82038] Very poor optimization of constant multiply on ARM Cortex-M7

2020-04-10 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82038 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug rtl-optimization/70164] [8/9/10 Regression] Code/performance regression due to poor register allocation on Cortex-M0

2020-04-10 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70164 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug target/56550] cortex-m3: incorrect write to member of volatile packed structure

2020-04-10 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56550 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org

[Bug testsuite/94547] New: gcc.target/arm/acle/cde.c fails on armeb

2020-04-10 Thread clyon at gcc dot gnu.org
: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- I've noticed that gcc.target/arm/acle/cde.c fails on armeb-none-linux-gnueabihf. gcc.target/arm/acle/cde.c -O1 check-function-bodies test_cde_cx1da gcc.targe

[Bug target/52565] __builtin_va_arg(va, double); may fail on cortex-m3

2020-04-09 Thread clyon at gcc dot gnu.org
||clyon at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED --- Comment #1 from Christophe Lyon --- (In reply to Ravaz from comment #0) [...] > The instruction at 0x810c forces the address used for the ldrd to be > alligned to an 8 bytes boundar

[Bug target/94531] New: gcc.target/arm/its.c fails for cortex-m3

2020-04-08 Thread clyon at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- I've noticed that gcc.target/arm/its.c fails when targetting cortex-m3 or m33, but that's probably true with all cortex-m versions. The code generated at r206697 (just

[Bug tree-optimization/91322] [10 regression] alias-4 test failure

2020-04-03 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91322 --- Comment #7 from Christophe Lyon --- Created attachment 48185 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48185&action=edit qemu execution trace

<    1   2   3   4   5   6   7   8   9   10   >