 
      
    | You are here | www.linaro.org | ||
| | | | | coredumped.dev | |
| | | | | In this post, we are going to take a deep dive into pointer tagging, where metadata is encoded into a word-sized pointer. Doing so allows us to keep a compact representation that can be passed around in machine registers. This is very common in implementing dynamic programming languages, but can really be used anywhere that additional runtime information is needed about a pointer. We will look at a handful of different ways these pointers can be encoded and see how the compiler can optimize them for diff... | |
| | | | | kuruczgy.com | |
| | | | | ||
| | | | | www.nayuki.io | |
| | | | | ||
| | | | | blog.eowyn.net | |
| | | The idea for the project was to take the processor we had made in a class at Tufts in the fall of 2021, synthesize it to an FPGA, write an assembler, and run a basic program on it. This included several steps, from adding new components and testing them, to debugging overall problems that come from synthesizing code which had only been simulated previously, to writing an assembler specifically targeting the processor that would output in the format necessary for execution on our design. | ||