ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Something else I realized: The upper 16 bits of RISC-V instructions are quite regular (identical for all instructions of a given “type”), so for the 32-bit instructions you could do two jump tables. Jump on low 16 for opcode, jump on high 16 to load regs, return and do operation, next insn.

May 9, 2025, 5:52 PM

Record data

{
  "uri": "at://did:plc:g4kfvq6qttlpqiwfzmz2o73c/app.bsky.feed.post/3loqylbflos2b",
  "cid": "bafyreih4lhciqq5td6fcnlkxmqfgk5glfgfldsomossofvu7v3pfgq5u4u",
  "value": {
    "text": "Something else I realized: The upper 16 bits of RISC-V instructions are quite regular (identical for all instructions of a given “type”), so for the 32-bit instructions you could do two jump tables. Jump on low 16 for opcode, jump on high 16 to load regs, return and do operation, next insn.",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreidtk6eoofoyeuyguhjwymnjxmambgx4pr7vvtz3p3uispns6ejyby",
        "uri": "at://did:plc:g4kfvq6qttlpqiwfzmz2o73c/app.bsky.feed.post/3lojh33xdys2c"
      },
      "parent": {
        "cid": "bafyreidtk6eoofoyeuyguhjwymnjxmambgx4pr7vvtz3p3uispns6ejyby",
        "uri": "at://did:plc:g4kfvq6qttlpqiwfzmz2o73c/app.bsky.feed.post/3lojh33xdys2c"
      }
    },
    "createdAt": "2025-05-09T17:52:49.551Z"
  }
}