[libre-riscv-dev] [Bug 286] DataPointer concept: long-immediate references

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Apr 15 07:41:16 BST 2020


cand at gmx.com changed:

           What    |Removed                     |Added
                 CC|                            |cand at gmx.com

--- Comment #1 from cand at gmx.com ---
A banked data scheme, like on the 65816, would be a slightly simpler version.
Instead of incrementing a pointer, the data bank register contains the high
bits, and the instruction contains the low bits. Such a setup also lets you
access larger-than-11-bit immediates, and is basically MIPS's small data
section made customizable.

It would still be relocatable, just in 11 bit alignments. The linker would
adjust the set-data-bank-register instructions on program load, for
position-independent code.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-riscv-dev mailing list