Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Gergely Nagy 🐁 (algernon@trunk.mad-scientist.club)'s status on Monday, 29-Jan-2018 12:28:58 EST Gergely Nagy 🐁 Gergely Nagy 🐁

    That feeling when you are trying to debug an issue in a C program, and you end up comparing amd64 assembly.

    The error is on this line:

    γ€Œguint32 hi = GUINT32_TO_BE(id >> 32);」

    Where `id` is `guint64`, and has the value of `1` when the issue occurs. Locally, this gets compiled into a huge mess of byte swapping code. On the build host, it uses the CPU's `bswap` instruction.

    WTF.

    In conversation Monday, 29-Jan-2018 12:28:58 EST from trunk.mad-scientist.club permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.