This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/85922] bootstrapping fails with -O3 because gcc 8.1.0 generates unknown instruction pshufb


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85922

--- Comment #4 from John Simon <gcc at mailinator dot com> ---
> No, it uses a correct instruction, but you have too old assembler that can't handle it.

I think in this case the "correct" thing to do would be a check of assembler
during configure and either:
1) only generate code that matches the feature set of the assembler
2) error with a reasonable "your system assembler is too old, please update
gas/binutils"

> Wonder how old your assembler is, because this instruction in question is part of SSSE3 and is supported in binutils since 2007.

$ as --version
GNU assembler 2.16.91.0.5 20051219 (SUSE Linux)
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i586-suse-linux'.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]