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

Issue 1216823003: MIPS64: Fix hidden bug in relocations for j and jal.

Created:
5 years, 5 months ago by dusmil.imgtec
Modified:
5 years, 4 months ago
Reviewers:
djordje.pesic, balazs.kilvady, paul.l..., ilija.pavlovic, akos.palfi.imgtec
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS64: Fix hidden bug in relocations for j and jal. Introduce new mechanism for relocating j/jal. Resolves flaky failures of mozilla regress tests. Additionally: - internal encoded references are not relocated during code generation phase. - remove asserts from j and jal which are not valid because addresses are not final and valid in code generation phase. TEST=mozilla/js1_5/Regress/regress-280769-2, regress-367561-01, mozilla/ecma_3/Statements/regress-444979 BUG=

Patch Set 1 #

Patch Set 2 : Proper solution. #

Patch Set 3 : Clean-up. #

Patch Set 4 : Rebase. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -54 lines) Patch
M src/mips/assembler-mips.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/mips64/assembler-mips64.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M src/mips64/assembler-mips64.cc View 1 2 3 10 chunks +79 lines, -45 lines 1 comment Download
M src/mips64/constants-mips64.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 2 chunks +2 lines, -8 lines 1 comment Download

Messages

Total messages: 7 (1 generated)
dusmil.imgtec
5 years, 5 months ago (2015-06-30 13:49:20 UTC) #2
dusmil.imgtec
Hmm, I am not satisfied with solution. What if address for linked variable is at ...
5 years, 5 months ago (2015-06-30 17:09:12 UTC) #3
paul.l...
Right, you mean the temporary assembly buffer just happens to cross 256MB boundary. There is ...
5 years, 5 months ago (2015-07-01 03:35:29 UTC) #4
dusmil.imgtec
PTAL.
5 years, 5 months ago (2015-07-23 10:26:18 UTC) #5
paul.l...
Nice fix! LGTM, modulo the two typos. I will fix these and land this now. ...
5 years, 4 months ago (2015-08-01 17:02:22 UTC) #6
paul.l...
5 years, 4 months ago (2015-08-01 17:10:07 UTC) #7

Powered by Google App Engine
This is Rietveld 408576698