std.math.exponential: Disable use of fyl2x and fyl2xp1 intrinsics on dmd/macOS port#8705
std.math.exponential: Disable use of fyl2x and fyl2xp1 intrinsics on dmd/macOS port#8705ibuclaw merged 1 commit intodlang:stablefrom
Conversation
|
Thanks for your pull request, @ibuclaw! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "stable + phobos#8705" |
c95c2f9 to
1db469a
Compare
|
|
The fyl2x{p1} instruction that dmd makes use of appears to have problems when emulated on macOS 13's version of Rosetta. Not a lot we can do other than disable it, and file a bug report against Apple, which they'll probably just ignore. |
|
If you file a bug report with Apple, please include a link to it in the code. And mebbe a link to this PR in the code, too, so there's more of an explanation. |
I don't recall the site where dev issues are tracked, there was one raised for the ctor/dtor regression too. |
|
There basically isn't a (public) bug tracker for apple things as far as I can tell. |
Radar was the tracker. I did have a url to the site at one point, but can't find it anymore. I'm pretty sure I previously linked to it for the macOS crt dtor bug either here or bugzilla. |
|
Are you thinking of https://openradar.appspot.com/page/1 ? |
Aha, yes. https://openradar.appspot.com/FB9733712 Issue still ignored after 2 years :-( |
|
Note:
(Openradar is for telling people bug reports you have filed with apple, I think, apple don't maintain it although they'd be stupid to not look at it) |
After some probing, looks like Apple M1 emulation of x86 instructions is bugged. Nothing we can do besides opening a ticket with Apple, so disabling use fyl2xp1 intrinsics on the target.