diff options
author | Jim Wilson <jimw@sifive.com> | 2017-11-27 19:20:53 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2017-11-27 19:20:53 -0800 |
commit | f0531ed6a429b0e6e6509e6852ccd3586f3fa1bd (patch) | |
tree | b6e472cad38218619f2ee4f4ccad5af5efd1aaa2 /gas/ChangeLog | |
parent | 033bfb739b525703bfe23f151d09e9beee3a2afe (diff) |
Compress loads/stores with implicit 0 offset.
gas/
* config/tc-riscv.c (riscv_handle_implicit_zero_offset): New.
(riscv_ip): Cases 'k', 'l', 'm', 'n', 'M', 'N', add call to
riscv_handle_implicit_zero_offset. At label load_store, replace
existing code with call to riscv_handle_implicit_zero_offset.
* testsuite/gas/riscv/c-ld.d, testsuite/gas/riscv/c-ld.s: New.
* testsuite/gas/riscv/c-lw.d, testsuite/gas/riscv/c-lw.s: New.
* testsuite/gas/riscv/riscv.exp: Run new tests.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 81f9f8395d..e54872d286 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,16 @@ +2017-11-27 Andrew Waterman <andrew@sifive.com> + Palmer Dabbelt <palmer@sifive.com> + Jim Wilson <jimw@sifive.com> + + gas/ + * config/tc-riscv.c (riscv_handle_implicit_zero_offset): New. + (riscv_ip): Cases 'k', 'l', 'm', 'n', 'M', 'N', add call to + riscv_handle_implicit_zero_offset. At label load_store, replace + existing code with call to riscv_handle_implicit_zero_offset. + * testsuite/gas/riscv/c-ld.d, testsuite/gas/riscv/c-ld.s: New. + * testsuite/gas/riscv/c-lw.d, testsuite/gas/riscv/c-lw.s: New. + * testsuite/gas/riscv/riscv.exp: Run new tests. + 2017-11-27 Max Filippov <jcmvbkbc@gmail.com> * config/tc-xtensa.c (find_trampoline_seg): Add static variable |