public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Add with carry problem
@ 2009-12-09  8:29 DSS
  0 siblings, 0 replies; only message in thread
From: DSS @ 2009-12-09  8:29 UTC (permalink / raw)
  To: gcc-help


Hi all,

I was writtng pattern for add with carry operation in md file. But at one
point i got stuck.

Problem is that I know there is CC mode for status register in GCC, but
i don't know how to specify mode for a particular bit of the status
register. Like for Carry bit only i want to specify the mode. How to do
that. Please help me in this.

I have written 'CC_MODE (CC_C);' in machine-modes.def file. And defined
SELECT_CC_MODE macro in '.h' file also. But still error is undefined CC_C
mode. I am using gcc-4.3.0.

Regards,
Rajiv Kumar


-- 
View this message in context: http://old.nabble.com/Add-with-carry-problem-tp26705265p26705265.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-09  5:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-09  8:29 Add with carry problem DSS

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).