Re: [PATCH v2] riscv: Fix detecting FPU support in standard extension

2022-11-13 Thread Yu-Chien Peter Lin
On Sun, Nov 13, 2022 at 03:47:38PM -0600, Samuel Holland wrote: > On 11/5/22 01:02, Yu Chien Peter Lin wrote: > > We should check the string until it hits underscore, in case it > > searches for the letters in the custom extension. For example, > > "rv64imac_xandes" will be treated as D extension s

Re: [PATCH v2] riscv: Fix detecting FPU support in standard extension

2022-11-13 Thread Samuel Holland
On 11/5/22 01:02, Yu Chien Peter Lin wrote: > We should check the string until it hits underscore, in case it > searches for the letters in the custom extension. For example, > "rv64imac_xandes" will be treated as D extension support since > there is a "d" in "andes", resulting illegal instruction

Re: [PATCH v2] riscv: Fix detecting FPU support in standard extension

2022-11-10 Thread Padmarao.Begari
> On Sat, 2022-11-05 at 14:02 +0800, Yu Chien Peter Lin wrote: > > We should check the string until it hits underscore, in case it > searches for the letters in the custom extension. For example, > "rv64imac_xandes" will be treated as D extension support since > there is a "d" in "andes", resultin

Re: [PATCH v2] riscv: Fix detecting FPU support in standard extension

2022-11-09 Thread Rick Chen
> From: U-Boot On Behalf Of Yu Chien Peter Lin > Sent: Saturday, November 05, 2022 2:02 PM > To: u-boot@lists.denx.de > Cc: sam...@sholland.org; Peter Yu-Chien Lin(林宇謙) > Subject: [PATCH v2] riscv: Fix detecting FPU support in standard extension > > We should check the

[PATCH v2] riscv: Fix detecting FPU support in standard extension

2022-11-04 Thread Yu Chien Peter Lin
We should check the string until it hits underscore, in case it searches for the letters in the custom extension. For example, "rv64imac_xandes" will be treated as D extension support since there is a "d" in "andes", resulting illegal instruction caused by initializing FCSR. Signed-off-by: Yu Chie