• Huacai Chen's avatar
    LoongArch: Add unaligned access support · 61a6fccc
    Huacai Chen authored
    Loongson-2 series (Loongson-2K500, Loongson-2K1000) don't support
    unaligned access in hardware, while Loongson-3 series (Loongson-3A5000,
    Loongson-3C5000) are configurable whether support unaligned access in
    hardware. This patch add unaligned access emulation for those LoongArch
    processors without hardware support.
    Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
    61a6fccc
traps.c 18.1 KB