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

cpu_relax: fixup MIPS check for 64-bit #276

Merged
merged 1 commit into from
Apr 11, 2021
Merged

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Apr 11, 2021

It turns out that this is also broken on mips64el. Further testing
reveals that

-mips32r2 -mtune=mips32r2 -mabi=32

compiles the PAUSE instruction just fine whereas

-mips64r2 -mtune=mips64r2 -mabi=64

does not. The PAUSE instruction was introduced in version 2.6 of the
MIPS ISA and GCC for some reason does not allow usage of it with MIPS64.
Modify the macro to fix the situation instead of just matching on
octeon, which is not quite correct.

It turns out that this is also broken on mips64el. Further testing
reveals that

-mips32r2 -mtune=mips32r2 -mabi=32

compiles the PAUSE instruction just fine whereas

-mips64r2 -mtune=mips64r2 -mabi=64

does not. The PAUSE instruction was introduced in version 2.6 of the
MIPS ISA and GCC for some reason does not allow usage of it with MIPS64.
Modify the macro to fix the situation instead of just matching on
octeon, which is not quite correct.
@olk olk merged commit 58c7580 into boostorg:develop Apr 11, 2021
@olk
Copy link
Member

olk commented Apr 11, 2021

ty

@neheb neheb deleted the patch-1 branch April 11, 2021 19:38
@neheb neheb restored the patch-1 branch April 11, 2021 19:38
@neheb neheb deleted the patch-1 branch April 11, 2021 19:38
ClaymorePT added a commit to ClaymorePT/packages that referenced this pull request Apr 20, 2021
This commit updates boost to version 1.76.0

There are no new libraries in this version

More info about Boost 1.76.0 can be found at the usual place [1].

Note: This package update includes a fix merged to Boost.Fiber in [2]
which did not make into this version but it will be present in the next
one. For now, the patch is needed, but it will be removed in version
1.77.0

[1]: https://www.boost.org/users/history/version_1_76_0.html
[2]: boostorg/fiber#276

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
ClaymorePT added a commit to ClaymorePT/packages that referenced this pull request Apr 20, 2021
This commit updates boost to version 1.76.0

There are no new libraries in this version

More info about Boost 1.76.0 can be found at the usual place [1].

Note: This package update includes a fix merged to Boost.Fiber in [2]
which did not make into this version but it will be present in the next
one. For now, the patch is needed, but it will be removed in version
1.77.0

[1]: https://www.boost.org/users/history/version_1_76_0.html
[2]: boostorg/fiber#276

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
ClaymorePT added a commit to ClaymorePT/packages that referenced this pull request Apr 20, 2021
This commit updates boost to version 1.76.0

There are no new libraries in this version

More info about Boost 1.76.0 can be found at the usual place [1].

Note: This package update includes a fix merged to Boost.Fiber in [2]
which did not make into this version but it will be present in the next
one. For now, the patch is needed, but it will be removed in version
1.77.0

[1]: https://www.boost.org/users/history/version_1_76_0.html
[2]: boostorg/fiber#276

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
1715173329 pushed a commit to immortalwrt/packages that referenced this pull request Apr 21, 2021
This commit updates boost to version 1.76.0

There are no new libraries in this version

More info about Boost 1.76.0 can be found at the usual place [1].

Note: This package update includes a fix merged to Boost.Fiber in [2]
which did not make into this version but it will be present in the next
one. For now, the patch is needed, but it will be removed in version
1.77.0

[1]: https://www.boost.org/users/history/version_1_76_0.html
[2]: boostorg/fiber#276

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants