Bug 107155 - ppc_intrinsics is missing
Summary: ppc_intrinsics is missing
Status: RESOLVED DUPLICATE of bug 93177
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 12.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-04 22:26 UTC by Sergey Fedorov
Modified: 2022-10-05 10:22 UTC (History)
1 user (show)

See Also:
Host:
Target: powerpc-apple-darwin
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Fedorov 2022-10-04 22:26:02 UTC
Some ports ask for intrinsics header, however GCC12 currently has only `ppu_intrinsics.h` for Cell, no `ppc_intrinsics.h` is there.
`ppc_intrinsics.h` existed in earlier GCC and likely can (and should) be implemented into the current GCC.
Comment 1 Andrew Pinski 2022-10-04 22:34:09 UTC
ppc_intrinsics.h never existed upstream. If it existed it was in Apple's port but I don't think it was.

Really just a dup of bug 93177.

*** This bug has been marked as a duplicate of bug 93177 ***
Comment 2 Andrew Pinski 2022-10-04 22:35:29 UTC
And yes it was an Apple extension:
https://opensource.apple.com/source/gcc/gcc-5026/more-hdrs/ppc_intrinsics.h.auto.html
Comment 3 Iain Sandoe 2022-10-05 10:22:00 UTC
The discussion in the duplicate issue revolves around whether the header in the sources was suitable (i.e. for something != cell).

The Apple header (which presumably does not have these contraints, since it was deployed with Apple GCC-4.x) was committed to the Apple branch on the FSF server.

my understanding of the rules (we have used this policy before) is that any sources actually committed to an FSF server are considered to be contributed - so that we could forward-port that header.

It's a question of finding some time to fish it out and adjust the install to add it and test .. (I have other GCC items much higher on the TODO).