From: Mark Wooding Date: Sat, 3 Feb 2024 23:02:22 +0000 (+0000) Subject: base/asm-common.h, *.S: Use consistent little-endian notation for SIMD regs. X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/981a9e5d5e3af6c06ad8b3f821928852068227e4?hp=981a9e5d5e3af6c06ad8b3f821928852068227e4 base/asm-common.h, *.S: Use consistent little-endian notation for SIMD regs. This makes operations which involve changing one's perspective about the SIMD processing elements make significantly more sense. In particular, I hope that this removes a layer of brain-twisting from the GCM code. * Adjust all of the register-contents diagrams so that less significant elements are on the right, rather than on the left. * Change the x86 `SHUF' macro so that the desired pieces are listed in decreasing significance order, so `SHUF(3, 2, 1, 0)' would be a no-op. I would, of course, continue to use big-endian notation on a target which actually used a big-endian ordering natively, but we don't currently support any of them. ---