Elektrine lite

← Feed

Andrea (Drea) Tamar Pinski

pinskia@hachyderm.io

Posts

  • View post

    I thought this addition to genmatch was going to be much harder. But it turns out not to be so bad. Still need to add some error checking; into the generated code too.

  • View post

    RE: https://hachyderm.io/@molly0xfff/117225270043571205 The only bad art is art that was never made. (Note ai art is not art)

  • View post

    Of all things that get miscompiled while making changes, it is graphite. Seriously everything else in the gcc testsuite works. Oh it works at stage1 so I know my patch is the cause. Will debug this tomorrow. I am 99% sure i am miscompiling ISL. But where and why only isl.

  • View post

    at first I thought it was a different patch which was causing my bug. But it turns out it was something I Just totally forgot about. Anyways I know understand what is going wrong. A RaW dependancy that I missed could happen.

  • View post

    Well, trying to improve std::vector::push_back for gcc and llvm. (Disclaimer with gcc's libstc++, didn't look into libc++ code though). Llvm change: https://github.com/llvm/llvm-project/pull/222727 (from my team). Gcc change i will be posting tonight or tomorrow depending on me getting it done.

  • View post

    RE: https://hachyderm.io/@pinskia/117254595282566244 GCC patches posted: https://gcc.gnu.org/pipermail/gcc-patches/2026-September/731050.html https://gcc.gnu.org/pipermail/gcc-patches/2026-September/731051.html The first one is exactly what the LLVM patch does. But the second one is needed for GCC code generation; I have not looked into why LLVM does not need a similar patch (a reduced testcase for LLVM fails in the same way as GCC did). I looked into libc++ code generation with push_back an...

  • View post

    RE: https://phire.place/@chrkrhc/117261498708136492 We have always been at war^w alience with

  • View post

    RE: https://social.treehouse.systems/@Elizafox/117270952370631981 My branch predictor is my local llm.

  • View post

    Today has been a day where I get no work done. I hate it.

  • View post

    In this one section of push_back code, I have now found 4/5 different missed optimizations. For both gcc and llvm. The last one is a saturated add/multiply which is slightly more complex to handle though but should be doable. Basically this code is trying to do a sat_mult(elements, 2*sizeof(element)) with a minimum value of sizeof(element). The sat_mult part i figured out tonight. I wonder how much this could improve the code.

  • View post

    Sent out an RFC for GCC to turn off `-ftrapping-math` by default for C and C++. This will make GCC inline for clang/LLVM. A few years ago I would have recommened doing the opposite that is an RFC for Clang to change its default but looking into GCC more; GCC really does not implement -ftrapping-math correctly and seemly never has.

  • View post

    I find the code that uses visit style programming bad. Sorry LLVM; I think it is badly written code and is a bad style of code in general. Yes some folks are adding that style to GCC for the rust front-end. But I think there are better ways of writing the code. Especially when there are things like statements that would share the same code. Yes I would say C++ code popularized it and I think it is poorly thought out code.

  • View post

    Finally understood how to implement this piece of code and the old code too. Plus it should give an infrastructure to implement another piece of code. That a coworker was implementing.

  • View post

    Today reminds me that I am not a super human and that I have only so much time in the day. I try to have a good balance between cleanups and improvements for gcc. In fact most of my cleanups are directly related to the improvements I am doing

  • View post

    Debugging a vrp miss optimization regression. Lucky it is just a regression in gcc 16. And only shows up in a small cases that I highly doubt it will affect real code.

  • View post

    Look prototyping something should be fun and rewarding. Having a computer do it for you is boring and not rewarding. Yes experience can make the prototyping faster but that is just like doing an outline of a book or an outline for drawing. Both are types of prototyping. You lay down the infrastructure of a drawing or book first via these outlines. You could claim that your english instructions to the computer is an outline (yes it is but for a different reason than you think). And that the comp...

  • View post

    So this VRP regression is one of these; this is odd and you keep on thinking why is this code causing issues later on. And then you remember there is a cache in place. And then you think can reset the cache after this code is done; not exactly so things get complex. Basically time to hand this over to the person who designed this whole thing; maybe they can think of a decent way of fixing this.

  • View post

    @xgranade@wandering.shop That take reminds me of the whole boycotts, strikes and protests are a privilege take that was going around in 2020/2021.

  • View post

    "Woman are supposed to submissive." That is the thinking of why tech bros call their chatbot by women pronouns. Plain and simple. It is the same reason why ships and cars are woman names too. Nothing new here. It is also why transwomen are not women to them because transwomen correct men. It is always me I am the top of the food chain be submissive to me. The whole chucked, calling men girls, etc. Happens too. It is all interconnected.

  • View post

    Canonical ceo Mark is huge tech bro who peaked on high school as obvious by his questions about experience during high school. So his company choosing a half finished utils is just peak white cis male who peaked in high school.

  • View post

    [RFC PATCH 0/3] wasm: New backend (for GCC) https://inbox.sourceware.org/gcc-patches/20260505223045.347444-2-feedabl3@gmail.com/

  • View post

    @xgranade It is like saying opposing cloud computer is purity culture. Or opposing Windows or Mac as being purity culture. Yes I have seen that later late.

  • View post

    Look a 30 year having sex with a 16 year is just creepy. No matter how famous that 30 year old. No matter how legal it is. It is creepy and definitely was not consensual. There is a power dynamics that causes it not to be.

  • View post

    RE: https://mastodon.social/@alexa_pavlova/116453973860406617 The bug was not really a bug. It was a loophole that Apple didn't realize until it was too late. Also it was a logic issue. Rust would NOT fix that issue. Folks like I quoted here is exactly why I mention rust is a cult. Also Apple is moving towards safety C++ and C faster than most other company because they control programming langauge inputs. Unlike most other places like Linux (open source). It is both a blessing and a pr...

  • View post

    So recently I have been thinking about conversion projects that are partly completed in gcc. Most of them are at a state where folks who are new to the project could come in and help finish them up. Many of these projects have been at this state for over 10 years too. It is if everyone accepted the idea they are partly completed. And now with the live of llms some folks want to use them to finish it. I already proved that is not needed for some, new folks are willing to do the small changes to l...

  • View post

    @lcamtuf While C/C++ does not support that directly @compiler_explorer does.

  • View post

    One thing I noticed is that sometimes LLVM does not handle non-constant form of some cases. In this case, you just need to know if the always variable was positive (or zero). For GCC the question is easy answered by tree_expr_nonnegative_p for both non-constant and the constant case. So it is just easier to handle the non-constant case than even trying to just handle the constant case. This was about https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110262 .

  • View post

    Let's talk about "Predictable calling conventions" for a second. It is a good thing to have a stable one. And well documented one. Without this performance analysis is hard to do. Also let's talk about portability, and why it is a good thing. Depending on one implemention of the language makes your code not portable at all. In fact it does the opposite. You now depend on one source base which might be go away. You think bash and gnu sed, gnu awk got where it w...

  • View post

    Over the years I just assigned myself bug reports. And then never get around to fixing them. This year I have done the opposite and started to unassign myself and for some of them I also decided to put them in the easy to fix list and even put them in the newsletter. Guess what the bugs I had assigned to myself are now being fixed. The summary here is dont be greedy and instead spread the work around. And getting in new folks might be easier than we had thought. Provide them with guidance of wh...

  • View post

    If architecture of a building an art then is so architecture of a program an art. User-interface is art as is the design of a building is art. Internals of say how floors are put together and pipes are also considered art. So code is art too.