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 different in mul?

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

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to