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]

clobber CC for arithmetic instructions


Hello All,

I am working on 32-bit target with gcc 4.6.0. I need some help on the following:

For my target, If my CCR register is set, all the arithmetic
instructions update the CC register else the don't update.
Setting the CCR register is done by a built-in function.

Can any one help how to proceed with this? or any other target where a
similar case has been implemented?

Thanks,
Rohit


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