Re: [PATCH v2] MIPS: R6: load/store can process unaligned address

2021-05-29 Thread Jeff Law via Gcc-patches
On 5/8/2021 4:12 AM, YunQiang Su wrote: MIPS release 6 requires the lw/ld/sw/sd can work with unaligned address, while it can be implemented by full hardware or trap&emulate. Since it is may be fully done by hardware, we add an option -m(no-)unaligned-access, the kernel may need it. gcc/Chan

[PATCH v2] MIPS: R6: load/store can process unaligned address

2021-05-08 Thread YunQiang Su
MIPS release 6 requires the lw/ld/sw/sd can work with unaligned address, while it can be implemented by full hardware or trap&emulate. Since it is may be fully done by hardware, we add an option -m(no-)unaligned-access, the kernel may need it. gcc/ChangeLog: * config/mips/mips.h (ISA_HAS