This is the mail archive of the cgen@sourceware.org mailing list for the CGEN 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] |
Hello,
I've a small problem with branch instructions on my platorm (m68hc08). All branch instructions are only short-ranged (signed 8bit offset). The recommended way to handle this is to emit jump-over code: instead of beq _long_label emit: bne .Lshort jmp _long_label .Lshort:
My question is: should this be handled somehow by cgen? Or this should be completely done via gas relaxation? And what attributes should I use on branch instructions in .cpu file?
Thank you.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |