Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2022-04

  1. Internal error building RTL

    I’m doing a make all in the RTL and getting this internal error. Can anyone else replicate this? /Users/ryanjoseph/Developer/fpc-gitlab/rtl/inc/genmath.inc:77:7:…

    Hairy Pixels, J. Gareth Moreton
    5
  2. Unable to find resource

    On a project I'm working on I needed to refactor some units. After I finished, I got a linking error about a duplicate resource. Maybe accidentally a stale one got…

    Marc Weustink, Marco van de Voort
    5
  3. More peephole optimisation questions

    So this is another question on peephole optimisation for x86_64. Occasionally you get situations where you write a load of constants to the stack - in this case it's…

    J. Gareth Moreton
    0
  4. Thoughts: Make FillChar etc. an intrinsic for specialised performance potential

    This is something that sprung to mind when thinking about code speed and the like, and one thing that cropped up is the initialisation of large variables such as arrays…

    J. Gareth Moreton, Benito van der Zander, Florian Klämpfl
    15
  5. Need some assistance with a test failure

    I'm having a problem with a certain test failing on my Sliding Window-based Assembly-level CSE optimisation over at…

    J. Gareth Moreton
    0
  6. x86: Efficiency of opposing CMOVs

    In the x86_64 assembly dumps, I frequently come across combinations such as the following:     cmpl    %ebx,%edx     cmovll    %ebx,%eax     cmovnll   …

    J. Gareth Moreton, Florian Klämpfl, Thorsten Otto
    6
  7. Incompatible assignments but no compile error (char array and shortstring)

    Tested with fpc 3.3.1 trunk (as of 2022-Mar-12) and 3.2.2 stable. Ubuntu 20.04 64-bit Good compile time error checking is one of the wonderful things about Pascal. But…

    Wayne Sherman, J. Gareth Moreton, Sven Barth
    4
  8. Aligned array feature

    To complement aligned records, I'm trying out an implementation of aligned records.  Like how you might declare an aligned record as follows: type AlignedVector =…

    J. Gareth Moreton, Karoly Balogh
    2
  9. Problems with MM types (__m128 etc).

    I recently made a merge request that initally just fixed the incorrect memory alignment for __m128 and similar types, but doing so revealed a whole plethora of other…

    J. Gareth Moreton, Jonas Maebe, Sven Barth
    14
  10. Question about typeconv nodes

    I've noticed that, in many units, the generated node trees produce a lot of typeconv nodes with convtype=tc_equal.  For example (4th line - this is generated with…

    J. Gareth Moreton
    0
  11. Package build failure under i386-win32

    It seems at some point, something was introduced to the compiler that causes a package to fail to build (specifically packages\chm\src\chmwriter.pas) with an…

    J. Gareth Moreton, Florian Klämpfl, Marco van de Voort
    4