diff options
author | Hu, Lin1 <lin1.hu@intel.com> | 2023-12-28 01:06:41 +0000 |
---|---|---|
committer | Cui, Lili <lili.cui@intel.com> | 2023-12-28 11:45:28 +0000 |
commit | 6967f19dcd3d2794976b2a193a0c30b626c92c3b (patch) | |
tree | 74562862174d18799be06ad84b34139e759a90d3 /elfcpp | |
parent | ac32c879b26af580e29ecaa152e3d9d999f34caa (diff) | |
download | gdb-6967f19dcd3d2794976b2a193a0c30b626c92c3b.zip gdb-6967f19dcd3d2794976b2a193a0c30b626c92c3b.tar.gz gdb-6967f19dcd3d2794976b2a193a0c30b626c92c3b.tar.bz2 |
Support APX NDD optimized encoding.
This patch aims to optimize:
add %r16, %r15, %r15 -> add %r16, %r15
gas/ChangeLog:
* config/tc-i386.c (check_Rex_required): New function.
(can_convert_NDD_to_legacy): Ditto.
(match_template): If we can optimzie APX NDD insns, so rematch
template.
* testsuite/gas/i386/x86-64.exp: Add test.
* testsuite/gas/i386/x86-64-apx-ndd-optimize.d: New test.
* testsuite/gas/i386/x86-64-apx-ndd-optimize.s: Ditto.
Diffstat (limited to 'elfcpp')
0 files changed, 0 insertions, 0 deletions