This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wrong code for Coldfire?


C Jaiprakash, Noida wrote:
Is rems.l %d2,%d3:%d1 this a valid instruction for coldfire? Below is syntax of 'rems' instruction
rems/remu <ea>y, Dw:Dx

Why are you asking? If you don't report any actual problem, then we probably can't help you. Actual problems are things like assembler errors, hardware traps, wrong results, etc.


A trivial check of the sources shows that this instruction is controlled by TARGET_CF_HWDIV, which is enabled for some coldfire processors but not others. Maybe you compiled for the wrong coldfire target?
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]