Re: [PATCH] target/loongarch: Remove cpu_fcsr0

2022-08-07 Thread gaosong
On 2022/8/7 上午1:08, Richard Henderson wrote: All of the fpu operations are defined with TCG_CALL_NO_WG, but they all modify FCSR0. The most efficient way to fix this is to remove cpu_fcsr0, and instead use explicit load and store operations for the two instructions that manipulate that value.

Re: [PATCH] target/loongarch: Remove cpu_fcsr0

2022-08-06 Thread huqi
> On Aug 7, 2022, at 01:09, Richard Henderson > wrote: > All of the fpu operations are defined with TCG_CALL_NO_WG, but they > all modify FCSR0. The most efficient way to fix this is to remove > cpu_fcsr0, and instead use explicit load and store operations for the > two instructions that man

[PATCH] target/loongarch: Remove cpu_fcsr0

2022-08-06 Thread Richard Henderson
All of the fpu operations are defined with TCG_CALL_NO_WG, but they all modify FCSR0. The most efficient way to fix this is to remove cpu_fcsr0, and instead use explicit load and store operations for the two instructions that manipulate that value. Cc: Qi Hu Cc: Song Gao Reported-by: Feiyang Ch