Re: [RFC PATCH v4] compiler.h: remove GCC < 3 __builtin_expect fallback

2020-12-12 Thread Marc-André Lureau
Hi On Fri, Dec 11, 2020 at 5:41 PM Philippe Mathieu-Daudé wrote: > On 12/11/20 2:33 PM, Peter Maydell wrote: > > On Fri, 11 Dec 2020 at 13:13, Philippe Mathieu-Daudé > wrote: > >> > >> Since commit efc6c07 ("configure: Add a test for the minimum compiler > >> version"), QEMU explicitely depends

Re: [RFC PATCH v4] compiler.h: remove GCC < 3 __builtin_expect fallback

2020-12-11 Thread Philippe Mathieu-Daudé
On 12/11/20 2:33 PM, Peter Maydell wrote: > On Fri, 11 Dec 2020 at 13:13, Philippe Mathieu-Daudé > wrote: >> >> Since commit efc6c07 ("configure: Add a test for the minimum compiler >> version"), QEMU explicitely depends on GCC >= 4.8. >> >> (clang >= 3.4 advertizes itself as GCC >= 4.2 compatibl

Re: [RFC PATCH v4] compiler.h: remove GCC < 3 __builtin_expect fallback

2020-12-11 Thread Philippe Mathieu-Daudé
On 12/11/20 2:28 PM, Claudio Fontana wrote: > On 12/11/20 2:13 PM, Philippe Mathieu-Daudé wrote: >> Since commit efc6c07 ("configure: Add a test for the minimum compiler >> version"), QEMU explicitely depends on GCC >= 4.8. >> >> (clang >= 3.4 advertizes itself as GCC >= 4.2 compatible and supports

Re: [RFC PATCH v4] compiler.h: remove GCC < 3 __builtin_expect fallback

2020-12-11 Thread Peter Maydell
On Fri, 11 Dec 2020 at 13:13, Philippe Mathieu-Daudé wrote: > > Since commit efc6c07 ("configure: Add a test for the minimum compiler > version"), QEMU explicitely depends on GCC >= 4.8. > > (clang >= 3.4 advertizes itself as GCC >= 4.2 compatible and supports > __builtin_expect too) > > Signed-of

Re: [RFC PATCH v4] compiler.h: remove GCC < 3 __builtin_expect fallback

2020-12-11 Thread Claudio Fontana
On 12/11/20 2:13 PM, Philippe Mathieu-Daudé wrote: > Since commit efc6c07 ("configure: Add a test for the minimum compiler > version"), QEMU explicitely depends on GCC >= 4.8. > > (clang >= 3.4 advertizes itself as GCC >= 4.2 compatible and supports > __builtin_expect too) > > Signed-off-by: Marc

[RFC PATCH v4] compiler.h: remove GCC < 3 __builtin_expect fallback

2020-12-11 Thread Philippe Mathieu-Daudé
Since commit efc6c07 ("configure: Add a test for the minimum compiler version"), QEMU explicitely depends on GCC >= 4.8. (clang >= 3.4 advertizes itself as GCC >= 4.2 compatible and supports __builtin_expect too) Signed-off-by: Marc-André Lureau [PMD: #error if likely/unlikely already defined] S