[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 09/11] fix the prototype of muls64/mulu64
From: |
Laurent Vivier |
Subject: |
Re: [PATCH v4 09/11] fix the prototype of muls64/mulu64 |
Date: |
Mon, 6 Jul 2020 18:14:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
Le 02/07/2020 à 01:43, Lijun Pan a écrit :
> The prototypes of muls64/mulu64 in host-utils.h should match the
> definitions in host-utils.c
>
> Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
> ---
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
> no change since v1
>
> include/qemu/host-utils.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/qemu/host-utils.h b/include/qemu/host-utils.h
> index 4cd170e6cd..cdca2991d8 100644
> --- a/include/qemu/host-utils.h
> +++ b/include/qemu/host-utils.h
> @@ -77,8 +77,8 @@ static inline int divs128(int64_t *plow, int64_t *phigh,
> int64_t divisor)
> }
> }
> #else
> -void muls64(uint64_t *phigh, uint64_t *plow, int64_t a, int64_t b);
> -void mulu64(uint64_t *phigh, uint64_t *plow, uint64_t a, uint64_t b);
> +void muls64(uint64_t *plow, uint64_t *phigh, int64_t a, int64_t b);
> +void mulu64(uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b);
> int divu128(uint64_t *plow, uint64_t *phigh, uint64_t divisor);
> int divs128(int64_t *plow, int64_t *phigh, int64_t divisor);
>
>
Applied to my trivial-patches-for-5.1 branch.
Thanks,
Laurent
- [PATCH v4 01/11] target/ppc: Introduce Power ISA 3.1 flag, (continued)
[PATCH v4 09/11] fix the prototype of muls64/mulu64, Lijun Pan, 2020/07/01
- Re: [PATCH v4 09/11] fix the prototype of muls64/mulu64,
Laurent Vivier <=
[PATCH v4 07/11] target/ppc: add vmulld to INDEX_op_mul_vec case, Lijun Pan, 2020/07/01
Re: [PATCH v4 00/11] Add several Power ISA 3.1 32/64-bit vector instructions, David Gibson, 2020/07/05