Re: [PATCH] LoongArch: Define LOGICAL_OP_NON_SHORT_CIRCUIT.

2023-12-12 Thread Xi Ruoyao
On Tue, 2023-12-12 at 19:08 +0800, Jiahao Xu wrote: > This test also needs to add the compilation option -ffast-math. I missed > it. Thanks for the reminder. In r14-15 we removed LOGICAL_OP_NON_SHORT_CIRCUIT definition because the default value (1 for all current LoongArch CPUs with branch_cost =

Re: [PATCH] LoongArch: Define LOGICAL_OP_NON_SHORT_CIRCUIT.

2023-12-12 Thread Jiahao Xu
在 2023/12/12 下午6:05, Xi Ruoyao 写道: On Tue, 2023-12-12 at 17:50 +0800, Jiahao Xu wrote: diff --git a/gcc/testsuite/gcc.target/loongarch/short-circuit.c b/gcc/testsuite/gcc.target/loongarch/short-circuit.c new file mode 100644 index 000..2cef0193466 --- /dev/null +++ b/gcc/testsuite/gcc

Re: [PATCH] LoongArch: Define LOGICAL_OP_NON_SHORT_CIRCUIT.

2023-12-12 Thread Xi Ruoyao
On Tue, 2023-12-12 at 17:50 +0800, Jiahao Xu wrote: > diff --git a/gcc/testsuite/gcc.target/loongarch/short-circuit.c > b/gcc/testsuite/gcc.target/loongarch/short-circuit.c > new file mode 100644 > index 000..2cef0193466 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/loongarch/short-circ