Assembling code using the coldfire msac.w instruction with parallel load encodes
completely wrong registers. The corresponding mac.w and also mac.l and msac.l
with parallel load are working properly.
Investigation revealed that the bug is in opcodes/m68k-opc.c: The arguments
string for the 3 msac.w variants is wrong, it must be the same as for the
corresponding mac.w variants. I will attach a patch against HEAD containing the fix.
Created attachment 2061 [details]
Fix for broken coldfire msac.w instruction with parallel load.
Here's the proposed patch. Works also for older versions when adjusting the
Thanks for the patch. I have checked it in along with this changelog entry.
2007-11-07 Jens Arnold <email@example.com>
* m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with