Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2019-03

  1. Vectorisation, optimisation etc.

    So with the false start that was pure inline assembly, I like to talk about how to move forward with FPC, or at least with x86_64.  To Florian in particular, what is…

    J. Gareth Moreton, Ben Grasset, Jeppe Johansen
    8
  2. AVR HeapSize and StackSize

      I'm using the heapmgr unit and, for the atmega328p, AFAIU the default heap size is 80 bytes. Cause it's too small for my needs, I changed to 512 bytes ( -Ch512 ). But…

    Dimitrios Chr. Ioannidis, Christo Crause, Florian Klämpfl
    3
  3. Free Pascal JVM and Android media player API call issue

    My name is Janusz Chmiel. I have found amazing project from 2017 available here. https://sourceforge.net/p/javavcl/code/HEAD/tree/ I AM sad, because I do not know, why I…

    Mgr. Janusz Chmiel
    0
  4. Aligned dynamic arrays

    I would like to attempt to implement this feature request (https://bugs.freepascal.org/view.php?id=34031 for my boss) which has the SetLength intrinsic return aligned…

    Ryan Joseph, Anthony Walter, Christo Crause
    46
  5. Low-cost encoding reduces PPU size by 10%

    Sorry if the title sounds like a clickbait you find everywhere on the Internet, and I apologise again for using FPC as my kind of personal research ground! I've just…

    J. Gareth Moreton
    0
  6. Packed record integers and x86_86

    I need a solution for a packed record containing 4-byte 32-bit integers and cardinals, and other byte 8 bit and word 16 bit sized variables to overlay over a stream.…

    DJ Coertzen, Christo Crause, J. Gareth Moreton
    10
  7. Programming in Pascal .

    Bonjour. I am asking questions on the art of scientific computing from 1966. the U.C.S.D. Pascal system has been the touchstone of the scientific computing. This has…

    Yves Boudeville, Carsten Bager, J. Gareth Moreton
    5
  8. Simplicity vs. Complexity

    This is a question regarding the compiler in general, and I sense there is no single correct answer. As you may already know, FPC compiles source code into intermediate…

    J. Gareth Moreton, Joao Schuler
    2
  9. fpcmkcfg and fpc.cfg questions

    First problem: I tried to build lazarus trunk with fpc trunk. Lazarus r60747, fresh checkout Fpc r41788, installed from source in C:\PP It failed with:…

    Bart, Ben Grasset, Joost van der Sluis
    21
  10. TRegistry and Unicode

    I'm currently involved in some TRegistry bugs and regressions. Personally I don't use TRegistry in any of my programs. Also I mostly use Lazarus, so most most of the…

    Bart, Cyrax, Giuliano Colla
    82
  11. Closures repo

    So I came across a backup repo that Maciej made of the development for closures (from 2015, not sure when the original author stopped working on it). I know Sven said…

    Ryan Joseph, Ben Grasset, Blaise Thorn
    6
  12. implicit generic specialization modeswitch name

    For my patch https://bugs.freepascal.org/view.php?id=35261 I have named the modeswitch “implicitgenerics” but Florian liked the name…

    Ryan Joseph, Bart, Sven Barth
    4
  13. Running test suite linker error (mac)

    This same problem of the missing crt1.10.5.o file on macOS 10.14 is now affecting running the test suite. I have no idea what changed because this worked just a couple…

    Ryan Joseph, Jonas Maebe
    1
  14. Re: Successful implementation of inline supportforpureassembler routines on x86

    I think one of the main issues with intrinsics is that you don't have much control over where results are stored.  Unless you're chaining a load of intrinsics together…

    J. Gareth Moreton, Florian Klämpfl, Marco van de Voort
    6
  15. Re: Successful implementation of inline support forpureassembler routines on x86

    Thank you so much Ben!  I'm glad I'm not the only person who gets a kick out of assembly language programming!  There's still a place for it even in today's world. I…

    J. Gareth Moreton, Florian Klämpfl, Ryan Joseph
    9
  16. Re: Successful implementation of inline support for pure assembler routines on x86

    Normally Florian or another administrator will say if the patch has been applied and mark the ticket as "resolved" if they're happy.  Once they are added I will have a…

    J. Gareth Moreton, Florian Klämpfl, Jonas Maebe
    4
  17. Re: Successful implementation of inline support for pureassembler routines on x86

    I mention intrinsics because, according to Florian, someone is already developing support for them, although I can't remember the SVN repository off-hand. P.S. If such…

    J. Gareth Moreton, Florian Klämpfl
    3
  18. Re: Successful implementation of inline support forpure assembler routines on x86

    Of course, my worry now is that we've submitted so many patches and issues that we'll just be building an ever-growing back-log that may never be cleared.  It also…

    J. Gareth Moreton, Ben Grasset, Florian Klämpfl
    15
  19. FPDoc - TH is a row-level tag?

    This has been nagging at me for a while. In FPDoc the TH tag is treated as a table row. Unlike HTML, where its used to markup a table cell.I realize FPDoc XML is not…

    Don Siders, Michael Van Canneyt, Sven Barth
    2
  20. Re: Successful implementationofinlinesupportforpureassembler routines on x86

    I guess there's no place for me here.  I don't have the facilities or knowledge to develop beyond i386 and x86_64, and there's too much conflict.  You win.  What am I…

    J. Gareth Moreton, Jonas Maebe
    1
  21. Re: Successful implementation ofinlinesupportforpureassembler routines on x86

    On Mon 18/03/19 20:23 , "Jonas Maebe" sent:     Similarly, replacing return instructions with jumps is something you cannot do. Why not? There's no other way to make…

    J. Gareth Moreton, Jonas Maebe
    1
  22. All constant operators

    Can anyone help complete a list of all possible operators that could be used with constants in a record? I keep finding bugs with new operators so I need an exhaustive…

    Ryan Joseph
    1
  23. Re: Successful implementation of inlinesupportforpureassembler routines on x86

    Just wrote some Pascal functions for ClampInt to test it: function ClampInt1(X: LongInt): LongInt; inline; begin   if (X < 0) then     Result := 0   else    …

    J. Gareth Moreton, Jonas Maebe
    3
  24. Re: Typed constants

    I've actually had this problem myself - sometimes it's quite critical as well because you might want things like const   Pi: Double = 3.14159265359;   HalfPi: Double =…

    J. Gareth Moreton, Ryan Joseph, Sven Barth
    2
  25. Successful implementation of inline support for pure assembler routines on x86

    Sorry for the slightly long-winded title.  This was something I've been working on for the past few weeks to allow the use of "inline" with certain x86 assembler…

    J. Gareth Moreton, Florian Klämpfl, Marģers .
    4
  26. Question about packages

    This might be a painfully basic question, but I'm just trying to get to grips with the difference between Lazarus packages and FPC packages.  How do FPC packages work…

    J. Gareth Moreton, Marco van de Voort, Sven Barth
    2
  27. Publish some of FPC's internal cross-platform functionality

    Hello, all FreePascal has many low-level cross-platform functions scattered over multiple .inc files but not consolilated into reusable cross-platform units. Consider,…

    Anton Shepelev, Marco van de Voort, Michael Van Canneyt
    16
  28. Re: Getting built-in string type

    Sending this again to see if it gets through (posts getting blocked again). Ryan Joseph

    Ryan Joseph, Sven Barth
    5
  29. "Blank slate" next version of FPC

    I'm interested in starting (or joining) a discussion on the next (*non* backwards compatible) version of FPC. Instead of being classically object oriented, there is…

    Unknown author, Anton Shepelev, Ben Grasset
    107
  30. x86-64: MOVZX peephole optimisations

    I'm a tad confused in regards to the best course of action regarding MOVZX.  Many of the peephole optimisations seek to change them to MOV followed by AND (e.g. "movzbl…

    J. Gareth Moreton, Marģers .
    3
  31. Re: Some new

    Ah, okay.  In my case, it doesn't work if the set you specify is a constant or variable defined elsewhere. e.g. const Delimiters: array[0..5] of Char = [#9, #10, #12,…

    J. Gareth Moreton, Michael Van Canneyt
    4
  32. Some new "in" operator functions

    I've developed a couple of "in" operator overrides so you can use " in " (useful in parsing tools, say, to see if a character belongs to a set of delimiters) and " in ".…

    J. Gareth Moreton, Michael Van Canneyt
    1
  33. Regressions on i386-win32 and x86_64-win64

    It might need double-checking, but I'm getting a couple of regressions on the trunk for i386-win32 and x86_64-win64: Failed, compilation successful webtbf/tw4893d.pp…

    J. Gareth Moreton, Nikolai Zhubr, Sven Barth
    4