[fpc-devel] Trunk does not compile for armv6m since rev. 26346

2014-01-02 Thread Michael Ring
Checkin Comment was: Optimized support for 32x32 => 64bit multiplications on ARM This code uses UMULL and SMULL to perform the multiplications, which take two 32bit source registers and two 32bit destination registers. ... umull is not supported by cortex-m0 chips ... system.inc(1770,8) Warn

Re: [fpc-devel] Trunk does not compile for armv6m since rev. 26346

2014-01-02 Thread Nico Erfurth
On 02.01.14 12:51, Michael Ring wrote: > Checkin Comment was: > > Optimized support for 32x32 => 64bit multiplications on ARM > > This code uses UMULL and SMULL to perform the multiplications, which > take two 32bit source registers and two 32bit destination registers. > > > ... umull is not su

Re: [fpc-devel] Trunk does not compile for armv6m since rev. 26346

2014-01-02 Thread Nico Erfurth
On 02.01.14 13:24, Nico Erfurth wrote: > On 02.01.14 12:51, Michael Ring wrote: >> Checkin Comment was: >> >> Optimized support for 32x32 => 64bit multiplications on ARM >> >> This code uses UMULL and SMULL to perform the multiplications, which >> take two 32bit source registers and two 32bit desti

Re: [fpc-devel] Trunk does not compile for armv6m since rev. 26346

2014-01-02 Thread Jonas Maebe
On 02 Jan 2014, at 14:11, Nico Erfurth wrote: I've added a new CPU-feature flag CPUARM_HAS_UMULL and also used it for the 64x64=>64bit code. I think it would be cleaner to also use it in tarmaddnode.use_generic_mul32to64 (maybe it's also necessary for correctness, since in pass_1 you ch

Re: [fpc-devel] Trunk does not compile for armv6m since rev. 26346

2014-01-02 Thread Michael Ring
I tried rev. 26354, the problem is not yet fixed, perhaps Jonas is right and there's more to do... I both tried armv7m and armv6m, both break: ring/devel/fpc/rtl/units/arm-embedded -darm -dRELEASE -O- -gw2 -Fi../objpas/sysutils sysutils.pp dati.inc(80,34) Fatal: Internal error 2002090902 Fatal

Re: [fpc-devel] Trunk does not compile for armv6m since rev. 26346

2014-01-02 Thread Florian Klämpfl
Am 02.01.2014 15:18, schrieb Michael Ring: > I tried rev. 26354, the problem is not yet fixed, perhaps Jonas is right > and there's more to do... I both tried armv7m and armv6m, both break: > > ring/devel/fpc/rtl/units/arm-embedded -darm -dRELEASE -O- -gw2 > -Fi../objpas/sysutils sysutils.pp > dat

Re: [fpc-devel] Trunk does not compile for armv6m since rev. 26346

2014-01-02 Thread Michael Ring
Working again for armv7m and armv6m, thank you! Michael Am 02.01.14 16:24, schrieb Florian Klämpfl: Am 02.01.2014 15:18, schrieb Michael Ring: I tried rev. 26354, the problem is not yet fixed, perhaps Jonas is right and there's more to do... I both tried armv7m and armv6m, both break: ring/de

Re: [fpc-devel] Trunk does not compile for armv6m since rev. 26346

2014-01-02 Thread Nico Erfurth
On 02.01.14 14:35, Jonas Maebe wrote: > > On 02 Jan 2014, at 14:11, Nico Erfurth wrote: > >> I've added a new CPU-feature flag CPUARM_HAS_UMULL and also used it for >> the 64x64=>64bit code. > > I think it would be cleaner to also use it in > tarmaddnode.use_generic_mul32to64 (maybe it's also ne