[Cegcc-devel] Rd and Rm should be different in mul?

2012-02-28 Thread James Tyou
Hello There, I compile some c source with \bin>arm-mingw32ce-gcc --version arm-mingw32ce-gcc (GCC) 4.5.3 and switchs: -mcpu=arm1176jzf-s -Wa,-mcpu=arm1176jzf-s but at last it shows some error: ccvEiUjA.s:322: Rd and Rm should be different in mul why? is this a bug of mingw32ce? regards, jz -

Re: [Cegcc-devel] Rd and Rm should be different in mul?

2012-02-28 Thread Pavel Pavlov
just swap Rm and Rn: mul Rd, Rn, Rm -> mul Rd, Rm, Rn read arm reference for exaplanation -Original Message- From: James Tyou [mailto:james.t...@gmail.com] Sent: Tuesday, February 28, 2012 13:43 To: cegcc-devel@lists.sourceforge.net Subject: [Cegcc-devel] Rd and Rm should be d