10000
-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
BUG: Resolve build issue on ppc64 with Power9 or higher as baseline
This fix addresses two issues:
* Corrects the use of unsupported instructions by the assembler
in half-precision to double-precision conversion.
* Resolves a code error related to variable naming during conversion.
It also:
* Implement a compile-time test on PPC64 to determine support for Half/Double
VSX3 instructions by the assembler
* Modify half-precision tests to deal with FP HW exceptions- Loading branch information
commit 809d00d0f6323b6a044f76e60c4f3ddda6a6310c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| /** | ||
| * Assembler may not fully support the following VSX3 scalar | ||
| * instructions, even though compilers report VSX3 support. | ||
| */ | ||
| int main(void) | ||
| { | ||
| unsigned short bits = 0xFF; | ||
| double f; | ||
| __asm__ __volatile__("xscvhpdp %x0,%x1" : "=wa"(f) : "wa"(bits)); | ||
| __asm__ __volatile__ ("xscvdphp %x0,%x1" : "=wa" (bits) : "wa" (f)); | ||
| return bits; | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix build #27836
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
Uh oh!
There was an error while loading. Please reload this page.
fix build #27836
Changes from 1 commit
87e170682d76574649a0518278b1a0f6999aca48199d6694ee5b1ce1b93e52e7b0719caf234192a83b1f25d8f0e19890996bb799b81f1758c40e98c39d854f7387600df93b11809d00d1c21b68ce1adca55d3f268463bc9af2c4cf09eb7d58bbc858aadc2c786c286328775a65ff4da25d33131967e53302d47a90160b41ea4a4fb882a5a0ba1e50419d5b6929c203031e2c8a1faa0f0535a802b92293dc2f0c4481af82629d46b0f6906d860edd982a057fdea72d886d974a51d5ff21a7552b2249b5be2359aec9887c9c12b7b350035b44ae77d67cefdd34766d5a8d81f0ae6961f6003b6260d2ee2964962e22fc324e391cede9699c7f0b2550d1a7ebf651996f878f1ff41f54454fc6e29c8f0c22fe9d49d1b66c631df97516404730b12aff3137f435916c2615e02ae267b446db6eaa5a6cfdfbbfbdcea252a1e5e79dfa7e0d89313d2d5e84c369e95bdf28a905b169db9989cd8c0715b0ddb6bdf6bd22a3f2b9fb88659751b95b941d80ecf9f497af3c5e79262abdcb4333fcf1d3b9c5d63ab268ddbd96e97ce7ce575414cbf83786d52388f8bb01ee84b5514180e0195c3bfe188d46859455cc92f9b6c2faf5a399cd29a904a06d14df814ca94c19ba3e280eb8213a51dc31bb5de36b9ae6b2fb3c340007d31c733716e58762174a2bfde240df7b026a4cc400ba4cc0220fb4e4aa78349b532bbde72e53d9e3059af290d7f460b179610917efa79acf9d27974657263a791fdc020c4771b400a5235e58a8c9d1a1071201478c9254ca8f153b9eca8ce2e0200ad20e3533e6606ed7e78b647dfd6505d161f1e127aa62676de2368305599e427da7713db56c7d50a39198b6df150285668a23f0de7b625eb11f5b05ec3551a1a12802f37ec06b466d66a9142d78502737f70a8efe203fa0541421230c214d01b7216e39d2b904c194e2de6d2c175d9e856158be334f50318184462bf7265c44467f2c84d3d9296dd8b6b270fb08dac26c8d8c24b4bf93b864f503b5fbbdc999f5308fc784e209be156630f0ff947f41701069936cdc0b97d1af9aeb63c8f4e606ae7f6ac3a1c69eff03488c623a40359c97a0f49c6f97ef4843a4f3c223294b18fe24aba043ff7a7baac4d1d50085cb3171ce48572edc12cf176b0a2fcb6488dc5ba99c861110d052165e5a0cd8e3548f9df984240837cd38659be68fee88abf62dfc6ce89a0a2fae4d3114ed259815c1660edb77File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.