Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Revert "core.checkedint.addu: Faster (like subu: only one compare-and-branch)." #3511

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Jul 6, 2021

Reverts #3496

Testing to see if this resolves dlang/dmd#12823 (comment)

@ibuclaw ibuclaw requested review from andralex and wilzbach as code owners July 6, 2021 22:34
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Your 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 locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + druntime#3511"

Copy link
Contributor

@MoonlightSentinel MoonlightSentinel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The OMF build passed!
Should obviously be resubmitted once the Optlink situation is resolved

@ibuclaw
Copy link
Member Author

ibuclaw commented Jul 6, 2021

FYI @DoctorNoobingstoneIPresume.

@ibuclaw
Copy link
Member Author

ibuclaw commented Jul 6, 2021

Thanks @MoonlightSentinel for tracking it down.

@ibuclaw ibuclaw merged commit 52a95f3 into master Jul 7, 2021
@ibuclaw ibuclaw deleted the revert-3496-210614_core_checkedint_addu_02h branch July 7, 2021 00:16
@ibuclaw ibuclaw mentioned this pull request Jul 7, 2021
@WalterBright
Copy link
Member

The triggering piece of code in the PR can be tracked down with a binary search.

@Geod24
Copy link
Member

Geod24 commented Jul 7, 2021

The triggering piece of code in the PR can be tracked down with a binary search.

Yes but it's a distraction from the actual work the person was trying to do. Optlink has been a torn in our side since forever, as its errors are impossible to debug. When can we finally stop shipping it ?

@thewilsonator
Copy link
Contributor

whenever we get around to dropping OMF completely, which shouldn't be too hard. We ship LLD, I'm not sure if we ship the VC redistributables.

@DoctorNoobingstoneIPresume

The triggering piece of code in the PR can be tracked down with a binary search.

Yes but it's a distraction from the actual work the person was trying to do. Optlink has been a torn in our side since forever, as its errors are impossible to debug. When can we finally stop shipping it ?

I wish that optlink is kept forever. It is incredibly fast and it allows to run dmd on Windows XP. This should, of course, count !

More importantly: Having several builds of the toolchain allows us to find errors which simply do not manifest themselves by accident on one build.

@WalterBright Is it possible to build DMD (for OMF and 32-bit Windows) starting with just the freeware DMC, please ?

@thewilsonator
Copy link
Contributor

It is incredibly fast and it allows to run dmd on Windows XP.

It's incredibly buggy and XP has been EOL for how long?

More importantly: Having several builds of the toolchain allows us to find errors which simply do not manifest themselves by accident on one build.

dropping it allows us to avoid all those errors completely.

@ibuclaw
Copy link
Member Author

ibuclaw commented Jul 7, 2021

The triggering piece of code in the PR can be tracked down with a binary search.

Yes but it's a distraction from the actual work the person was trying to do. Optlink has been a torn in our side since forever, as its errors are impossible to debug. When can we finally stop shipping it ?

I wish that optlink is kept forever. It is incredibly fast and it allows to run dmd on Windows XP. This should, of course, count !

Surely not, XP uses COFF as its default format too. The only place where I've seen OMF as a hard requirement is on 16-bit Intel.

@DoctorNoobingstoneIPresume

It is incredibly fast and it allows to run dmd on Windows XP.

It's incredibly buggy and XP has been EOL for how long?

I agree that this is a minority point of view. As a partial counter-argument, I wish to say that the differences between Windows XP and the last version of Windows 10 there should not be relevant for a command-line toolchain.

More importantly: Having several builds of the toolchain allows us to find errors which simply do not manifest themselves by accident on one build.

dropping it allows us to avoid all those errors completely.

I think we are talking about different errors...

@DoctorNoobingstoneIPresume

Surely not, XP uses COFF as its default format too. The only place where I've seen OMF as a hard requirement is on 16-bit Intel.

Microsoft's toolchains use COFF.

There are toolchains, even for Windows 10, which use OMF: Digital Mars and Embarcadero (for 32-bit) (even the clang-based version, I think).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants