Re: [PATCH] include/qemu/host-utils.h: Simplify the compiler check in mulu128()

2022-08-04 Thread Laurent Vivier
Le 21/07/2022 à 09:48, Thomas Huth a écrit : We currently require at least GCC 7.4 or Clang 6.0 for compiling QEMU. GCC has __builtin_mul_overflow since version 5 already, and Clang 6.0 also provides this built-in function (see its documentation on this page:

Re: [PATCH] include/qemu/host-utils.h: Simplify the compiler check in mulu128()

2022-07-23 Thread Richard Henderson
On 7/21/22 13:18, Thomas Huth wrote: We currently require at least GCC 7.4 or Clang 6.0 for compiling QEMU. GCC has __builtin_mul_overflow since version 5 already, and Clang 6.0 also provides this built-in function (see its documentation on this page:

[PATCH] include/qemu/host-utils.h: Simplify the compiler check in mulu128()

2022-07-21 Thread Thomas Huth
We currently require at least GCC 7.4 or Clang 6.0 for compiling QEMU. GCC has __builtin_mul_overflow since version 5 already, and Clang 6.0 also provides this built-in function (see its documentation on this page: https://releases.llvm.org/6.0.0/tools/clang/docs/LanguageExtensions.html ). So we