[LLVMdev] address-units
Kalle.Raiskila at nokia.com
Kalle.Raiskila at nokia.com
Thu Oct 14 03:07:18 PDT 2010
On ons, 2010-10-13 at 11:49 +0200, ext Jonas Paulsson wrote:
> Hello,
>
> I am working on a target with native 16-bit units addressing.So, for a
> a[1] reference a a+1 expression should be generated for an i16.
> I would like to get the current status on this topic. Has anyone tried to implement this yet?
Not sure if this is the same thing, but SPU has 16 byte memory accesses
only. Byte addressing is then "emulated" in target lowering of load and
store instructions, and it works fairly well. Ofcourse, it is up to the
front end of the compiler to take this into account if efficient code is
desired :)
kalle
More information about the llvm-dev
mailing list