Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Issue 2945293002: crazy_linker: isnanf workaround, reloaded. (Closed)

Created:
3 years, 6 months ago by Nico
Modified:
3 years, 6 months ago
Reviewers:
rmcilroy
CC:
chromium-reviews, johnmaguire+watch_google.com
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

crazy_linker: isnanf workaround, reloaded. The __isnanf only exists on android 21+, so provide a fallback for the fallback for versions 16-20. BUG=735003 Review-Url: https://codereview.chromium.org/2945293002 Cr-Commit-Position: refs/heads/master@{#481737} Committed: https://chromium.googlesource.com/chromium/src/+/938998bd58a2fabb04556833a298f3c7facd5135

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : whoops #

Total comments: 1

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -3 lines) Patch
M third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp View 1 2 3 2 chunks +16 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
Nico
It's not clear yet if we'll need this, but if we do I'd like to ...
3 years, 6 months ago (2017-06-21 15:50:02 UTC) #4
DmitrySkiba
On 2017/06/21 15:50:02, Nico wrote: > It's not clear yet if we'll need this, but ...
3 years, 6 months ago (2017-06-21 18:51:09 UTC) #11
Nico
It seems to work as is, and doesn't that have calling convention implications? I didn't ...
3 years, 6 months ago (2017-06-21 18:54:11 UTC) #12
rmcilroy
https://codereview.chromium.org/2945293002/diff/20001/third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp File third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp (right): https://codereview.chromium.org/2945293002/diff/20001/third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp#newcode68 third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp:68: return (bits & 0x7f800000) == 0x7f800000; This would return ...
3 years, 6 months ago (2017-06-21 21:17:01 UTC) #13
Nico
Excellent catch, thanks! I don't expect isnanf to be called in an inner loop, so ...
3 years, 6 months ago (2017-06-22 19:35:03 UTC) #16
rmcilroy
https://codereview.chromium.org/2945293002/diff/40001/third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp File third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp (right): https://codereview.chromium.org/2945293002/diff/40001/third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp#newcode70 third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp:70: return bits & 0x7fffff; One difference between this and ...
3 years, 6 months ago (2017-06-22 21:28:37 UTC) #19
Nico
Done 00000000 <_ZN5crazy12_GLOBAL__N_112local_isnanfEf>: 0: f000 41ff and.w r1, r0, #2139095040 ; 0x7f800000 4: 2200 movs ...
3 years, 6 months ago (2017-06-22 21:39:09 UTC) #20
rmcilroy
LGTM, thanks.
3 years, 6 months ago (2017-06-22 23:10:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2945293002/60001
3 years, 6 months ago (2017-06-22 23:37:42 UTC) #27
commit-bot: I haz the power
3 years, 6 months ago (2017-06-23 00:20:25 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/938998bd58a2fabb04556833a298...

Powered by Google App Engine
This is Rietveld 408576698