fpc-devel · 2019-03
- Vectorisation, optimisation etc.8
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…
- AVR HeapSize and StackSize3
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…
- Free Pascal JVM and Android media player API call issue0
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…
- Aligned dynamic arrays46
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…
- Low-cost encoding reduces PPU size by 10%0
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…
- Packed record integers and x86_8610
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.…
- Programming in Pascal .5
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…
- Simplicity vs. Complexity2
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…
- fpcmkcfg and fpc.cfg questions21
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:…
- TRegistry and Unicode82
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…
- Closures repo6
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…
- implicit generic specialization modeswitch name4
For my patch https://bugs.freepascal.org/view.php?id=35261 I have named the modeswitch “implicitgenerics” but Florian liked the name…
- Running test suite linker error (mac)1
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…
- Re: Successful implementation of inline supportforpureassembler routines on x866
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…
- Re: Successful implementation of inline support forpureassembler routines on x869
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…
- Re: Successful implementation of inline support for pure assembler routines on x864
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…
- Re: Successful implementation of inline support for pureassembler routines on x863
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…
- Re: Successful implementation of inline support forpure assembler routines on x8615
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…
- FPDoc - TH is a row-level tag?2
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…
- Re: Successful implementationofinlinesupportforpureassembler routines on x861
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…
- Re: Successful implementation ofinlinesupportforpureassembler routines on x861
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…
- All constant operators1
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…
- Re: Successful implementation of inlinesupportforpureassembler routines on x863
Just wrote some Pascal functions for ClampInt to test it: function ClampInt1(X: LongInt): LongInt; inline; begin if (X < 0) then Result := 0 else …
- Re: Typed constants2
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 =…
- Successful implementation of inline support for pure assembler routines on x864
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…
- Question about packages2
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…
- Publish some of FPC's internal cross-platform functionality16
Hello, all FreePascal has many low-level cross-platform functions scattered over multiple .inc files but not consolilated into reusable cross-platform units. Consider,…
- Re: Getting built-in string type5
Sending this again to see if it gets through (posts getting blocked again). Ryan Joseph
- "Blank slate" next version of FPC107
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…
- x86-64: MOVZX peephole optimisations3
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…
- Re: Some new4
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,…
- Some new "in" operator functions1
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 ".…
- Regressions on i386-win32 and x86_64-win644
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…
