[llvm-dev] accessing subwords in memory

Preston Briggs via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 27 11:34:26 PDT 2018


On Wed, Jun 27, 2018 at 12:32 AM, Boris Boesler <baembel at gmx.de> wrote:
> > I'm targeting a machine that can only load and store aligned 64-bit
words,
>
> Does this imply that the target uses word addresses instead of byte
addresses?

The machine uses byte addresses, but lacks instructions to do things like
load/store byte.
So we must load a word, then find the desired byte.

Preston
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180627/8aaebc8a/attachment.html>


More information about the llvm-dev mailing list