Re: [PATCH v2] dse: Remove partial load after full store for high part access[PR71309]

2020-07-22 Thread Richard Sandiford
the patch by moving it into find_shift_sequence. > Not sure whether meets your comments precisely though it still works:) > There is a comment mentioned that > > /* Some machines like the x86 have shift insns for each size of > operand. Other machines like the ppc or the i

Re: [PATCH v2] dse: Remove partial load after full store for high part access[PR71309]

2020-07-22 Thread luoxhu via Gcc-patches
the ppc or the ia-64 may only have shift insns that shift values within 32 or 64 bit registers. This loop tries to find the smallest shift insn that will right justify the value we want to read but is available in one insn on the machine. */ So it will early break without som