diff options
author | Roger Sayle <roger@nextmovesoftware.com> | 2023-07-14 18:21:56 +0100 |
---|---|---|
committer | Roger Sayle <roger@nextmovesoftware.com> | 2023-07-14 18:21:56 +0100 |
commit | 43a0a5cd57eefd5a5bbead606ec4f6959af31802 (patch) | |
tree | f5fa165911e9d9098dcbc3c641022f37707fa3f4 /gcc/config/c6x | |
parent | b5138df96a93d3b5070c88b8617eabd38cb24ab6 (diff) | |
download | gcc-43a0a5cd57eefd5a5bbead606ec4f6959af31802.zip gcc-43a0a5cd57eefd5a5bbead606ec4f6959af31802.tar.gz gcc-43a0a5cd57eefd5a5bbead606ec4f6959af31802.tar.bz2 |
PR target/110588: Add *bt<mode>_setncqi_2 to generate btl on x86.
This patch resolves PR target/110588 to catch another case in combine
where the i386 backend should be generating a btl instruction. This adds
another define_insn_and_split to recognize the RTL representation for this
case.
I also noticed that two related define_insn_and_split weren't using the
preferred string style for single statement preparation-statements, so
I've reformatted these to be consistent in style with the new one.
2023-07-14 Roger Sayle <roger@nextmovesoftware.com>
gcc/ChangeLog
PR target/110588
* config/i386/i386.md (*bt<mode>_setcqi): Prefer string form
preparation statement over braces for a single statement.
(*bt<mode>_setncqi): Likewise.
(*bt<mode>_setncqi_2): New define_insn_and_split.
gcc/testsuite/ChangeLog
PR target/110588
* gcc.target/i386/pr110588.c: New test case.
Diffstat (limited to 'gcc/config/c6x')
0 files changed, 0 insertions, 0 deletions