Date: Fri, 31 Jan 2020 16:53:17 -0800 From: John Baldwin <jhb@FreeBSD.org> To: cem@freebsd.org Cc: src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org> Subject: Re: svn commit: r357337 - head/sys/riscv/include Message-ID: <13613469-f65f-67a6-7933-eaa267f09d33@FreeBSD.org> In-Reply-To: <CAG6CVpX53GHOBiB8h7QqSXpo%2BwmP81Nf1Uh__NPB60wGuLE2NA@mail.gmail.com> References: <202001311749.00VHnFb7090545@repo.freebsd.org> <CAG6CVpX53GHOBiB8h7QqSXpo%2BwmP81Nf1Uh__NPB60wGuLE2NA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/31/20 1:17 PM, Conrad Meyer wrote: > Hi John, > > Isn't the 32-bit MSTATUS_SD and SSTATUS_SD also UB without explicit > unsigned suffix? Possibly, but I doubt we will have a 32-bit RISC-V port. I'd probably prefer to just use explicit hex values (0x80000000, etc.) since the compiler will always get those correct. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13613469-f65f-67a6-7933-eaa267f09d33>