public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How "arm_gen_constant" Function In arm.c works?
@ 2010-03-02  9:49 Prashant Purohit
  2010-03-02 15:53 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Prashant Purohit @ 2010-03-02  9:49 UTC (permalink / raw)
  To: gcc-help


Hi all,

        As ARM has only 8 bit for immediate value, "arm_gen_constant"
function in "arm.c" is used to generate those value which are not generated
by 8-bit rotation scheme in ARM Processor.

        But my question is how we decide these constants in that function &
how that function proceed or work (i.e the logic behind generating those
constants) as I am not able to get it by just looking at the code.

        Please, help me by giving some more description about how the
function works?

        Any help in this regard is appreciated.

        Thanks in advance.

Regards,
Prashant.
-- 
View this message in context: http://old.nabble.com/How-%22arm_gen_constant%22-Function-In-arm.c-works--tp27753882p27753882.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-03  6:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-02  9:49 How "arm_gen_constant" Function In arm.c works? Prashant Purohit
2010-03-02 15:53 ` Ian Lance Taylor
2010-03-03  5:16   ` Prashant Purohit
2010-03-03  6:52     ` Ian Lance Taylor

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).