lkml.org 
[lkml]   [2023]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] LoongArch: Make -mstrict-align be configurable
On Tue, Feb 7, 2023, at 06:24, WANG Xuerui wrote:

> (Yes I've partially changed my mind after seeing Arnd's suggestion that
> indeed some optimized codepaths can be enabled if we can know the CPU's
> unaligned capability at config time. Now I'm in support of making this
> codegen aspect tunable, but I still think keeping the default as-is
> would be a better idea. It won't regress or surprise anyone and embedded
> people's convenience wouldn't get sacrificed.)

I agree the default should always be to have a kernel that works on
every machine that has been produced, but this also depends on which
models specifically lack the unaligned access. If it's just about
pre-production silicon that is now all but scrapped, things are different
from a situation where users may actually use them for normal workloads.

Is there an overview of the available loongarch CPU cores that have
been produced so far, and which ones support unaligned access?

Arnd

\
 
 \ /
  Last update: 2023-03-27 00:12    [W:0.100 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site