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]

Floating point insn dependency - GCC 4.1.1


Hi all,

I am adding floating point support to GCC 4.1.1 for a private target.

My machine can issue
(1) Two instructions, [one integer insns (16 bit) + one floating point
insn (16 bit) ]or
(2) one 32 bit integer insn.

For case (1) , Since both instructions are executed parallely, there
is no dependecy check between them.

for e.g. if the generated insn is
    mov 5, A0
    movf A0, F0

Since both these instructions are executed parallely, the value of F0
is not 5 but it takes the previous value of A0.

1. Is there a way to check for dependency b/w this two instructions.
2. Any existing backend that has this type of design.

Any other suggestions?


Kind Regards, Rohit


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