This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
int_a = int_rand[0];
int_b = int_rand[1];
result = fixp_mul_32u_n16( int_a, int_b );
int_a = int_rand[2];
int_b = int_rand[3];
result = result + fixp_mul_32u_n16( int_a, int_b );
While I like the array access optimization, I'm appalled by the fact that gcc seems to have optimized the addition out of existence. Anyone have any ideas here?
It might help to show your actual source. - Dan
-- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |