Richard Henderson <r...@redhat.com> writes:

> Tested on x86_64-linux.  This *ought* to fix RO's Solaris problem.

Right, that's equivalent to, though cleaner than, what I've done.

There are a few outstanding issues on Solaris/x86 with Sun as:

* as doesn't grok the GNU-stack note in config/x86/sjlj.S (likewise osf
  as in config/alpha/sjlj.S):

+#if defined __ELF__ && defined __linux__
 .section .note.GNU-stack, "", @progbits
+#endif

* Sun as apparently cannot handle the branch hints in
  config/x86/cacheline.h (jnz,pn): I've just removed them to get further
  along fof now, but there needs to be a cleaner way, perhaps an
  autoconf test.

* Even if libitm builds now, all execution tests fail like this:

ld.so.1: simple-1.exe: fatal: 
/var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/./libitm/.libs/libitm.so.0:
 hardware capability (CA_SUNW_HW_1) unsupported: 0x20000000  [ AVX ]

  If the code ensures at runtime that AVX insns (or SSE for that matter)
  are only used if hardware and OS are capable of executing them, one
  can deal with this with the equivalent of
  gcc/testsuite/gcc.target/i386/clearcap.map when linking libitm.so.

  Besides, we need to make sure that the assembler used is able to
  assemble SSE and/or AVX insns before using them.

Thanks.
        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to