math/mpx-mul4-*.S: Use more portable type syntax for ambiguous instructions.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 19 Jul 2020 19:13:57 +0000 (20:13 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 19 Jul 2020 19:13:57 +0000 (20:13 +0100)
commitbd6d65e32b835551677456bf286d09ced6859882
tree3e68c41731f23684ed3c86f594a5bc79fb05644d
parent8eaac3766118e3389521bc0d36b0c5919a2478ea
math/mpx-mul4-*.S: Use more portable type syntax for ambiguous instructions.

Specifically, replace `adcd MEM, 0' by `adc dword ptr MEM, 0'.  This
removes one reason why Clang's defective assembler won't work, but there
are others.

This is not part of a concerted effort to improve Clang support.
Honestly, as far as I'm concerned, `CCASFLAGS=-fno-integrated-as
-Wno-unicode' is sufficient support for building Catacomb using
Clang.  (That said, I don't actively object to supporting Clang: it's
just not something I want to put much effort into.  I'm happy to accept
tasteful patches which improve Clang support.)  But in retrospect, using
`adcd' here was kind of bletcherous in its own right, and it should be
fixed.
configure.ac
math/mpx-mul4-amd64-sse2.S
math/mpx-mul4-x86-sse2.S