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

Issue 1420973006: arm64: clang assembler compatability (Closed)

Created:
5 years, 1 month ago by Riku Voipio
Modified:
5 years, 1 month ago
CC:
webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc/deps/third_party/openmax@master
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

arm64: clang assembler compatability Fixes to compile with clang (3.7) - Fix fmul syntax: fmul v0.2s,v1.2s,v2.2s[0] -> v0.2s,v1.2s,v2.s[0] - lowercase RSB macro call to -> rsb - add w modifier and use U32 in and out for fastlog2() With these changes openmax_dl compiles as part of chromium on arm64 with both gcc 5.2 and clang 3.7. Unfortunately there was no instructions how to run the included tests. The generated .o files looks same before and after (minor changes in debug sections) BUG=5090 R=andrew@webrtc.org, rtoy@google.com Committed: https://chromium.googlesource.com/external/webrtc/deps/third_party/openmax/+/4636f5bb744c0828ac853e1a513e375886fcd424

Patch Set 1 #

Total comments: 8

Patch Set 2 : arm64: clang assembler compatibility #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -56 lines) Patch
M dl/sp/api/armSP.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M dl/sp/src/arm/arm64/ComplexToRealFixup.S View 1 6 chunks +9 lines, -8 lines 0 comments Download
M dl/sp/src/arm/arm64/armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_s.S View 1 3 chunks +7 lines, -6 lines 0 comments Download
M dl/sp/src/arm/arm64/armSP_FFT_CToC_FC32_Radix2_s.S View 2 chunks +9 lines, -8 lines 0 comments Download
M dl/sp/src/arm/arm64/armSP_FFT_CToC_FC32_Radix4_s.S View 2 chunks +27 lines, -24 lines 0 comments Download
M dl/sp/src/arm/arm64/armSP_FFT_CToC_FC32_Radix8_fs_s.S View 4 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Riku Voipio
5 years, 1 month ago (2015-10-27 14:16:55 UTC) #1
Riku Voipio
On 2015/10/27 14:16:55, riku.voipio wrote: Sorry, the bug link was supposed to go to: https://code.google.com/p/webrtc/issues/detail?id=5090
5 years, 1 month ago (2015-10-27 14:21:10 UTC) #2
Raymond Toy (Google)
https://codereview.webrtc.org/1420973006/diff/1/dl/sp/api/armSP.h File dl/sp/api/armSP.h (right): https://codereview.webrtc.org/1420973006/diff/1/dl/sp/api/armSP.h#newcode96 dl/sp/api/armSP.h:96: static inline OMX_U32 fastlog2(OMX_U32 x) { Why the change ...
5 years, 1 month ago (2015-10-30 22:38:46 UTC) #3
Riku Voipio
Thanks for review, I'll provide an updated patch. https://codereview.webrtc.org/1420973006/diff/1/dl/sp/api/armSP.h File dl/sp/api/armSP.h (right): https://codereview.webrtc.org/1420973006/diff/1/dl/sp/api/armSP.h#newcode96 dl/sp/api/armSP.h:96: static ...
5 years, 1 month ago (2015-11-02 12:24:12 UTC) #4
Riku Voipio
Updated patch with more uniform use of half and corrected fastlog2.
5 years, 1 month ago (2015-11-02 14:56:14 UTC) #5
Raymond Toy (Google)
lgtm. Before landing, it would be good to run the tests. To do that, run ...
5 years, 1 month ago (2015-11-03 21:08:55 UTC) #6
Riku Voipio
On 2015/11/03 21:08:55, Raymond Toy (Google) wrote: > lgtm. > > Before landing, it would ...
5 years, 1 month ago (2015-11-05 09:59:17 UTC) #7
Raymond Toy (Google)
On 2015/11/05 at 09:59:17, riku.voipio wrote: > On 2015/11/03 21:08:55, Raymond Toy (Google) wrote: > ...
5 years, 1 month ago (2015-11-05 21:44:52 UTC) #8
Andrew MacDonald
lgtm. I'll land this.
5 years, 1 month ago (2015-11-05 23:33:06 UTC) #9
Andrew MacDonald
Committed patchset #2 (id:20001) manually as 4636f5bb744c0828ac853e1a513e375886fcd424 (presubmit successful).
5 years, 1 month ago (2015-11-05 23:34:43 UTC) #10
Andrew MacDonald
5 years, 1 month ago (2015-11-05 23:39:38 UTC) #11
Message was sent while issue was closed.
Riku, patch to add you to AUTHORS up here:
https://codereview.webrtc.org/1430973006

Please have a look.

Powered by Google App Engine
This is Rietveld 408576698