[fpc-devel] [Dwarf AVR] DIE refers to abbreviation number which does not exist

2021-02-03 Thread Dimitrios Chr. Ioannidis via fpc-devel
Hi,  in Windows which cross tools / toolchain for avr should I use ? FPC's avr-embedded- ( from https://svn.freepascal.org/svn/fpcbuild/binaries/i386-win32 ) or Microchip's AVR Toolchain for Windows ( https://www.microchip.com/en-us/development-tools-tools-and-software/gcc-compilers-avr-a

Re: [fpc-devel] dwarf 2 warning CIE

2021-02-03 Thread Dimitrios Chr. Ioannidis via fpc-devel
Hi, Στις 3/2/2021 10:06 μ.μ., ο/η Florian Klämpfl via fpc-devel έγραψε: Am 02.02.21 um 11:24 schrieb Dimitrios Chr. Ioannidis via fpc-devel: Hi,    while I investigate some problems I'm having regarding avr debugging, I noticed that the dwarf 2 / 3 generation gives a warning when I call a pr

Re: [fpc-devel] Discussion on a particular optimisation development (WARNING: Technical!)

2021-02-03 Thread Florian Klämpfl via fpc-devel
Am 03.02.21 um 22:36 schrieb J. Gareth Moreton via fpc-devel: On 03/02/2021 21:18, Florian Klämpfl via fpc-devel wrote: Am 03.02.21 um 22:14 schrieb J. Gareth Moreton via fpc-devel: Rats, I might have messed up with some of the arithmetic, as well as the dangers of crossing bitwise with logical

Re: [fpc-devel] Discussion on a particular optimisation development (WARNING: Technical!)

2021-02-03 Thread J. Gareth Moreton via fpc-devel
On 03/02/2021 21:18, Florian Klämpfl via fpc-devel wrote: Am 03.02.21 um 22:14 schrieb J. Gareth Moreton via fpc-devel: Rats, I might have messed up with some of the arithmetic, as well as the dangers of crossing bitwise with logical Boolean operations, although some combinations still work - i

Re: [fpc-devel] Discussion on a particular optimisation development (WARNING: Technical!)

2021-02-03 Thread Florian Klämpfl via fpc-devel
Am 03.02.21 um 22:14 schrieb J. Gareth Moreton via fpc-devel: Rats, I might have messed up with some of the arithmetic, as well as the dangers of crossing bitwise with logical Boolean operations, although some combinations still work - if the conditions are "x = 0" rather than "x <> 0" in the e

Re: [fpc-devel] Discussion on a particular optimisation development (WARNING: Technical!)

2021-02-03 Thread J. Gareth Moreton via fpc-devel
Rats, I might have messed up with some of the arithmetic, as well as the dangers of crossing bitwise with logical Boolean operations, although some combinations still work - if the conditions are "x = 0" rather than "x <> 0" in the example: testq    %rbx,%rbx seteb    %al testq 

Re: [fpc-devel] Discussion on a particular optimisation development (WARNING: Technical!)

2021-02-03 Thread Florian Klämpfl via fpc-devel
Am 03.02.21 um 21:23 schrieb Sven Barth via fpc-devel: Am 03.02.2021 um 20:25 schrieb Florian Klämpfl via fpc-devel: Am 02.02.21 um 22:06 schrieb J. Gareth Moreton via fpc-devel: Hi everyone, I've found a potential optimisation for conditions of the form "(x <> 0) and (y <> 0)", which are ver

Re: [fpc-devel] Discussion on a particular optimisation development (WARNING: Technical!)

2021-02-03 Thread Sven Barth via fpc-devel
Am 03.02.2021 um 20:25 schrieb Florian Klämpfl via fpc-devel: Am 02.02.21 um 22:06 schrieb J. Gareth Moreton via fpc-devel: Hi everyone, I've found a potential optimisation for conditions of the form "(x <> 0) and (y <> 0)", which are very common because this is semantically equivalent to "As

Re: [fpc-devel] dwarf 2 warning CIE

2021-02-03 Thread Florian Klämpfl via fpc-devel
Am 02.02.21 um 11:24 schrieb Dimitrios Chr. Ioannidis via fpc-devel: Hi,   while I investigate some problems I'm having regarding avr debugging, I noticed that the dwarf 2 / 3 generation gives a warning when I call a procedure from another unit. Is it a bug or because it's a warning I can sa

Re: [fpc-devel] Discussion on a particular optimisation development (WARNING: Technical!)

2021-02-03 Thread Florian Klämpfl via fpc-devel
Am 02.02.21 um 22:06 schrieb J. Gareth Moreton via fpc-devel: Hi everyone, I've found a potential optimisation for conditions of the form "(x <> 0) and (y <> 0)", which are very common because this is semantically equivalent to "Assigned(x) and Assigned(y)", for example, and such a construct

Re: [fpc-devel] Apple M1 processor

2021-02-03 Thread Jonas Maebe via fpc-devel
On 02/02/2021 16:48, C Western via fpc-devel wrote: > I have been trying out compiling my main application for the new Apple > M1 machines, and have two queries: > > The traceback on crashes does not include line numbers, when the same > flags on other architectures does. Is this something that is