aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.cc
diff options
context:
space:
mode:
authorRoger Sayle <roger@nextmovesoftware.com>2023-04-25 12:04:52 +0100
committerRoger Sayle <roger@nextmovesoftware.com>2023-04-25 12:04:52 +0100
commitdee5cef280d6c6da92b56cc0dc2158761c266992 (patch)
tree6f06bb6399e44cb7212aff10f71a6b2b8df982fd /gcc/gcov.cc
parent85279b0bddc1c5a7d181e2168e26ded354b21f32 (diff)
downloadgcc-dee5cef280d6c6da92b56cc0dc2158761c266992.zip
gcc-dee5cef280d6c6da92b56cc0dc2158761c266992.tar.gz
gcc-dee5cef280d6c6da92b56cc0dc2158761c266992.tar.bz2
[Committed] Correct zeroextendqihi2 insn length regression on xstormy16.
My recent tweak to the zeroextendqihi2 pattern on xstormy16 incorrectly handled the case where the operand was a MEM. MEM operands use a longer encoding than REG operands, and the incorrect instruction length resulted in assembler errors (as reported by Jeff Law). This patch restores the original length resolving this regression. Sorry for the inconvenience. Committed as obvious, after testing that a cross-compiler to xstormy16-elf builds from x86_64-pc-linux-gnu, and that gcc.c-torture/execute/memset-2.c no longer causes "operand out of range" issues in gas. Committed as obvious. 2023-04-25 Roger Sayle <roger@nextmovesoftware.com> gcc/ChangeLog * config/stormy16/stormy16.md (zero_extendqihi2): Restore/fix length attribute for the first (memory operand) alternative.
Diffstat (limited to 'gcc/gcov.cc')
0 files changed, 0 insertions, 0 deletions