[Bug target/113779] Very inefficient m68k code generated for simple copy loop

2024-02-06 Thread miro.kropacek at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113779 --- Comment #5 from Miro Kropacek --- I have been told that one of the reasons why post-incrementing modes are not supported / preferred these days is that they halt the CPU pipeline (of course, totally not applicable on m68k). So with the

[Bug target/113779] Very inefficient m68k code generated for simple copy loop

2024-02-06 Thread miro.kropacek at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113779 --- Comment #3 from Miro Kropacek --- > I wonder if the code we emit is measurably slower though? It's possibly a little bit larger due to the two IV increments. It's definitely slower as both offsets next to the An registers generate a

[Bug c/113779] New: Very inefficient m68k code generated for simple copy loop

2024-02-05 Thread miro.kropacek at gmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: miro.kropacek at gmail dot com Target Milestone: --- Even as simple loop as this: void f(const long* src, long* dst, int count) { for (int i = 0; i < count

[Bug c++/112712] New: Crash when compiling g++ -m68020-60 -O2

2023-11-25 Thread miro.kropacek at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: miro.kropacek at gmail dot com Target Milestone: --- Created attachment 56688 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56688=edit Preprocessed output This is a crash which seems to be specific to the -m68020

[Bug target/99690] New: gcc/config/m68k/t-mlibs doesn't allow extending MULTILIB_EXCEPTIONS

2021-03-20 Thread miro.kropacek at gmail dot com via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: miro.kropacek at gmail dot com Target Milestone: --- gcc/config/m68k/t-mlibs nicely unifies various m68k options and mappings. However it doesn't allow extending (or overriding

[Bug target/99144] New: -mtune=68040 doesn't respect restrictions set by -march=68060

2021-02-17 Thread miro.kropacek at gmail dot com via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: miro.kropacek at gmail dot com Target Milestone: --- man gcc states: -m68060 [...] This option inhibits the use of 68020 and 68881/68882 instructions that have to be emulated

[Bug bootstrap/87498] Inconsistent behaviour for passing -DNO_ASM and host=none

2018-10-04 Thread miro.kropacek at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87498 --- Comment #3 from Miro Kropacek --- Fix is easy - just pass --disable-assembly to extra_configure_flags. I guess gcc will have to deal with the 'none' target in the future anyway because it is deprecated in gmp.

[Bug bootstrap/87498] Inconsistent behaviour for passing -DNO_ASM and host=none

2018-10-03 Thread miro.kropacek at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87498 --- Comment #1 from Miro Kropacek --- > For x86_64's gmp, host is passed as "none-pc-linux-gnu", thus disabling > assembly and passing -DNO_ASM to CFLAGS from gmp's configure (making the > toplevel AM_CFLAGS useless). I must correct myself

[Bug bootstrap/87498] New: Inconsistent behaviour for passing -DNO_ASM and host=none

2018-10-03 Thread miro.kropacek at gmail dot com
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: miro.kropacek at gmail dot com Target Milestone: --- While testing recent 7.3.0 on m68k I have noticed an inconsistency when it comes to enabling/disabling assemly routines for gmp

[Bug c/59946] New: -mpcrel -O2 produces illegal asm code

2014-01-25 Thread miro.kropacek at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: miro.kropacek at gmail dot com int copyNextDtaToAtari(void); char fsnextIsForUs; int custom_fsnext( void *sp ) { int res; if(!fsnextIsForUs) { return 0; } res = copyNextDtaToAtari

[Bug target/59196] New: ./configure --with=cpu is broken for some m68k targets

2013-11-19 Thread miro.kropacek at gmail dot com
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: miro.kropacek at gmail dot com I've found a small bug in GCC source code. At line 631 in gcc-4.6.4/gcc/config/m68k/m68k.c is: m68k_tune_flags = all_devices[dev]-flags; but should be: m68k_tune_flags = all_devices

[Bug target/59196] ./configure --with-cpu is broken for some m68k targets

2013-11-19 Thread miro.kropacek at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59196 --- Comment #2 from Miro Kropacek miro.kropacek at gmail dot com --- Done. Thanks for testing!

[Bug c++/48551] New: Following source code crashes the c++ compiler on coldfire platform.

2011-04-11 Thread miro.kropacek at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48551 Summary: Following source code crashes the c++ compiler on coldfire platform. Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: blocker Priority: P3

[Bug c++/48551] Following source code crashes the c++ compiler on coldfire platform.

2011-04-11 Thread miro.kropacek at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48551 --- Comment #1 from Miro Kropacek miro.kropacek at gmail dot com 2011-04-11 09:48:18 UTC --- Created attachment 23953 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=23953 Test case

[Bug c/48554] New: Regression for coldfire platform

2011-04-11 Thread miro.kropacek at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48554 Summary: Regression for coldfire platform Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c AssignedTo: