On Thu, May 02, 2019 at 06:24:10PM +0000, Segher Boessenkool wrote: > Since GCC 8, we have output incorrect numbers for the transactional > memory registers. > > Also, we didn't output the correct DWARF register numbers for those. > The number for sprN is 100+N. > > This fixes both these issues. > > Tested on powerpc64-linux (-m32,-m64} and on powerpc64le-linux. > Committing. I hope this (and the next patch) doesn't break targets > using the old DWARF register numbers, I cannot easily test that; but > it's stage 1. > > This should be backported to GCC 8 and GCC 9 (9.2).
I did those backports now. Segher