------- Additional Comments From steven at gcc dot gnu dot org 2005-03-10 12:48 ------- > Maybe there should be another combining pass after the duplication > of the indirect jumps. Should I create another PR for this?
There should not be another "combining" pass (you really mean constant propagation). This new unfactoring stuff runs after register allocation, so such a pass would not really help, except maybe to make the code look prettier to you. But, is this: mov 0xfffffffc(%ebx),%eax jmp *%eax slower than this: jmp *0xfffffffc(%ebx) or have you not tried that (e.g. by hacking the assembly by hand)? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15242