Re: [PATCH 2/7] riscv: riscv-cores.def: Add T-Head XuanTie C906

2022-11-17 Thread cooper.qu--- via Gcc-patches
On Sun, Nov 13, 2022 at 10:46:31PM +0100, Christoph Muellner wrote: > From: Christoph Müllner > > This adds T-Head's XuanTie C906 to the list of known cores as "thead-c906". > The C906 is shipped for quite some time (it is the core of the Allwinner D1). > Note, that the tuning struct for the C906

Re: [PATCH 7/7] riscv: Add basic extension support for XTheadFmv and XTheadInt

2022-11-17 Thread cooper.qu--- via Gcc-patches
On Sun, Nov 13, 2022 at 10:46:36PM +0100, Christoph Muellner wrote: > From: Christoph Müllner > > This patch add basic support for the XTheadFmv and XTheadInt > ISA extension. As both extensions only contain instruction, > which are not supposed to be emitted by the compiler, the support > only c

Re: [PATCH 5/7] riscv: thead: Add support for XTheadBb ISA extension

2022-11-17 Thread cooper.qu--- via Gcc-patches
On Sun, Nov 13, 2022 at 10:46:34PM +0100, Christoph Muellner wrote: > +(define_expand "extv" > + [(set (match_operand:GPR 0 "register_operand" "=r") > + (sign_extract:GPR (match_operand:GPR 1 "register_operand" "r") > + (match_operand 2 "const_int_operand") > +