On 13/05/16 06:52, George Spelvin wrote:
> Thank you very much!
> 
> Greg Ungerer wrote:
>> This syntax fails for me (using a binutils-2.25.1 based toolchain).
>> Registers must be prefixed with a "%", so here %sp and %a0.
>>
>>   arch/m68k/lib/mulsi3.S: Assembler messages:
>>   arch/m68k/lib/mulsi3.S:12: Error: syntax error -- statement `lea 4(sp),a0' 
>> ignored
>>
>> That was compiling with just this one patch for a ColdFire target.
> 
> Well, *that* is an embarrassing oversight.  If you fix that obvious typo
> (I used ":%s/[ad][01]/%&/g"), do you have a way of testing it?
> 
> Setting up a suitable Qemu environment is many times the effort needed
> to write the code, so I was hoping someone with the facilities already
> in place would be willing to test.
> 
> I've stared at the code and am convinced it's right, but I remember
> Knuth's words: "Beware of bugs in the above code; I have only proved it
> correct, not tried it."

I have many test setups for ColdFire (qemu and real hardware) but
none of them actually use the mulsi3 code. I don't have anything
for testing classic m68000 builds.

So other than compiling it I don't have an easy way to currently
test it.

Regards
Greg




--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to