------- Comment #3 from pinskia at gcc dot gnu dot org 2006-11-29 05:26 ------- (In reply to comment #2) > This hits it too. (example is PowerPC) No it does not, look at the what it gives: stb 11,11(3) stb 11,0(3) sth 0,1(3) stw 9,7(3) stw 9,3(3)
Reordering the stores to be in a natural order: stb 11,0(3) sth 0,1(3) stw 9,3(3) stw 9,7(3) stb 11,11(3) we do one byte store and then half word store and then two word stores and finally one byte store, yes we could reagrange the stores to get three word stores but is that really useful in this case, almost no but because of the constant generation is going to hurt. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29158