summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2017-04-27 14:11:47 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2017-04-27 14:11:47 +0000
commita08577bce241e8a3caf3cd5d8680d398cfaeeb2c (patch)
treea07193beb04c39e7676aa6611abc7e9f7aec9ab1 /libgomp
parenta775bee3652dbe38648f6eb58ba3d23bee5a1546 (diff)
[AArch64] Fix for gcc-7 regression PR 80530
This patch fixes the regression caused by the changes to add square root estimation when compiling for xgene-1 or exynos-m1 targets. The issue is that the expand path for the reciprocal estimate square root pattern assumes that pattern cannot fail once it has been decided that this expansion path is available, but because the logic deep inside aarch64_emit_approx_sqrt() differs from use_rsqrt_p() the two disagree as to what is safe. This patch refactors the logic to ensure that we cannot unknowingly make different choices here. PR target/80530 * config/aarch64/aarch64.c (aarch64_emit_approx_sqrt): Ensure that the logic for permitting reciprocal estimates matches that in use_rsqrt_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@247341 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions