Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix i386 msun cexp tests #401

Closed
wants to merge 2 commits into from
Closed

Conversation

moritzbuhl
Copy link
Contributor

adding another volatile helped
only tested on openbsd (with freebsds libm tho)

adding another volatile helped
only tested on openbsd (with freebsds libm tho)
@moritzbuhl
Copy link
Contributor Author

Also I just copied this change over from my editor into the GitHub thing. I can't promise that it will compile.

@DimitryAndric DimitryAndric self-assigned this Jun 1, 2019
@DimitryAndric
Copy link
Member

This looks OK to me, and it appears to work on 13-CURRENT with clang 8. Though I wonder why the same trick isn't needed to for the test_tol() macros?

@DimitryAndric DimitryAndric self-requested a review June 1, 2019 19:11
uqs pushed a commit that referenced this pull request Jun 1, 2019
Ensure the expected result is stored first in a volatile variable with
the desired type.  This makes all the tests succeed.

Slightly changed from the original pull request, but functionally the
same.

Obtained from:	#401
Submitted by:	Moritz Buhl <gh@moritzbuhl.de>
PR:		191676
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@348500 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
uqs pushed a commit that referenced this pull request Jun 1, 2019
Ensure the expected result is stored first in a volatile variable with
the desired type.  This makes all the tests succeed.

Slightly changed from the original pull request, but functionally the
same.

Obtained from:	#401
Submitted by:	Moritz Buhl <gh@moritzbuhl.de>
PR:		191676
MFC after:	3 days
@DimitryAndric
Copy link
Member

Committed in d364650, with some minor changes.

@DimitryAndric DimitryAndric removed their request for review June 1, 2019 20:42
mat813 pushed a commit to mat813/freebsd that referenced this pull request Jun 2, 2019
…on i386.

Ensure the expected result is stored first in a volatile variable with
the desired type.  This makes all the tests succeed.

Slightly changed from the original pull request, but functionally the
same.

Obtained from:	freebsd#401
Submitted by:	Moritz Buhl <gh@moritzbuhl.de>
PR:		191676
MFC after:	3 days


git-svn-id: https://svn.freebsd.org/base/head@348500 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
uqs pushed a commit that referenced this pull request Jun 7, 2019
Partially revert r271349, which disabled the msun cexp test #4 on i386.

Ensure the expected result is stored first in a volatile variable with
the desired type.  This makes all the tests succeed.

Slightly changed from the original pull request, but functionally the
same.

Obtained from:	#401
Submitted by:	Moritz Buhl <gh@moritzbuhl.de>
PR:		191676
uqs pushed a commit that referenced this pull request Jun 7, 2019
Partially revert r271349, which disabled the msun cexp test #4 on i386.

Ensure the expected result is stored first in a volatile variable with
the desired type.  This makes all the tests succeed.

Slightly changed from the original pull request, but functionally the
same.

Approved by:	re (gjb)
Obtained from:	#401
Submitted by:	Moritz Buhl <gh@moritzbuhl.de>
PR:		191676
mat813 pushed a commit to mat813/freebsd that referenced this pull request Jun 10, 2019
Partially revert r271349, which disabled the msun cexp test freebsd#4 on i386.

Ensure the expected result is stored first in a volatile variable with
the desired type.  This makes all the tests succeed.

Slightly changed from the original pull request, but functionally the
same.

Approved by:	re (gjb)
Obtained from:	freebsd#401
Submitted by:	Moritz Buhl <gh@moritzbuhl.de>
PR:		191676


git-svn-id: https://svn.freebsd.org/base/stable/11@348787 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
mat813 pushed a commit to mat813/freebsd that referenced this pull request Jun 10, 2019
Partially revert r271349, which disabled the msun cexp test freebsd#4 on i386.

Ensure the expected result is stored first in a volatile variable with
the desired type.  This makes all the tests succeed.

Slightly changed from the original pull request, but functionally the
same.

Obtained from:	freebsd#401
Submitted by:	Moritz Buhl <gh@moritzbuhl.de>
PR:		191676


git-svn-id: https://svn.freebsd.org/base/stable/12@348784 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
brooksdavis pushed a commit to CTSRD-CHERI/cheribsd that referenced this pull request Jun 13, 2019
Ensure the expected result is stored first in a volatile variable with
the desired type.  This makes all the tests succeed.

Slightly changed from the original pull request, but functionally the
same.

Obtained from:	freebsd/freebsd-src#401
Submitted by:	Moritz Buhl <gh@moritzbuhl.de>
PR:		191676
MFC after:	3 days
bdrewery pushed a commit to bdrewery/freebsd that referenced this pull request Jun 17, 2019
…on i386.

Ensure the expected result is stored first in a volatile variable with
the desired type.  This makes all the tests succeed.

Slightly changed from the original pull request, but functionally the
same.

Obtained from:	freebsd#401
Submitted by:	Moritz Buhl <gh@moritzbuhl.de>
PR:		191676
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@348500 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
moritzbuhl pushed a commit to moritzbuhl/msun-regress that referenced this pull request Oct 22, 2021
Ensure the expected result is stored first in a volatile variable with
the desired type.  This makes all the tests succeed.

Slightly changed from the original pull request, but functionally the
same.

Obtained from:	freebsd/freebsd-src#401
Submitted by:	Moritz Buhl <gh@moritzbuhl.de>
PR:		191676
MFC after:	3 days
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants