Skip to content

PowerPC64 support #1245

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

Closed
wants to merge 5 commits into from
Closed

PowerPC64 support #1245

wants to merge 5 commits into from

Conversation

kaplanlior
Copy link
Contributor

Backport of PowerPC64 patches by Gustavo Frederico Temple Pedrosa from master to 5.5/5.6.

Gustavo Frederico Temple Pedrosa added 5 commits April 19, 2015 10:58
This adds architecture-specific support for the ppc64 of the following functions below:
* zend_mm_high_bit
* zend_mm_low_bit

Taken from php#737
This adds fast architecture-specific implementations of the
following functions for the ppc64:

* fast_add_function
* fast_sub_function
(cherry picked from commit 5dbeb9e)
This adds fast architecture-specific implementations of
the following functions for the ppc64:

* fast_increment_function
* fast_decrement_function
(cherry picked from commit fd045c7)
Add a ppc64-specific implementation of the safe_address
function with overflow checking.

(Adapted from commit 1e82da8)
In long integer multiplications, avoid casting
both operands to long double and use an inline
assembly-based overflow checking function instead.

(Adapted from commit 87e0802)
@remicollet
Copy link
Member

Tested on RHEL-7.1, ppc64, Big endian

This PR breaks the test suite.
IIRC we encounter the same issue with initial patch submitted for master (designed for ppc64le)

@remicollet
Copy link
Member

Notice, I should be able to test a new version on both ppc64 and ppc64le
(but this requires some time to get the test machine)

@kaplanlior
Copy link
Contributor Author

No rush... any help is welcomed (:

@kaplanlior kaplanlior mentioned this pull request Jun 18, 2015
@kaplanlior kaplanlior closed this Dec 13, 2015
@kaplanlior kaplanlior deleted the PHP-5.5 branch May 12, 2016 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants