Memory operations for Loongson 3A