To Generate the pattern for sign_extended addition of 32 bit

Abhishek Roy abhishek.roy@redpinesignals.com
Tue Feb 5 12:12:00 GMT 2008


Hi Experts,

could u all plz tell us ,is there any specific pattern available to 
generate the sign extended  addition  of 32 bit  as below:

op2(32 bit)=op1(32 bit)+ (32 bit)(sign_extended(16 bit )op2);


we are getting the separate pattern for sign extension and then addition 
but the requirement to  get the consolidated pattern of sign extension 
and addition  which is readily  supported by our architecture.

                                                                                                                         
regards
                                                                                                                       
Abhishek




More information about the Gcc-help mailing list