Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel

fpc-devel · 2021-02

  1. -O3 peephole proposal... run Pass 1 again if Pass 2 returns True

    I'm currently developing some new optimisations for Lea instructions after I discovered some new potential ones after fixing i38527.  That aside though, sometimes these…

    J. Gareth Moreton
    2
  2. Optimisation and memory alignment question

    So to get to the point, I've spotted another potential peephole optimisation specifically on x86_64:     movq    (%rdx),%rax     shrq    $32,%rax Is it…

    J. Gareth Moreton, Florian Klämpfl
    1
  3. PB2PAS: Proto Compiler for FPC

      I would like to share the proto compiler I developed and get some feedback on it as well.   The compiler's code is located https://github.com/AmirAavani/PB2PAS. The…

    Amir
    0
  4. CSE and node optimisation question

    I've been looking at some node-level optimisations as of late, and I came across a couple of potential ones while doing experiments with the test on i38527, namely (R is…

    J. Gareth Moreton
    1
  5. Dangerous download on bug report

    This is a bit of a public service announcement.  I tried to look at this bug: https://bugs.freepascal.org/view.php?id=38451 The poster offered a ZIP download of their…

    J. Gareth Moreton, Bart, Christo Crause
    15
  6. Range check error on i386-win32

    While testing a patch for a bug fix, I discovered that there's a range check error in the compiler trunk under i386-win32 if I run "make fullcycle OPT="-O4 -CriotR -gl"…

    J. Gareth Moreton
    0
  7. Enabling hardware floating point processor for cortex-m4f on embedded and freertos

    When rtl for arm-embedded/arm-freertos is build with hardfloat the fpu should also automagically get enabled, by default it is off which causes a crash when floats are…

    Michael Ring, Florian Klämpfl
    7
  8. Adding new units to the compiler project

    I'm currently doing some experiments with vectorisation on x86 platforms.  One thing this might entail is a new platform-specific unit (e.g. "x86/nx86bas.pas"). …

    J. Gareth Moreton, Jonas Maebe
    2
  9. What is the status of -CfLIBGCC ? Can ib be considered good/working for embedded targets?

    I am having a lot of (no-)fun with floating point on Cortex-M0, current summary would be to say that things get pretty unreliable once I start using Floats. I today…

    Michael Ring, Florian Klämpfl
    3
  10. [Dwarf AVR] DIE refers to abbreviation number which does not exist

     in Windows which cross tools / toolchain for avr should I use ? FPC's avr-embedded-xxxx ( from https://svn.freepascal.org/svn/fpcbuild/binaries/i386-win32 ) or…

    Dimitrios Chr. Ioannidis, Florian Klämpfl
    7
  11. Making $FPCABI work as expected for embedded targets

    There is an issue with compiling code for armv7em, we may compile with hardfloat support or without. The compiled files are link-incompatible as ABI is different so…

    Michael Ring, Florian Klämpfl
    3
  12. Latest trunk - problems with codesign on MacOSX

    In a recent trunk version new code was introduced in the compiler Makefile to make use of codesign for comparing stage compilers. Problem is that there was an algorithm…

    Michael Ring, Jonas Maebe
    2
  13. AVR systeminfo defaults to dwarf 3

      I read at compiler/systems/i_embed.pas the AVR systeminfo, is the only one that, has as default "dbg : dbg_dwarf3". The other embed systems that uses dwarf ( ARM,…

    Dimitrios Chr. Ioannidis, Christo Crause, Florian Klämpfl
    8
  14. Apple M1 processor

    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…

    C Western, Jonas Maebe
    6
  15. Two floating point issues for the price of one on Cortex-M0 / Trunk

    Jeppe already told me that floating point could be a little shaky on Cortex-M, and he was right... I am creating examples for the Raspberry Pi Pico and the ADC example…

    Michael Ring
    0
  16. dwarf 2 warning CIE

      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…

    Dimitrios Chr. Ioannidis, Christo Crause, Florian Klämpfl
    5
  17. Discussion on a particular optimisation development (WARNING: Technical!)

    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…

    J. Gareth Moreton, Florian Klämpfl, Nikolay Nikolov
    8