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

Issue 1592663004: Subzero. ARM32. Fixes vpush/vpop bug. (Closed)

Created:
4 years, 11 months ago by John
Modified:
4 years, 11 months ago
Reviewers:
Jim Stichnoth, Karl, sehr
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero. ARM32. Fixes vpush/vpop bug. if vpush/vpop needs to emit multiple instructions (because of non-consecutive registers), then the emitted sequence should be: vpush list1 vpush list2 ... vpop list2 vpop list1 Subzero was emiting vpop in the wrong order: vpop list1 vpop list2 These multiple lists push/pop arise because of the way fp32 and fp64 registers are declared (s0 -> s31, d31 -> d0). This CL modifies fp64 registers so they are declared in ascending order (d0 -> d31), which fixes subzero temporarily. The appropriate fix is to change vpop to be emitted in the right order. BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4076 R=sehr@chromium.org, stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=b819665aac0c747bd2337eb72f91f4b1de11f688

Patch Set 1 #

Patch Set 2 : Addresses comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -53 lines) Patch
M Makefile.standalone View 1 1 chunk +3 lines, -2 lines 0 comments Download
M pydir/gen_arm32_reg_tables.py View 1 chunk +3 lines, -5 lines 0 comments Download
M src/IceRegistersARM32.def View 1 chunk +46 lines, -46 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
John
4 years, 11 months ago (2016-01-15 23:34:07 UTC) #2
Jim Stichnoth
lgtm
4 years, 11 months ago (2016-01-15 23:35:57 UTC) #3
sehr
lgtm
4 years, 11 months ago (2016-01-16 05:25:36 UTC) #4
John
4 years, 11 months ago (2016-01-19 14:19:18 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
b819665aac0c747bd2337eb72f91f4b1de11f688 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698