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

Issue 1885373002: Fix simd access for 64bit ARM neon clang compilation (Closed)

Created:
4 years, 8 months ago by khasim.mohammed
Modified:
4 years, 7 months ago
Reviewers:
msarett, Nico
CC:
chromium-reviews, renato.golin_linaro.org, noel, msarett1, scroggo
Base URL:
https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix simd access for 64bit ARM neon clang compilation This patch fixes the invalid operand access of simd instructions on ARM64 compilation error example : ../../third_party/libjpeg_turbo/simd/jsimd_arm64_neon.S:1859:1: note: while in macro instantiation generate_jsimd_ycc_rgb_convert_neon rgb565, 16, 0, .4h, 0, .4h, 0, .4h, .8b ^ <instantiation>:4:31: error: invalid operand for instruction smlal v20.4s, v8.4h, v1.4h[2] This patch helps in building 64bit browser with clang for ARM64 BUG : http://crbug.com/539781 Signed-off-by: Bernhard Rosenkränzer <bero@linaro.org>; BUG=539781 R=thakis@chromium.org

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -140 lines) Patch
M simd/jsimd_arm64_neon.S View 22 chunks +142 lines, -140 lines 1 comment Download

Messages

Total messages: 21 (2 generated)
khasim.mohammed
4 years, 8 months ago (2016-04-14 11:26:26 UTC) #1
Nico
Renato, do you know if all of the changes in this patch are due to ...
4 years, 8 months ago (2016-04-20 20:53:31 UTC) #2
khasim.mohammed
Hi Nico, For testing purposes now I took latest https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/simd/jsimd_arm64_neon.S and replaced with the one ...
4 years, 8 months ago (2016-04-21 09:43:36 UTC) #3
renato.golin_linaro.org
On 20 April 2016 at 21:53, <thakis@chromium.org> wrote: > Renato, do you know if all ...
4 years, 8 months ago (2016-04-21 17:09:51 UTC) #4
Nico
Good to hear it works with upstream libjpeg-turbo. Can you try rolling us forward then?
4 years, 8 months ago (2016-04-21 21:42:23 UTC) #5
khasim.mohammed
Sorry, I didn't get. Do you want me to build with complete libjpeg-turbo latest sources ...
4 years, 8 months ago (2016-04-22 03:34:56 UTC) #6
khasim.mohammed
Nico, can you please suggest on what we should do here, I am assuming these ...
4 years, 8 months ago (2016-04-23 01:57:33 UTC) #7
khasim.mohammed
Hi Nico, I pulled the latest release of libjpeg-trubo https://sourceforge.net/projects/libjpeg-turbo/files/1.4.90%20%281.5%20beta1%29/libjpeg-turbo-1.4.90.tar.gz/download configured it locally ./configure --with-jpeg7 ...
4 years, 7 months ago (2016-04-27 18:13:02 UTC) #8
Nico
I mean can you update the libjpeg-turbo used by Chromium to the latest, if things ...
4 years, 7 months ago (2016-04-27 20:39:29 UTC) #9
Noel Gordon
On 2016/04/27 18:13:02, khasim.mohammed wrote: > Hi Nico, > > I pulled the latest release ...
4 years, 7 months ago (2016-04-29 02:35:05 UTC) #10
khasim.mohammed
On 29 April 2016 at 08:05, <noel@chromium.org> wrote: > On 2016/04/27 18:13:02, khasim.mohammed wrote: > ...
4 years, 7 months ago (2016-04-29 03:48:32 UTC) #11
Noel Gordon
On 2016/04/29 03:48:32, khasim.mohammed wrote: > On 29 April 2016 at 08:05, <mailto:noel@chromium.org> wrote: > ...
4 years, 7 months ago (2016-04-29 07:29:48 UTC) #13
khasim.mohammed
On 29 April 2016 at 12:59, <noel@chromium.org> wrote: > On 2016/04/29 03:48:32, khasim.mohammed wrote: > ...
4 years, 7 months ago (2016-04-29 07:36:35 UTC) #14
Noel Gordon
On 2016/04/29 07:36:35, khasim.mohammed wrote: > > ok, I would like to push these patches ...
4 years, 7 months ago (2016-04-29 08:20:50 UTC) #15
khasim.mohammed
On 29 April 2016 at 13:50, <noel@chromium.org> wrote: > On 2016/04/29 07:36:35, khasim.mohammed wrote: > ...
4 years, 7 months ago (2016-04-29 09:31:40 UTC) #16
msarett
Yes I believe these fixes are in upstream. https://github.com/libjpeg-turbo/libjpeg-turbo/commit/d70a5c12fcb72443483456a2cc8dd18a4c238618 https://github.com/libjpeg-turbo/libjpeg-turbo/commit/62999d7708592b9c59c3d9c576dd769db73df085 +1 for cherry picking from ...
4 years, 7 months ago (2016-04-29 12:45:09 UTC) #18
Noel Gordon
On 2016/04/29 09:31:40, khasim.mohammed wrote: > libjpeg-turbo to chromium, the latest changes do work directly ...
4 years, 7 months ago (2016-04-29 13:07:08 UTC) #19
khasim.mohammed
On 29 April 2016 at 18:15, <msarett@google.com> wrote: > Yes I believe these fixes are ...
4 years, 7 months ago (2016-04-30 09:23:42 UTC) #20
khasim.mohammed
4 years, 7 months ago (2016-05-09 06:58:01 UTC) #21
On 2016/04/30 09:23:42, khasim.mohammed wrote:
> On 29 April 2016 at 18:15, <mailto:msarett@google.com> wrote:
> 
> > Yes I believe these fixes are in upstream.
> >
> >
>
https://github.com/libjpeg-turbo/libjpeg-turbo/commit/d70a5c12fcb72443483456a...
> >
> >
>
https://github.com/libjpeg-turbo/libjpeg-turbo/commit/62999d7708592b9c59c3d9c...
> >
> > +1 for cherry picking from upstream and referencing those commits.
> >
> > +2 for updating to the latest release version.
> > https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/1.4.90
> >
> > Have submitted the patches : https://codereview.chromium.org/1934113002,
> not sure if this was the right thing to do, here is how I have achieved the
> merge,
> 
> Have synced to latest on chromium for libjpeg_turbo
> Created a branch
> Did git remote add to chromium git tree
> git merge -s recursive -Xtheirs 1.4.90
> 
> There was conflict, have resolved it in separate patch
> Copied the config.h and jconfig from public project and included this in
> separate patch.
> 
> 
> > https://codereview.chromium.org/1885373002/
> >

This patch is not required as we have migrated to latest libjpeg turbo 1.4.9.

> 
> Regards,
> Khasim
> 
> -- 
> You received this message because you are subscribed to the Google Groups
> "Chromium-reviews" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email
> to mailto:chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698