Re: [PATCH v2] lib/mpi: fix build with clang

2019-06-25 Thread Segher Boessenkool
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_ss(sh, sl, ah, al, bh, bl) > * sub_ddmmss(sh, sl, ah, al, bh, bl) > * umul_ppmm(ph, pl, m0, m1) The patch is fin

Re: [PATCH v2] lib/mpi: fix build with clang

2019-06-24 Thread Joel Stanley
On Fri, 21 Jun 2019 at 19:56, Mathieu Malaterre wrote: > > Remove superfluous casts on output operands to avoid warnings on the > following macros: > > * add_ss(sh, sl, ah, al, bh, bl) > * sub_ddmmss(sh, sl, ah, al, bh, bl) > * umul_ppmm(ph, pl, m0, m1) > > Special care has been taken to keep

[PATCH v2] lib/mpi: fix build with clang

2019-06-21 Thread Mathieu Malaterre
Remove superfluous casts on output operands to avoid warnings on the following macros: * add_ss(sh, sl, ah, al, bh, bl) * sub_ddmmss(sh, sl, ah, al, bh, bl) * umul_ppmm(ph, pl, m0, m1) Special care has been taken to keep the diff as minimal as possible from the original header file `longlong.