base/asm-common.h (x86), and knock-on: Add macros for full-size regs.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 29 Oct 2019 18:55:16 +0000 (18:55 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 9 May 2020 19:57:33 +0000 (20:57 +0100)
commita90d420cbe87490c844ae422c966e746d3134b07
treef87664dba94942465dc8bab657c325f756021a35
parente275090f9f712a8d9dda4e309ce38bb520778016
base/asm-common.h (x86), and knock-on: Add macros for full-size regs.

These registers get used a lot as pointers, so it's useful to be able to
refer to them as full-width registers more conveniently than `R_sp(r)'.
Introduce (C preprocessor) macros `AX', ..., for this purpose, and use
them extensively.

(Delete the existing `SI' and `DI' macros from `rijndael-x86ish-aesni.S'
which had the same purpose.)
12 files changed:
base/asm-common.h
base/dispatch-x86ish.S
base/regdump-x86ish.S
base/regdump.h
base/test-regdump-x86ish.S
math/mpx-mul4-amd64-sse2.S
math/mpx-mul4-x86-sse2.S
rand/rand-x86ish.S
symm/chacha-x86ish-sse2.S
symm/gcm-x86ish-pclmul.S
symm/rijndael-x86ish-aesni.S
symm/salsa20-x86ish-sse2.S