How "arm_gen_constant" Function In arm.c works?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux