Messages in this thread | | | Date | Tue, 25 Jun 2019 13:15:49 -0500 | From | Segher Boessenkool <> | Subject | Re: [PATCH v2] lib/mpi: fix build with clang |
| |
Hi Mathieu,
On Fri, Jun 21, 2019 at 09:55:54PM +0200, Mathieu Malaterre wrote: > Remove superfluous casts on output operands to avoid warnings on the > following macros: > > * add_ssaaaa(sh, sl, ah, al, bh, bl) > * sub_ddmmss(sh, sl, ah, al, bh, bl) > * umul_ppmm(ph, pl, m0, m1)
The patch is fine of course, but you might want to look at not using these asm macros at all: GCC can handle multi-word arithmetic just fine by itself, probably better than these macros do even.
Segher
| |