<div dir="ltr">The MIPS codegen of atomic operations only considers little-endian. This patch adds big-endian support and a test case.<br></div>