[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 2 Feb 2024 14:49:39 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: Charlie Jenkins <charlie@...osinc.com>
Cc: Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Jisheng Zhang <jszhang@...nel.org>, Evan Green <evan@...osinc.com>,
Clément Léger <cleger@...osinc.com>,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] riscv: lib: Introduce has_fast_misaligned_access
function
On Thu, Feb 01, 2024 at 03:30:45PM -0800, Charlie Jenkins wrote:
> - if (((unsigned long)buff & OFFSET_MASK) == 0)
> + if (has_fast_misaligned_accesses() || (((unsigned long)buff & OFFSET_MASK) == 0b101))
> return do_csum_no_alignment(buff, len);
Why did the 0 change into 0b101?
- Eric
Powered by blists - more mailing lists