]> git.ipfire.org Git - thirdparty/gcc.git/commit
[committed] Fix length computation bug in bfin port
authorJeff Law <jlaw@ventanamicro.com>
Sat, 22 Jul 2023 15:47:21 +0000 (09:47 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Sat, 22 Jul 2023 15:51:46 +0000 (09:51 -0600)
commitbb095e8a343db043a0cd0b0da9b2ab1186d1a1ed
treef0999a4fb68744a86db2bdcf258b10644ede2874
parent73cc6ce1294ec35e9322b1bbc91009cfc76f732b
[committed] Fix length computation bug in bfin port

The tester seemed to occasionally ping-pong a compilation failure on the
builtin-bitops-1.c test.  I long suspected it was something like length
computations.

I finally got a few minutes to dig into it, and sure enough the blackfin
port was claiming the "ones" operation was 2 bytes when it is in fact 4 bytes.

This fixes the compilation failure for the builtin-bitops-1.c test.   Sadly,
it doesn't fix any of the other failures on the bfin port.

Committed to the trunk.

gcc/
* config/bfin/bfin.md (ones): Fix length computation.
gcc/config/bfin/bfin.md