lkml.org 
[lkml]   [2022]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] LoongArch: Clean useless vcsr in loongarch_fpu.
From
Date
On Mon, 2022-07-04 at 17:27 +0800, huqi wrote:

>
> > The original code was written with future LSX/LASX support in mind;
> > the code is dead currently, but expected to get utilized Soon (TM).
> >
> > So, I'd like to confirm if future LoongArch models would *not* feature
> > LSX/LASX in its current form, and that the Loongson Corporation is not
> > going to upstream LSX/LASX support, given you are apparently a
> > Loongson employee with the first-hand information? We'd like to avoid
> > code churn in general, so if the LSX/LASX support is to be eventually
> > mainlined, removing them now would only lead to them being introduced
> > later.
>
> `vcsr` is removed because it has been removed in hardware. What's more,
> it will not be used to support LSX/LASX in the future.

It would be better to add this information into the commit message. Is
it already removed in 3A5000? On my machine "movfcsr2gr $a0, $r16"
produces SIGILL (but maybe it's because LSX is not enabled via the EUEN
register).

--
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University

\
 
 \ /
  Last update: 2022-07-04 11:59    [W:0.052 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site