Re: [PATCH v8 04/12] LoongArch Port: Machine description files.

2022-03-19 Thread 程璐璐
在 2022/3/7 上午12:16, Richard Sandiford 写道: +(define_split + [(match_operand 0 "small_data_pattern")] + "reload_completed" + [(match_dup 0)] + { operands[0] = loongarch_rewrite_small_data (operands[0]); }) + + +;; Match paired HI/SI/SF/DFmode load/stores. +(define_insn "*join2_load_store" +

Re: [PATCH v8 04/12] LoongArch Port: Machine description files.

2022-03-09 Thread 程璐璐
Hi,    We are modifying the code, this support will be added in the next commit. Thanks. 在 2022/3/8 上午4:15, Xi Ruoyao 写道: On Fri, 2022-03-04 at 15:18 +0800, xucheng...@loongson.cn wrote: * config/loongarch/loongarch.md: New file. An ICE happens building OpenSSH-8.9p1. Investigati

Re: [PATCH v8 04/12] LoongArch Port: Machine description files.

2022-03-07 Thread Xi Ruoyao via Gcc-patches
On Fri, 2022-03-04 at 15:18 +0800, xucheng...@loongson.cn wrote: > * config/loongarch/loongarch.md: New file. An ICE happens building OpenSSH-8.9p1. Investigation shows it's caused by the flag "-fzero-call-used-regs=". It's because the compiler attempts to clear FCCx registers but can't

Re: [PATCH v8 04/12] LoongArch Port: Machine description files.

2022-03-06 Thread 程璐璐
Hi, Richard:  Thanks for your review. We will revise it as soon as possible and submit it in the next version. 在 2022/3/7 上午12:16, Richard Sandiford 写道: Hi, Some comments below, but otherwise it looks good to me. xucheng...@loongson.cn writes: […] +(define_memory_constraint "k" + "A me

Re: [PATCH v8 04/12] LoongArch Port: Machine description files.

2022-03-06 Thread Richard Sandiford via Gcc-patches
Hi, Some comments below, but otherwise it looks good to me. xucheng...@loongson.cn writes: > […] > +(define_memory_constraint "k" > + "A memory operand whose address is formed by a base register and > (optionally scaled) > + index register." > + (and (match_code "mem") > + (not (match_