Skip to content
  • Sergey Sorokin's avatar
    1f00b27f
    tcg: Improve the alignment check infrastructure · 1f00b27f
    Sergey Sorokin authored
    
    
    Some architectures (e.g. ARMv8) need the address which is aligned
    to a size more than the size of the memory access.
    To support such check it's enough the current costless alignment
    check implementation in QEMU, but we need to support
    an alignment size specifying.
    
    Signed-off-by: default avatarSergey Sorokin <afarallax@yandex.ru>
    Message-Id: <1466705806-679898-1-git-send-email-afarallax@yandex.ru>
    Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
    [rth: Assert in tcg_canonicalize_memop.  Leave get_alignment_bits
    available for, though unused by, user-mode.  Retain logging difference
    based on ALIGNED_ONLY.]
    1f00b27f
    tcg: Improve the alignment check infrastructure
    Sergey Sorokin authored
    
    
    Some architectures (e.g. ARMv8) need the address which is aligned
    to a size more than the size of the memory access.
    To support such check it's enough the current costless alignment
    check implementation in QEMU, but we need to support
    an alignment size specifying.
    
    Signed-off-by: default avatarSergey Sorokin <afarallax@yandex.ru>
    Message-Id: <1466705806-679898-1-git-send-email-afarallax@yandex.ru>
    Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
    [rth: Assert in tcg_canonicalize_memop.  Leave get_alignment_bits
    available for, though unused by, user-mode.  Retain logging difference
    based on ALIGNED_ONLY.]
Loading