|
From: | Alex Bennée |
Subject: | Re: [PATCH v4 4/9] target/arm/cpu64: max cpu: Introduce sve<N> properties |
Date: | Fri, 27 Sep 2019 00:50:55 +0100 |
User-agent: | mu4e 1.3.4; emacs 27.0.50 |
Richard Henderson <address@hidden> writes: > On 9/24/19 4:31 AM, Andrew Jones wrote: <snip> > >> +#if __SIZEOF_LONG__ == 8 >> +#define BIT(n) (1UL << (n)) >> +#else >> +#define BIT(n) (1ULL << (n)) >> +#endif > > There's no reason not to always use 1ULL is there? Also we already have this helper in bitops.h so should just use that. -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |