bebbo / gcc

Bebbo's gcc-6-branch for m68k-amigaos
GNU General Public License v2.0
33 stars 11 forks source link

operands mismatch for bfextu #187

Closed BSzili closed 2 years ago

BSzili commented 2 years ago

I found an issue where the compiler generates a bitfield instruction that doesn't seem to work. I get this error:

opmm.s: Assembler messages: opmm.s:70: Error: operands mismatch -- statement `bfextu (a0)+{#14:#3},d1' ignored

Maybe the post increment is causing this? I uploaded the test case here, the problem happens in the LinkSprite function: http://franke.ms/cex/z/qP3zhs

bebbo commented 2 years ago

thanks for reporting. It's fixed - please test

BSzili commented 2 years ago

The problem is now gone, thanks!