Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Anatoly Shashkin💾 (dosnostalgic@mastodon.social@mastodon.social)'s status on Thursday, 07-Sep-2023 19:29:12 UTC Anatoly Shashkin💾 Anatoly Shashkin💾

    A branchless port of DOOM that only uses MOV instruction. Takes 7 hours to render each frame.
    https://github.com/xoreaxeaxeax/movfuscator/blob/master/validation/doom/README.md

    In conversation Thursday, 07-Sep-2023 19:29:12 UTC from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/111/025/511/733/688/519/original/d2d5996f54944ebf.png
    2. No result found on File_thumbnail lookup.
      https://github.com/xoreaxeaxeax/movfuscator/blob/master/validation/doom/README.md
    • mausmalone (mausmalone@mastodon.social)'s status on Thursday, 07-Sep-2023 19:44:15 UTC mausmalone mausmalone
      in reply to

      @dosnostalgic but but but assembly code is always faster!

      In conversation Thursday, 07-Sep-2023 19:44:15 UTC permalink
    • Brian Gomes Bascoy (pera) (trobador@mastodon.social)'s status on Sunday, 10-Sep-2023 12:50:58 UTC Brian Gomes Bascoy (pera) Brian Gomes Bascoy (pera)
      in reply to

      @dosnostalgic this is very cool! The cited paper ("mov is Turing-complete" by Stephen Dolan) explains how this works, the fundamental part is that you can perform comparisons with just mov instructions by storing a value X in [RegA], then a different value Y in [RegB], and finally load [RegA] into RegC: register C will now be Y if registers A and B are equal, otherwise it will be X.

      I don't recall reading about this topic before, it's really ingenious: https://en.m.wikipedia.org/wiki/One-instruction_set_computer#Transport_triggered_architecture

      In conversation Sunday, 10-Sep-2023 12:50:58 UTC permalink

      Attachments

      1. One-instruction set computer
        A one-instruction set computer (OISC), sometimes referred to as an ultimate reduced instruction set computer (URISC), is an abstract machine that uses only one instruction – obviating the need for a machine language opcode. With a judicious choice for the single instruction and given infinite resources, an OISC is capable of being a universal computer in the same manner as traditional computers that have multiple instructions.: 55  OISCs have been recommended as aids in teaching computer architecture: 327 : 2  and have been used as computational models in structural computing research. The first carbon nanotube computer is a 1-bit one-instruction set computer (and has only 178 transistors). Machine architecture In a Turing-complete model, each memory location can store an arbitrary integer, and – depending on the model – there may be arbitrarily many locations. The instructions...

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.