On 02/20/2018 10:33 AM, Steve Ellcey wrote: > While working on PR 83335 I proposed a change to a test case that > used __builtin_extend_pointer and Richared Earnshaw pointed out > that this builtin is not documented. Since I could not find any > other (reasonable) way to generate an extended address in inline > assembly other than this builtin I would like to document it for > use. > > Here is a proposed patch, the one problem I found was the return > type of the builtin. I don't know how to describe it other than > Pmode, but that is not a user visible type. > > See https://gcc.gnu.org/ml/gcc-patches/2018-02/msg01051.html > for my PR 83335 patch and follow up comments. > > Should I go ahead and add this documentation? > > > 2018-02-20 Steve Ellcey <sell...@cavium.com> > > * doc/extend.texi (__builtin_extend_pointer): Document builtin. I'd change "is different than" to "is smaller than". It's kind of implied in the name, but I think it's slightly clearer.
With that. OK. jeff ps. You might ping Richard Sandiford on the actual patch that fixes 83335. It looks like it's been waiting for over a month.