[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2023-07-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

Francois-Xavier Coudert  changed:

   What|Removed |Added

 CC||fxcoudert at gcc dot gnu.org

--- Comment #9 from Francois-Xavier Coudert  ---
I've not seen these issues for a long time, and according to testresults from
July 2022 they are not seen on any of the darwin targets tested by Iain (and
that's a long list!):
https://gcc.gnu.org/pipermail/gcc-testresults/2022-July/thread.html

I'd suggest closing.

[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|10.5|---

[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2022-06-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|10.4|10.5

--- Comment #8 from Jakub Jelinek  ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2021-04-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|10.3|10.4

--- Comment #7 from Richard Biener  ---
GCC 10.3 is being released, retargeting bugs to GCC 10.4.

[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2020-07-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|10.2|10.3

--- Comment #6 from Richard Biener  ---
GCC 10.2 is released, adjusting target milestone.

[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2020-05-07 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

--- Comment #5 from Iain Sandoe  ---
(In reply to Eric Gallager from comment #4)
> (In reply to Iain Sandoe from comment #1)
> > 
> > I plan on publishing an update to my alternate assembler/linker pair that
> > incorporates the changes from LLVM-9 and isn't dependent on the release
> > schedule for Xcode.
> 
> Have you published this update yet?

The back port is on my LLVM-7.1.1 branch on github - so if one builds the
"llas" tool (only need to build LLVM, it's not necessary to build clang or any
of the libs).

then you can use --with-as=/path/to/llas 

the tool follows cctools command line (plus some llvm additions).

Hopefully, I'll bring the 7.x stuff forward to 8.x and also add llas to 9 and
10.
(but the 7.1.1 llas is sufficient to bootstrap powerpc, i686 and x86-64).

Not sure why I mentioned the linker in this context, there are some useful
bug-fixes but not relevant to this PR.  Not sure if the LLVM fixes have made it
into Xcode yet (but that would only be relevant to 10.14+).

[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2020-05-07 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org

--- Comment #4 from Eric Gallager  ---
(In reply to Iain Sandoe from comment #1)
> 
> I plan on publishing an update to my alternate assembler/linker pair that
> incorporates the changes from LLVM-9 and isn't dependent on the release
> schedule for Xcode.

Have you published this update yet?

[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2020-05-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|10.0|10.2

--- Comment #3 from Jakub Jelinek  ---
GCC 10.1 has been released.

[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2019-08-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

--- Comment #2 from Iain Sandoe  ---
hmm BZ autodetected "mbox" for the attachment .. it should also be applicable
as a regular diff.

[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2019-08-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

--- Comment #1 from Iain Sandoe  ---
Created attachment 46749
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46749=edit
Possible fix by modifying GCC output.


As noted, the LLVM backend is rejecting a disambiguation marker that is not
actually really required (the size of the operands is known when the operands
are registers).

This patch modifies the AVX512 output to omit the unnecessary disambiguation
marker in these cases, and updates the test suite to expect this form of the
instructions.

The patch fixes the fails on Darwin and doesn't regress Linux [at least with
GNU assembler (GNU Binutils for Debian) 2.28].

I suppose it would be possible to guard the changes on TARGET_MACHO and
likewise the tests, but that seems even more mess.

Given that the LLVM backend as been updated to allow the disambiguation markers
on register instructions - an alternative is to require Darwin to use updated
tools (however since most of the folks building on Darwin are using Xcode, they
have to wait for the update to arrive).



So, I am not currently planning on posting this patch for approval - but it is
posted here in case that is the "only solution" for some user.

-

I plan on publishing an update to my alternate assembler/linker pair that
incorporates the changes from LLVM-9 and isn't dependent on the release
schedule for Xcode.

[Bug target/91520] AVX512 target assembler fails for x86_64 Darwin

2019-08-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91520

Iain Sandoe  changed:

   What|Removed |Added

   Keywords||assemble-failure
 Target||x86_64-apple-darwin1(345678
   ||)
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-08-22
   Target Milestone|--- |10.0
 Ever confirmed|0   |1