Re: [PATCH] RISC-V: Add testcase for testing li pseudo instruction

2019-08-25 Thread Kito Cheng
Committed as r274920 On Sat, Aug 24, 2019 at 6:08 AM Jim Wilson wrote: > > On Fri, Aug 23, 2019 at 12:13 AM Kito Cheng wrote: > > gcc/testsuite/ChangeLog: > > gcc.target/riscv/li.c: New test. > > Thanks. This looks good. > > This is incidentally a test for a new binutils patch that imp

Re: [PATCH] RISC-V: Add testcase for testing li pseudo instruction

2019-08-23 Thread Jim Wilson
On Fri, Aug 23, 2019 at 12:13 AM Kito Cheng wrote: > gcc/testsuite/ChangeLog: > gcc.target/riscv/li.c: New test. Thanks. This looks good. This is incidentally a test for a new binutils patch that improves the li macro to emit compressed instructions when possible. We need an execution

[PATCH] RISC-V: Add testcase for testing li pseudo instruction

2019-08-23 Thread Kito Cheng
gcc/testsuite/ChangeLog: gcc.target/riscv/li.c: New test. --- gcc/testsuite/gcc.target/riscv/li.c | 36 + 1 file changed, 36 insertions(+) create mode 100644 gcc/testsuite/gcc.target/riscv/li.c diff --git a/gcc/testsuite/gcc.target/riscv/li.c b/gcc/testsuite