This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
clobber CC for arithmetic instructions
- From: Rohit Arul Raj <rohitarulraj at gmail dot com>
- To: gcc <gcc at gcc dot gnu dot org>
- Date: Fri, 12 Aug 2011 12:17:49 +0530
- Subject: 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