[PATCH] tilegx: work around vector insn bug in gcc

Joseph Myers joseph@codesourcery.com
Tue Dec 5 16:22:00 GMT 2017


On Tue, 5 Dec 2017, Adhemerval Zanella wrote:

> On 04/12/2017 13:56, Chris Metcalf wrote:
> > Avoid an issue in gcc where some of the vector (aka SIMD) ops will
> > sometimes end up getting wrongly optimized out.  We use these
> > instructions in many of the string implementations.  If/when we
> > have an upstreamed fix for this problem in gcc we can conditionalize
> > the use of the extended assembly workaround in glibc.
> 
> Do you the conditions to trigger this issue (compiler option, gcc
> version, etc.)?

It would seem appropriate for the comment saying "buggy in current 
compiler versions" to link to a corresponding bug report in GCC Bugzilla.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list