[fpc-devel] ARM: AND/CMP -> TST optimisation produces incorrect results

2024-02-19 Thread Garry Wood via fpc-devel
end of the TST instruction which means that the shl on the original code is not being performed and the test is therefore invalid. Similar code sequences in multiple other places produce the same result with the lsl suffix missing from the TST instruction. Please let me know if you ne

Re: [fpc-devel] Recent changes break distclean for utils

2023-08-18 Thread Garry Wood via fpc-devel
>On Fri, 18 Aug 2023, Michael Van Canneyt via fpc-devel wrote: >And that is how it is supposed to be. >The distclean is only needed at the toplevel. The rest is handled by fpmake. >So there is no need to call distclean for subdirectories, this means that >CLEAN_TARGET_DIRS must be empty. >So wh

[fpc-devel] Recent changes break distclean for utils

2023-08-15 Thread Garry Wood via fpc-devel
Hello, Just letting you know that some recent changes seem to have broken "make distclean" for source/utils Makefile.fpc in the source/utils folder contains the line: CLEAN_TARGET_DIRS=$(subst /Makefile.fpc, ,$(wildcard */Makefile.fpc)) But a recent commit (25 July 2023) removed all the Makefi

Re: [fpc-devel] Implementing SHA256 Unit.

2016-03-20 Thread Garry Wood
On Mar 20, 2016 10:19 PM, Jy V wrote: > > > >> On Sun, Mar 20, 2016 at 2:11 AM, Garry Wood wrote: >>> >>>  I recently ported the implementation from LibTimCrypt / wpa_supplicant >>> (which are both from public domain implementations), you can find the

Re: [fpc-devel] Implementing SHA256 Unit.

2016-03-20 Thread Garry Wood
On Mar 20, 2016 10:17 PM, Jy V wrote: > > > On Sun, Mar 20, 2016 at 2:11 AM, Garry Wood wrote: >> >>  I recently ported the implementation from LibTimCrypt / wpa_supplicant >> (which are both from public domain implementations), you can find the unit >&g

Re: [fpc-devel] Implementing SHA256 Unit.

2016-03-20 Thread Garry Wood
On Mar 20, 2016 8:14 PM, Michael Van Canneyt wrote: > > > > On Sun, 20 Mar 2016, Garry Wood wrote: > > >> I'm trying to write a sha256 implementation in pure pascal like sha1 and > >> md5 units. > >> With negative results. > >> Som

Re: [fpc-devel] Implementing SHA256 Unit.

2016-03-19 Thread Garry Wood
>I'm trying to write a sha256 implementation in pure pascal like sha1 and md5 >units. >With negative results. >Someone can helpme with this? I recently ported the implementation from LibTimCrypt / wpa_supplicant (which are both from public domain implementations), you can find the unit here: h

[fpc-devel] New unofficial target for FPC

2016-02-03 Thread Garry Wood
Hi, Some might consider this off topic for the list but I'm going with the fact that it extends the reach of FPC to a new target. A new unofficial target has been released for FPC (target ultibo) which provides an RTL that allows embedded development for Raspberry Pi without an operating syste

Re: [fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2016-01-05 Thread Garry Wood
>>While it's true that BLX always changes instructions set, I've heard some >>reports indicating that some assembler/linker combinations on OSX (apparently >>clang based?) have been behaving >>strangely with this lately. >>GCC+binutils have always been following the "emit blx and let the linker

Re: [fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2015-12-16 Thread Garry Wood
On 12/16/2015 10:13 AM, Jonas Maebe wrote: >> The compiler and assembler mark which code is ARM and which is Thumb. >> Normally, when the linker processes the object files, it will replace >> the blx instructions with bl if they go from ARM to ARM or from Thumb >> to Thumb. The reason that a com

[fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2015-12-14 Thread Garry Wood
Pascal and this is the only issue I have encountered that I could directly trace to FPC itself. Thanks to you all for such a powerful compiler! Thanks, Garry Wood. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.