GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by Miod Vallat (miodvallat@hostux.social)

  1. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Thursday, 11-Dec-2025 07:12:13 JST Miod Vallat Miod Vallat

    Hey, I wrote this.

    http://miod.online.fr/software/openbsd/stories/propolice.html

    #openbsd

    In conversation about 9 days ago from hostux.social permalink
  2. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Tuesday, 18-Nov-2025 06:21:39 JST Miod Vallat Miod Vallat

    25 years ago (and a couple months), I got my hands on my first few m88k systems.

    Back then, there had been no #OpenBSD release for this platform ever completed due to compiler (gcc 2.8 back then) bugs, we were using a.out binaries without shared libraries, and I had zero knowledge of gcc internals.

    Today, OpenBSD/luna88k, which runs ELF binaries and shared libraries, has been switched to PIE userland by default, using gcc 4.2.1: https://freshbsd.org/openbsd/src/commit/NstsoXqDBQGMNHRP

    What a journey it has been!

    In conversation about a month ago from hostux.social permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      OpenBSD / src / NstsoXq - FreshBSD
  3. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Thursday, 23-Oct-2025 21:35:09 JST Miod Vallat Miod Vallat
    in reply to
    • ✧✦Catherine✦✧

    @whitequark To be fair, it's the linker which is passive-aggressive here 😋

    In conversation about 2 months ago from hostux.social permalink
  4. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Friday, 10-Oct-2025 01:11:46 JST Miod Vallat Miod Vallat
    in reply to
    • Lizzie Crowdagger :neocat_floof_flag_trans:

    @crowdagger Ça s'appelle une salle de shoot, ça !

    In conversation about 2 months ago from hostux.social permalink
  5. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Friday, 05-Sep-2025 04:18:05 JST Miod Vallat Miod Vallat
    in reply to
    • Rich Felker

    @dalias Never underestimate that .0000000001% ROI probability!

    In conversation about 4 months ago from hostux.social permalink
  6. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Monday, 01-Sep-2025 04:37:18 JST Miod Vallat Miod Vallat
    in reply to
    • Rich Felker

    @dalias Talking about Jeff Atwood again?

    In conversation about 4 months ago from hostux.social permalink
  7. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Sunday, 03-Aug-2025 04:46:18 JST Miod Vallat Miod Vallat

    Side-quest in the gcc/m88k work: on 88100, the DIV instruction is expensive (38 cycles). It is a bit less expensive on the 88110 (18 cycles), but still a heavy cost compared to other instructions.

    Gcc has logic to try and replace a divide by a constant, by a multiplication by its inverse in a Z/2**NZ ring if a proper N can be found. In other words, instead of dividing, it will multiply by a large number, and shift the result to the right by 32 bits.

    1/n

    In conversation about 5 months ago from hostux.social permalink
  8. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Sunday, 03-Aug-2025 04:46:17 JST Miod Vallat Miod Vallat
    in reply to

    Most processors have a 32x32 -> 64 integer multiplication routine, and with this you only need to keep the upper 32 bits of the result and you're done.

    (I'm taking shortcuts in the description, but this is quite close to what needs to be done).

    On 88100, integer multiply costs 3 cycles. Even with some overhead to compute the result after this multiply, this will still run circles around the DIV logic. 2/n

    In conversation about 5 months ago from hostux.social permalink
  9. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Sunday, 03-Aug-2025 04:46:15 JST Miod Vallat Miod Vallat
    in reply to

    I noticed that, when compiling with the `-m88110' option, this "replace a div by a constant with magic mult" logic would fire. And give a ~50% speedup for the operation.

    But not when compiling without any processor selection option, or when compiling with `-m88100'.

    This is because, in the not-targeting-88110 case, the compiler intrinsic for integer divide is more complicated (a "define_expand" rather than a "define_insn"), and this is likely preventing the optimization from being tried. 3/n

    In conversation about 5 months ago from hostux.social permalink
  10. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Sunday, 03-Aug-2025 04:46:14 JST Miod Vallat Miod Vallat
    in reply to

    So the side quest is to figure out whether there is a way to cause this logic to trigger, and only fallback to the convoluted 88100 logic (which is there for $REASONS, such as early processors not causing a trap when dividing by zero...) when no suitable multiplication logic can be applied. 4/4

    In conversation about 5 months ago from hostux.social permalink
  11. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Sunday, 03-Aug-2025 04:46:12 JST Miod Vallat Miod Vallat
    in reply to

    And it turns out this was a quick side quest, and a failure: the reason why this logic only triggers when targetting the 88110 is because only the 88110 has the 32x32->64 multiply instruction. 88100 can only do 32x32->32 which is useless here.

    There goes a good idea...

    In conversation about 5 months ago from hostux.social permalink
  12. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Tuesday, 22-Jul-2025 05:14:02 JST Miod Vallat Miod Vallat

    It looks like it took me 7½ months to mentally recover from 3 years of bad career choices and forgettable jobs and be back to full brain power.

    That's quite a toll these bad choices took on me.

    In conversation about 5 months ago from hostux.social permalink
  13. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Sunday, 06-Jul-2025 06:35:05 JST Miod Vallat Miod Vallat

    Votre créature sauvage d'Ardèche du jour.

    Edit: on me souffle dans l'oreillette qu'il s'agit d'une Rosalie des Alpes.

    In conversation about 6 months ago from hostux.social permalink

    Attachments


    1. https://hostux.social/system/media_attachments/files/114/802/031/149/929/113/original/f8d9d1070711a267.jpg

    2. https://hostux.social/system/media_attachments/files/114/802/031/153/670/296/original/189fca96b1a16d83.jpg
  14. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Friday, 04-Jul-2025 14:42:24 JST Miod Vallat Miod Vallat
    in reply to
    • ✧✦Catherine✦✧

    @whitequark Linker refuses to be checked!

    In conversation about 6 months ago from hostux.social permalink
  15. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Saturday, 21-Jun-2025 00:08:37 JST Miod Vallat Miod Vallat
    in reply to
    • JP Mens

    @jpmens isn't supposed to mean ``Remote Holy Code Execution'' in this case?

    In conversation about 6 months ago from hostux.social permalink
  16. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Sunday, 27-Apr-2025 01:46:17 JST Miod Vallat Miod Vallat

    Student Miod, you'll have a bad grade, and it will be carved in stone for eternity!

    In conversation about 8 months ago from hostux.social permalink

    Attachments


    1. https://hostux.social/system/media_attachments/files/114/405/255/039/808/293/original/15ef671db7ac1193.jpg
  17. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Saturday, 04-Jan-2025 06:20:46 JST Miod Vallat Miod Vallat
    in reply to
    • Michael W Lucas :flan_on_fire:

    @mwl 2025 is a fad. Won't last long - a year at most, probably even less.

    In conversation about a year ago from hostux.social permalink
  18. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Friday, 13-Dec-2024 00:09:20 JST Miod Vallat Miod Vallat
    in reply to
    • mmu_man

    @mmu_man Justement, France Travail rend libre.

    (désolé)

    In conversation about a year ago from hostux.social permalink
  19. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Friday, 06-Dec-2024 22:22:39 JST Miod Vallat Miod Vallat
    in reply to
    • Joachim

    @joachim On appelle ça de la taboulimie.

    In conversation about a year ago from hostux.social permalink
  20. Embed this notice
    Miod Vallat (miodvallat@hostux.social)'s status on Friday, 16-Aug-2024 22:57:47 JST Miod Vallat Miod Vallat

    #gameoftrees discussion between @stsp and tb@. I now understand why there's ``game'' in the name.

    #openbsd

    In conversation Friday, 16-Aug-2024 22:57:47 JST from hostux.social permalink

    Attachments


    1. https://hostux.social/system/media_attachments/files/112/970/949/296/525/862/original/8925dcf1e00d7490.jpg
  • Before

User actions

    Miod Vallat

    Miod Vallat

    🇨🇵 #Auvergnat cha(t)fouin et retors.Fournisseur de cartes postales du #Cantal en couleurs depuis 1742.Prédateur naturel du #fromage.#OpenBSD villain.Rugby XV (ASM, SACA) & XIII (Dracs, TO).

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          98946
          Member since
          16 Feb 2023
          Notices
          24
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.