Rd and Rm should be different in mul?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Rd and Rm should be different in mul?

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

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Rd and Rm should be different in mul?

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:[hidden email]]
Sent: Tuesday, February 28, 2012 13:43
To: [hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel