Fix incorrect code generation with bit insns on H8/SX.
authorJeff Law <law@redhat.com>
Thu, 28 May 2020 18:28:56 +0000 (12:28 -0600)
committerJeff Law <law@redhat.com>
Thu, 28 May 2020 18:28:56 +0000 (12:28 -0600)
commitf04f2fcd3d40f944f29189b1f995aa35ea04a379
treea3ad24ce61184f06e66fe5726cdd95907204417e
parent2815558a2dbd0ee73de4bf01abb36d609026da6e
Fix incorrect code generation with bit insns on H8/SX.

* config/h8300/logical.md (HImode H8/SX bit-and splitter): Don't
make a nonzero adjustment to the memory offset.
(b<ior,xor>hi_msx): Turn into a splitter.
gcc/config/h8300/logical.md