Topic options
View mode
Newest First
Re: X5000 optimized code compile
Posted on:
Today 8:02
#21
Just popping in
Joined: 2022/8/26 20:08Last Login
: Today 19:19
From Bad Homburg v.d.Höhe, Germany
Group:
Registered Users
Sadly, the X5000 options do not work for E-UAE.
I used these flags:
CFLAGS="-O3 -mcpu=e5500 -mno-altivec -mno-powerpc64 -gstabs"
At the end I got these error messages:
/ T / cc1PpXo7 . s : Assembler messages :
/ T / cc1PpXo7 . s : 28739 : Error : unrecognized opcode : ` mcrxr'
/T/cc1PpXo7.s:28997: Error: unrecognized opcode: ` mcrxr '
...
Any ideas what else is needed to make the assembler work?
Thanks,
Josef
Re: X5000 optimized code compile
Posted on:
Today 10:28
#22
Quite a regular
Joined: 2021/4/23 7:00Last Login
: Today 20:30
From Central Bohemia, Czech Republic
Group:
Registered Users
@FlynnTheAvatar maybe: -mno-mfcrf but it should be setted correctly with -mcpu
AmigaOS3: Amiga 1200AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Re: X5000 optimized code compile
Posted on:
Today 10:56
#23
Amigans Defender
Joined: 2006/12/2 13:27Last Login
: Today 14:13
From Taranto, Italy
Group:
Staff members Moderators Registered Users
@FlynnTheAvatar If you are not using the latest gcc11 we provide in AmigaLabs with fixed cpu switches most probably that could be the problem
i'm really tired...
Re: X5000 optimized code compile
Posted on:
Today 12:14
#24
Just popping in
Joined: 2022/8/26 20:08Last Login
: Today 19:19
From Bad Homburg v.d.Höhe, Germany
Group:
Registered Users
@afxgroup
I am using the lastest gcc (native) version provided by Walkero:
gcc - v
Using built - in specs .
COLLECT_GCC =/ Work / Cubic IDE / ide / devkits / sdk / amigaos4 / 54.16 / gcc / ppc - amigaos / bin / 11.3.0 / gcc
COLLECT_LTO_WRAPPER =/ Work / Cubic\ IDE / ide / devkits / sdk / amigaos4 / 54.16 / gcc / ppc - amigaos / bin / 11.3.0 /../ libexec / gcc / ppc - amigaos / 11.3.0 / lto - wrapper
Target : ppc - amigaos
Configured with : / opt / adtools / gcc / repo / configure -- with - bugurl = https : //github.com/sba1/adtools/issues --with-pkgversion='adtools build 11.3.0' --host=ppc-amigaos --target=ppc-amigaos --disable-nls --prefix=/gcc --with-gmp=/opt/adtools/native-build/root-cross --with-mpfr=/opt/adtools/native-build/root-cross --with-mpc=/opt/adtools/native-build/root-cross --program-prefix=ppc-amigaos- --program-suffix=-11 --libexecdir=/gcc/libexec --enable-languages=c,c++ --enable-haifa --enable-sjlj-exceptions --disable-libstdcxx-pch --disable-tls --enable-threads=amigaos --enable-lto --disable-c++tools
Thread model : amigaos
Supported LTO compression algorithms : zlib
gcc version 11.3.0 ( adtools build 11.3.0 )
Re: X5000 optimized code compile
Posted on:
Today 12:41
#25
Site Builder
Joined: 2006/12/2 23:57Last Login
: Today 12:45
From Athens/Dublin
Group:
Registered Users Webmasters
@FlynnTheAvatar We need to check if there are changes in adtools that were not part of the build you are using.
Re: X5000 optimized code compile
Posted on:
Today 12:43
#26
Site Builder
Joined: 2006/12/2 23:57Last Login
: Today 12:45
From Athens/Dublin
Group:
Registered Users Webmasters
@rjd324 I am sorry I missed your message about the pinned post and the optimisations. We have the articles. So maybe we can have an article that has all the information gathered there. Anyone can create articles.
Re: X5000 optimized code compile
Posted on:
Today 14:33
#27
Not too shy to talk
Joined: 2007/3/30 18:39Last Login
: Today 14:33
Group:
Registered Users
@rjd324Quote:
rjd324 wrote:@walkero Should we make a pinned thread / guide for optimised gcc flags for the different targets? No, please, we have to stop multiplying unnecessary tweaks that will possibly raise problems, or in any case will bring nothing or almost.
Let's be careful about supposed optimizations or real micro-optimizations (that possibly make things negative on other targets).
As usual, let's make things simple and it will be better.
Re: X5000 optimized code compile
Posted on:
Today 15:42
#28
Just popping in
Joined: 2022/8/26 20:08Last Login
: Today 19:19
From Bad Homburg v.d.Höhe, Germany
Group:
Registered Users
@walkero Thinking about it, it might be more likely that this is an issue with GNU as. It is part of binutils that is rather old. Maybe the old version does not support all PPC assembler commands?
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)