Hello all, I am involved in porting a 16bit target in gcc 4.1.2 The target that i am porting to has a minor flaw. Comparison of signed variables will go wrong. So i have to use a different approach to do comparison of signed operands. This obviously takes more cycles and instructions. But the comparison of sign-extended 8bit values are proper. So i can use the normal comparison for char and the modified one for 16bit values. So my question is in the back-end will i be able to identify between comparisons of signed-extended 8bit and 16bit operands?
Regards, Shafi